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 « PySide6.QtWidgets »

Classe « QApplication »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QCoreApplication
                QGuiApplication
                    QApplication

Définition

class QApplication(QGuiApplication):

Description [extrait de QApplication.__doc__]

QApplication(self) -> None
QApplication(self, arg__1: Sequence[str]) -> 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__]

Liste des attributs statiques

Nom de l'attribut Valeur
ApplicationFlags393728
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfce4e40>

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__]
aboutQt() -> None aboutQt() -> None [extrait de aboutQt.__doc__]
aboutToQuit
activeModalWidget() -> PySide6.QtWidgets.QWidget activeModalWidget() -> PySide6.QtWidgets.QWidget [extrait de activeModalWidget.__doc__]
activePopupWidget() -> PySide6.QtWidgets.QWidget activePopupWidget() -> PySide6.QtWidgets.QWidget [extrait de activePopupWidget.__doc__]
activeWindow() -> PySide6.QtWidgets.QWidget activeWindow() -> PySide6.QtWidgets.QWidget [extrait de activeWindow.__doc__]
alert(widget: PySide6.QtWidgets.QWidget, duration: int = 0) -> None alert(widget: PySide6.QtWidgets.QWidget, duration: int = 0) -> None [extrait de alert.__doc__]
allWidgets() -> List[PySide6.QtWidgets.QWidget] allWidgets() -> List[PySide6.QtWidgets.QWidget] [extrait de allWidgets.__doc__]
applicationDisplayNameChanged
applicationNameChanged
applicationStateChanged
applicationVersionChanged
autoSipEnabled(self) -> bool autoSipEnabled(self) -> bool [extrait de autoSipEnabled.__doc__]
beep() -> None beep() -> None [extrait de beep.__doc__]
closeAllWindows() -> None closeAllWindows() -> None [extrait de closeAllWindows.__doc__]
commitDataRequest
cursorFlashTime() -> int cursorFlashTime() -> int [extrait de cursorFlashTime.__doc__]
destroyed
doubleClickInterval() -> int doubleClickInterval() -> int [extrait de doubleClickInterval.__doc__]
event(self, arg__1: PySide6.QtCore.QEvent) -> bool event(self, arg__1: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
exec() -> int exec() -> int [extrait de exec.__doc__]
exec_(self) -> int exec_(self) -> int [extrait de exec_.__doc__]
focusChanged
focusObjectChanged
focusWidget() -> PySide6.QtWidgets.QWidget focusWidget() -> PySide6.QtWidgets.QWidget [extrait de focusWidget.__doc__]
focusWindowChanged
font font() -> PySide6.QtGui.QFont [extrait de font.__doc__]
fontChanged
fontDatabaseChanged
fontMetrics() -> PySide6.QtGui.QFontMetrics fontMetrics() -> PySide6.QtGui.QFontMetrics [extrait de fontMetrics.__doc__]
isEffectEnabled(arg__1: PySide6.QtCore.Qt.UIEffect) -> bool isEffectEnabled(arg__1: PySide6.QtCore.Qt.UIEffect) -> bool [extrait de isEffectEnabled.__doc__]
keyboardInputInterval() -> int keyboardInputInterval() -> int [extrait de keyboardInputInterval.__doc__]
lastWindowClosed
layoutDirectionChanged
notify(self, arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtCore.QEvent) -> bool notify(self, arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtCore.QEvent) -> bool [extrait de notify.__doc__]
objectNameChanged
organizationDomainChanged
organizationNameChanged
palette palette() -> PySide6.QtGui.QPalette [extrait de palette.__doc__]
paletteChanged
primaryScreenChanged
resolveInterface(self, name: bytes, revision: int) -> int resolveInterface(self, name: bytes, revision: int) -> int [extrait de resolveInterface.__doc__]
saveStateRequest
screenAdded
screenRemoved
setActiveWindow(act: PySide6.QtWidgets.QWidget) -> None setActiveWindow(act: PySide6.QtWidgets.QWidget) -> None [extrait de setActiveWindow.__doc__]
setAutoSipEnabled(self, enabled: bool) -> None setAutoSipEnabled(self, enabled: bool) -> None [extrait de setAutoSipEnabled.__doc__]
setCursorFlashTime(arg__1: int) -> None setCursorFlashTime(arg__1: int) -> None [extrait de setCursorFlashTime.__doc__]
setDoubleClickInterval(arg__1: int) -> None setDoubleClickInterval(arg__1: int) -> None [extrait de setDoubleClickInterval.__doc__]
setEffectEnabled(arg__1: PySide6.QtCore.Qt.UIEffect, enable: bool = True) -> None setEffectEnabled(arg__1: PySide6.QtCore.Qt.UIEffect, enable: bool = True) -> None [extrait de setEffectEnabled.__doc__]
setFont(arg__1: Union[PySide6.QtGui.QFont, str, Sequence[str]], className: Optional[bytes] = None) -> None setFont(arg__1: Union[PySide6.QtGui.QFont, str, Sequence[str]], className: Optional[bytes] = None) -> None [extrait de setFont.__doc__]
setKeyboardInputInterval(arg__1: int) -> None setKeyboardInputInterval(arg__1: int) -> None [extrait de setKeyboardInputInterval.__doc__]
setPalette(arg__1: Union[PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor], className: Optional[bytes] = None) -> None setPalette(arg__1: Union[PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor], className: Optional[bytes] = None) -> None [extrait de setPalette.__doc__]
setStartDragDistance(l: int) -> None setStartDragDistance(l: int) -> None [extrait de setStartDragDistance.__doc__]
setStartDragTime(ms: int) -> None setStartDragTime(ms: int) -> None [extrait de setStartDragTime.__doc__]
setStyle setStyle(arg__1: PySide6.QtWidgets.QStyle) -> None [extrait de setStyle.__doc__]
setStyleSheet(self, sheet: str) -> None setStyleSheet(self, sheet: str) -> None [extrait de setStyleSheet.__doc__]
setWheelScrollLines(arg__1: int) -> None setWheelScrollLines(arg__1: int) -> None [extrait de setWheelScrollLines.__doc__]
startDragDistance() -> int startDragDistance() -> int [extrait de startDragDistance.__doc__]
startDragTime() -> int startDragTime() -> int [extrait de startDragTime.__doc__]
style() -> PySide6.QtWidgets.QStyle style() -> PySide6.QtWidgets.QStyle [extrait de style.__doc__]
styleSheet(self) -> str styleSheet(self) -> str [extrait de styleSheet.__doc__]
topLevelAt topLevelAt(p: PySide6.QtCore.QPoint) -> PySide6.QtWidgets.QWidget [extrait de topLevelAt.__doc__]
topLevelWidgets() -> List[PySide6.QtWidgets.QWidget] topLevelWidgets() -> List[PySide6.QtWidgets.QWidget] [extrait de topLevelWidgets.__doc__]
tr
wheelScrollLines() -> int wheelScrollLines() -> int [extrait de wheelScrollLines.__doc__]
widgetAt widgetAt(p: PySide6.QtCore.QPoint) -> PySide6.QtWidgets.QWidget [extrait de widgetAt.__doc__]

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

__init_subclass__, __subclasshook__, allWindows, applicationDisplayName, applicationState, changeOverrideCursor, clipboard, desktopFileName, desktopSettingsAware, devicePixelRatio, focusObject, focusWindow, highDpiScaleFactorRoundingPolicy, inputMethod, isLeftToRight, isRightToLeft, isSavingSession, isSessionRestored, keyboardModifiers, layoutDirection, modalWindow, mouseButtons, overrideCursor, platformName, primaryScreen, queryKeyboardModifiers, quitOnLastWindowClosed, restoreOverrideCursor, screenAt, screens, sessionId, sessionKey, setApplicationDisplayName, setDesktopFileName, setDesktopSettingsAware, setHighDpiScaleFactorRoundingPolicy, setLayoutDirection, setOverrideCursor, setQuitOnLastWindowClosed, setWindowIcon, styleHints, sync, topLevelWindows, windowIcon

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

__init_subclass__, __subclasshook__, addLibraryPath, applicationDirPath, applicationFilePath, applicationName, applicationPid, applicationVersion, arguments, closingDown, eventDispatcher, exit, installNativeEventFilter, installTranslator, instance, isQuitLockEnabled, isSetuidAllowed, libraryPaths, organizationDomain, organizationName, postEvent, processEvents, quit, removeLibraryPath, removeNativeEventFilter, removePostedEvents, removeTranslator, sendEvent, sendPostedEvents, setApplicationName, setApplicationVersion, setAttribute, setEventDispatcher, setLibraryPaths, setOrganizationDomain, setOrganizationName, setQuitLockEnabled, setSetuidAllowed, shutdown, startingUp, testAttribute, translate

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, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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

__getattribute__, __init_subclass__, __subclasshook__

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

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