Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtWidgets »

Classe « QCompleter »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QCompleter

Définition

class QCompleter(QObject):

Description [extrait de QCompleter.__doc__]

QCompleter(self, completions: typing.Sequence[str], parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QCompleter(self, model: PySide2.QtCore.QAbstractItemModel, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QCompleter(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
CaseInsensitivelySortedModelPySide2.QtWidgets.QCompleter.ModelSorting.CaseInsensitivelySortedModel
CaseSensitivelySortedModelPySide2.QtWidgets.QCompleter.ModelSorting.CaseSensitivelySortedModel
InlineCompletionPySide2.QtWidgets.QCompleter.CompletionMode.InlineCompletion
PopupCompletionPySide2.QtWidgets.QCompleter.CompletionMode.PopupCompletion
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe35a41980>
UnfilteredPopupCompletionPySide2.QtWidgets.QCompleter.CompletionMode.UnfilteredPopupCompletion
UnsortedModelPySide2.QtWidgets.QCompleter.ModelSorting.UnsortedModel

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activated
caseSensitivity(self) -> PySide2.QtCore.Qt.CaseSensitivity caseSensitivity(self) -> PySide2.QtCore.Qt.CaseSensitivity [extrait de caseSensitivity.__doc__]
complete(self, rect: PySide2.QtCore.QRect = Default(QRect)) complete(self, rect: PySide2.QtCore.QRect = Default(QRect)) [extrait de complete.__doc__]
completionColumn(self) -> int completionColumn(self) -> int [extrait de completionColumn.__doc__]
completionCount(self) -> int completionCount(self) -> int [extrait de completionCount.__doc__]
CompletionMode
completionMode(self) -> PySide2.QtWidgets.QCompleter.CompletionMode completionMode(self) -> PySide2.QtWidgets.QCompleter.CompletionMode [extrait de completionMode.__doc__]
completionModel(self) -> PySide2.QtCore.QAbstractItemModel completionModel(self) -> PySide2.QtCore.QAbstractItemModel [extrait de completionModel.__doc__]
completionPrefix(self) -> str completionPrefix(self) -> str [extrait de completionPrefix.__doc__]
completionRole(self) -> int completionRole(self) -> int [extrait de completionRole.__doc__]
currentCompletion(self) -> str currentCompletion(self) -> str [extrait de currentCompletion.__doc__]
currentIndex(self) -> PySide2.QtCore.QModelIndex currentIndex(self) -> PySide2.QtCore.QModelIndex [extrait de currentIndex.__doc__]
currentRow(self) -> int currentRow(self) -> int [extrait de currentRow.__doc__]
destroyed
event(self, arg__1: PySide2.QtCore.QEvent) -> bool event(self, arg__1: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, o: PySide2.QtCore.QObject, e: PySide2.QtCore.QEvent) -> bool eventFilter(self, o: PySide2.QtCore.QObject, e: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
filterMode(self) -> PySide2.QtCore.Qt.MatchFlags filterMode(self) -> PySide2.QtCore.Qt.MatchFlags [extrait de filterMode.__doc__]
highlighted
maxVisibleItems(self) -> int maxVisibleItems(self) -> int [extrait de maxVisibleItems.__doc__]
model(self) -> PySide2.QtCore.QAbstractItemModel model(self) -> PySide2.QtCore.QAbstractItemModel [extrait de model.__doc__]
ModelSorting
modelSorting(self) -> PySide2.QtWidgets.QCompleter.ModelSorting modelSorting(self) -> PySide2.QtWidgets.QCompleter.ModelSorting [extrait de modelSorting.__doc__]
objectNameChanged
pathFromIndex(self, index: PySide2.QtCore.QModelIndex) -> str pathFromIndex(self, index: PySide2.QtCore.QModelIndex) -> str [extrait de pathFromIndex.__doc__]
popup(self) -> PySide2.QtWidgets.QAbstractItemView popup(self) -> PySide2.QtWidgets.QAbstractItemView [extrait de popup.__doc__]
setCaseSensitivity(self, caseSensitivity: PySide2.QtCore.Qt.CaseSensitivity) setCaseSensitivity(self, caseSensitivity: PySide2.QtCore.Qt.CaseSensitivity) [extrait de setCaseSensitivity.__doc__]
setCompletionColumn(self, column: int) setCompletionColumn(self, column: int) [extrait de setCompletionColumn.__doc__]
setCompletionMode(self, mode: PySide2.QtWidgets.QCompleter.CompletionMode) setCompletionMode(self, mode: PySide2.QtWidgets.QCompleter.CompletionMode) [extrait de setCompletionMode.__doc__]
setCompletionPrefix(self, prefix: str) setCompletionPrefix(self, prefix: str) [extrait de setCompletionPrefix.__doc__]
setCompletionRole(self, role: int) setCompletionRole(self, role: int) [extrait de setCompletionRole.__doc__]
setCurrentRow(self, row: int) -> bool setCurrentRow(self, row: int) -> bool [extrait de setCurrentRow.__doc__]
setFilterMode(self, filterMode: PySide2.QtCore.Qt.MatchFlags) setFilterMode(self, filterMode: PySide2.QtCore.Qt.MatchFlags) [extrait de setFilterMode.__doc__]
setMaxVisibleItems(self, maxItems: int) setMaxVisibleItems(self, maxItems: int) [extrait de setMaxVisibleItems.__doc__]
setModel(self, c: PySide2.QtCore.QAbstractItemModel) setModel(self, c: PySide2.QtCore.QAbstractItemModel) [extrait de setModel.__doc__]
setModelSorting(self, sorting: PySide2.QtWidgets.QCompleter.ModelSorting) setModelSorting(self, sorting: PySide2.QtWidgets.QCompleter.ModelSorting) [extrait de setModelSorting.__doc__]
setPopup(self, popup: PySide2.QtWidgets.QAbstractItemView) setPopup(self, popup: PySide2.QtWidgets.QAbstractItemView) [extrait de setPopup.__doc__]
setWidget(self, widget: PySide2.QtWidgets.QWidget) setWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de setWidget.__doc__]
setWrapAround(self, wrap: bool) setWrapAround(self, wrap: bool) [extrait de setWrapAround.__doc__]
splitPath(self, path: str) -> typing.List[str] splitPath(self, path: str) -> typing.List[str] [extrait de splitPath.__doc__]
widget(self) -> PySide2.QtWidgets.QWidget widget(self) -> PySide2.QtWidgets.QWidget [extrait de widget.__doc__]
wrapAround(self) -> bool wrapAround(self) -> bool [extrait de wrapAround.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__