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 « 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)
QApplication(self, arg__1: typing.Sequence[str])

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
ApplicationFlags331266
CustomColorPySide2.QtWidgets.QApplication.ColorSpec.CustomColor
ManyColorPySide2.QtWidgets.QApplication.ColorSpec.ManyColor
NormalColorPySide2.QtWidgets.QApplication.ColorSpec.NormalColor
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe3594c6c0>

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() aboutQt() [extrait de aboutQt.__doc__]
aboutToQuit
activeModalWidget() -> PySide2.QtWidgets.QWidget activeModalWidget() -> PySide2.QtWidgets.QWidget [extrait de activeModalWidget.__doc__]
activePopupWidget() -> PySide2.QtWidgets.QWidget activePopupWidget() -> PySide2.QtWidgets.QWidget [extrait de activePopupWidget.__doc__]
activeWindow() -> PySide2.QtWidgets.QWidget activeWindow() -> PySide2.QtWidgets.QWidget [extrait de activeWindow.__doc__]
alert(widget: PySide2.QtWidgets.QWidget, duration: int = 0) alert(widget: PySide2.QtWidgets.QWidget, duration: int = 0) [extrait de alert.__doc__]
allWidgets() -> typing.List[PySide2.QtWidgets.QWidget] allWidgets() -> typing.List[PySide2.QtWidgets.QWidget] [extrait de allWidgets.__doc__]
applicationDisplayNameChanged
applicationNameChanged
applicationStateChanged
applicationVersionChanged
autoSipEnabled(self) -> bool autoSipEnabled(self) -> bool [extrait de autoSipEnabled.__doc__]
beep() beep() [extrait de beep.__doc__]
closeAllWindows() closeAllWindows() [extrait de closeAllWindows.__doc__]
ColorSpec
colorSpec() -> int colorSpec() -> int [extrait de colorSpec.__doc__]
commitDataRequest
cursorFlashTime() -> int cursorFlashTime() -> int [extrait de cursorFlashTime.__doc__]
desktop() -> PySide2.QtWidgets.QDesktopWidget desktop() -> PySide2.QtWidgets.QDesktopWidget [extrait de desktop.__doc__]
destroyed
doubleClickInterval() -> int doubleClickInterval() -> int [extrait de doubleClickInterval.__doc__]
event(self, arg__1: PySide2.QtCore.QEvent) -> bool event(self, arg__1: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
exec_() -> int exec_() -> int [extrait de exec_.__doc__]
focusChanged
focusObjectChanged
focusWidget() -> PySide2.QtWidgets.QWidget focusWidget() -> PySide2.QtWidgets.QWidget [extrait de focusWidget.__doc__]
focusWindowChanged
font font() -> PySide2.QtGui.QFont [extrait de font.__doc__]
fontChanged
fontDatabaseChanged
fontMetrics() -> PySide2.QtGui.QFontMetrics fontMetrics() -> PySide2.QtGui.QFontMetrics [extrait de fontMetrics.__doc__]
globalStrut() -> PySide2.QtCore.QSize globalStrut() -> PySide2.QtCore.QSize [extrait de globalStrut.__doc__]
isEffectEnabled(arg__1: PySide2.QtCore.Qt.UIEffect) -> bool isEffectEnabled(arg__1: PySide2.QtCore.Qt.UIEffect) -> bool [extrait de isEffectEnabled.__doc__]
keyboardInputInterval() -> int keyboardInputInterval() -> int [extrait de keyboardInputInterval.__doc__]
lastWindowClosed
layoutDirectionChanged
notify(self, arg__1: PySide2.QtCore.QObject, arg__2: PySide2.QtCore.QEvent) -> bool notify(self, arg__1: PySide2.QtCore.QObject, arg__2: PySide2.QtCore.QEvent) -> bool [extrait de notify.__doc__]
objectNameChanged
organizationDomainChanged
organizationNameChanged
palette palette() -> PySide2.QtGui.QPalette [extrait de palette.__doc__]
paletteChanged
primaryScreenChanged
saveStateRequest
screenAdded
screenRemoved
setActiveWindow(act: PySide2.QtWidgets.QWidget) setActiveWindow(act: PySide2.QtWidgets.QWidget) [extrait de setActiveWindow.__doc__]
setAutoSipEnabled(self, enabled: bool) setAutoSipEnabled(self, enabled: bool) [extrait de setAutoSipEnabled.__doc__]
setColorSpec(arg__1: int) setColorSpec(arg__1: int) [extrait de setColorSpec.__doc__]
setCursorFlashTime(arg__1: int) setCursorFlashTime(arg__1: int) [extrait de setCursorFlashTime.__doc__]
setDoubleClickInterval(arg__1: int) setDoubleClickInterval(arg__1: int) [extrait de setDoubleClickInterval.__doc__]
setEffectEnabled(arg__1: PySide2.QtCore.Qt.UIEffect, enable: bool = True) setEffectEnabled(arg__1: PySide2.QtCore.Qt.UIEffect, enable: bool = True) [extrait de setEffectEnabled.__doc__]
setFont setFont(arg__1: PySide2.QtGui.QFont) [extrait de setFont.__doc__]
setGlobalStrut(arg__1: PySide2.QtCore.QSize) setGlobalStrut(arg__1: PySide2.QtCore.QSize) [extrait de setGlobalStrut.__doc__]
setKeyboardInputInterval(arg__1: int) setKeyboardInputInterval(arg__1: int) [extrait de setKeyboardInputInterval.__doc__]
setPalette setPalette(arg__1: PySide2.QtGui.QPalette, className: typing.Union[bytes, NoneType] = None) [extrait de setPalette.__doc__]
setStartDragDistance(l: int) setStartDragDistance(l: int) [extrait de setStartDragDistance.__doc__]
setStartDragTime(ms: int) setStartDragTime(ms: int) [extrait de setStartDragTime.__doc__]
setStyle setStyle(arg__1: PySide2.QtWidgets.QStyle) [extrait de setStyle.__doc__]
setStyleSheet(self, sheet: str) setStyleSheet(self, sheet: str) [extrait de setStyleSheet.__doc__]
setWheelScrollLines(arg__1: int) setWheelScrollLines(arg__1: int) [extrait de setWheelScrollLines.__doc__]
setWindowIcon(icon: PySide2.QtGui.QIcon) setWindowIcon(icon: PySide2.QtGui.QIcon) [extrait de setWindowIcon.__doc__]
startDragDistance() -> int startDragDistance() -> int [extrait de startDragDistance.__doc__]
startDragTime() -> int startDragTime() -> int [extrait de startDragTime.__doc__]
style() -> PySide2.QtWidgets.QStyle style() -> PySide2.QtWidgets.QStyle [extrait de style.__doc__]
styleSheet(self) -> str styleSheet(self) -> str [extrait de styleSheet.__doc__]
topLevelAt topLevelAt(p: PySide2.QtCore.QPoint) -> PySide2.QtWidgets.QWidget [extrait de topLevelAt.__doc__]
topLevelWidgets() -> typing.List[PySide2.QtWidgets.QWidget] topLevelWidgets() -> typing.List[PySide2.QtWidgets.QWidget] [extrait de topLevelWidgets.__doc__]
wheelScrollLines() -> int wheelScrollLines() -> int [extrait de wheelScrollLines.__doc__]
widgetAt widgetAt(p: PySide2.QtCore.QPoint) -> PySide2.QtWidgets.QWidget [extrait de widgetAt.__doc__]
windowIcon() -> PySide2.QtGui.QIcon windowIcon() -> PySide2.QtGui.QIcon [extrait de windowIcon.__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, isFallbackSessionManagementEnabled, isLeftToRight, isRightToLeft, isSavingSession, isSessionRestored, keyboardModifiers, layoutDirection, modalWindow, mouseButtons, overrideCursor, platformName, primaryScreen, queryKeyboardModifiers, quitOnLastWindowClosed, restoreOverrideCursor, screenAt, screens, sessionId, sessionKey, setApplicationDisplayName, setDesktopFileName, setDesktopSettingsAware, setFallbackSessionManagementEnabled, setHighDpiScaleFactorRoundingPolicy, setLayoutDirection, setOverrideCursor, setQuitOnLastWindowClosed, styleHints, sync, topLevelWindows

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

__init_subclass__, __subclasshook__, addLibraryPath, applicationDirPath, applicationFilePath, applicationName, applicationPid, applicationVersion, arguments, closingDown, eventDispatcher, exit, flush, hasPendingEvents, 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, 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__