PythonQt.QtGui.QApplication · declarations 003
Back to PythonQt.QtGui.QApplication
paletteChanged
paletteChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QApplication.paletteChanged; argument details are not documented.
platformName
instance-attribute
platformName: Any
postEvent
postEvent(receiver: Any, event: Any, priority: Any) -> Any
X.postEvent(receiver, event, priority)
primaryScreenChanged
primaryScreenChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QApplication.primaryScreenChanged; argument details are not documented.
processEvents
processEvents(arg0: flags, maxtime: Any) -> Any
X.processEvents(flags, maxtime)
queryKeyboardModifiers
queryKeyboardModifiers() -> Any
X.queryKeyboardModifiers()
quit
quit() -> Any
X.quit()
quitLockEnabled
instance-attribute
quitLockEnabled: Any
quitOnLastWindowClosed
instance-attribute
quitOnLastWindowClosed: Any
removeLibraryPath
removeLibraryPath(arg__1: Any) -> Any
X.removeLibraryPath(arg__1)
removePostedEvents
removePostedEvents(receiver: Any, eventType: Any) -> Any
X.removePostedEvents(receiver, eventType)
removeTranslator
removeTranslator(messageFile: Any) -> bool
X.removeTranslator(messageFile) -> bool
restoreOverrideCursor
restoreOverrideCursor() -> Any
X.restoreOverrideCursor()
saveStateRequest
saveStateRequest(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QApplication.saveStateRequest; argument details are not documented.
screenAdded
screenAdded(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QApplication.screenAdded; argument details are not documented.
screenRemoved
screenRemoved(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QApplication.screenRemoved; argument details are not documented.
screens
screens() -> tuple
X.screens() -> tuple
sendEvent
sendEvent(receiver: Any, event: Any) -> bool
X.sendEvent(receiver, event) -> bool
sendPostedEvents
sendPostedEvents(receiver: Any, event_type: Any) -> Any
X.sendPostedEvents(receiver, event_type)
sessionId
sessionId() -> str
X.sessionId() -> str
sessionKey
sessionKey() -> str
X.sessionKey() -> str
setActiveWindow
setActiveWindow(act: Any) -> None
X.setActiveWindow(act)
Supplemental documentation: Qt 5 reference:
[static] void QApplication::setActiveWindow(QWidget *active)
Sets the active window to the active widget in response to a system event. The function is called from the platform specific event handlers.
Warning: This function does not set the keyboard focus to the active widget. Call QWidget::activateWindow() instead.
It sets the activeWindow() and focusWidget() attributes and sends proper WindowActivate/WindowDeactivate and FocusIn/FocusOut events to all appropriate widgets. The window will then be painted in active state (e.g. cursors in line edits will blink), and it will have tool tips enabled.
See also activeWindow() and QWidget::activateWindow().
Upstream PySide2 reference signatures (binding differences may apply):
setActiveWindow(act: PySide2.QtWidgets.QWidget) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setActiveWindow
setApplicationDisplayName
setApplicationDisplayName(name: Any) -> Any
X.setApplicationDisplayName(name)
setApplicationName
setApplicationName(application: Any) -> Any
X.setApplicationName(application)
setApplicationVersion
setApplicationVersion(version: Any) -> Any
X.setApplicationVersion(version)
setAttribute
setAttribute(attribute: Any, on: Any) -> Any
X.setAttribute(attribute, on)
setAutoSipEnabled
setAutoSipEnabled(enabled: bool) -> None
X.setAutoSipEnabled(enabled)
Upstream PySide2 reference signatures (binding differences may apply):
setAutoSipEnabled(self, enabled: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setAutoSipEnabled
setColorSpec
setColorSpec(arg__1: int) -> None
X.setColorSpec(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setColorSpec(arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setColorSpec
setCursorFlashTime
setCursorFlashTime(arg__1: int) -> None
X.setCursorFlashTime(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setCursorFlashTime(arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setCursorFlashTime
setDesktopSettingsAware
setDesktopSettingsAware(on: Any) -> Any
X.setDesktopSettingsAware(on)
setDoubleClickInterval
setDoubleClickInterval(arg__1: int) -> None
X.setDoubleClickInterval(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setDoubleClickInterval(arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setDoubleClickInterval
setEffectEnabled
setEffectEnabled(arg__1: Any, enable: bool) -> None
X.setEffectEnabled(arg__1, enable)
Supplemental documentation: Qt 5 reference:
[static] void QApplication::setEffectEnabled(Qt::UIEffect effect, bool enable \= true)
Enables the UI effect effect if enable is true, otherwise the effect will not be used.
Note: All effects are disabled on screens running at less than 16-bit color depth.
See also isEffectEnabled(), Qt::UIEffect, and setDesktopSettingsAware().
Upstream PySide2 reference signatures (binding differences may apply):
setEffectEnabled(arg__1: PySide2.QtCore.Qt.UIEffect, enable: bool=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setEffectEnabled
setEventDispatcher
setEventDispatcher(eventDispatcher: Any) -> Any
X.setEventDispatcher(eventDispatcher)
setFallbackSessionManagementEnabled
setFallbackSessionManagementEnabled(arg__1: Any) -> Any
X.setFallbackSessionManagementEnabled(arg__1)
setFont
setFont(arg__1: Any, className: Any) -> None
X.setFont(arg__1, className)
Supplemental documentation: Qt 5 reference:
[static] void QApplication::setFont(const QFont \&font, const char *className \= nullptr)
Changes the default application font to font. If className is passed, the change applies only to classes that inherit className (as reported by QObject::inherits()).
On application start-up, the default font depends on the window system. It can vary depending on both the window system version and the locale. This function lets you override the default font; but overriding may be a bad idea because, for example, some locales need extra large fonts to support their special characters.
Warning: Do not use this function in conjunction with Qt Style Sheets. The font of an application can be customized using the "font" style sheet property. To set a bold font for all QPushButtons, set the application styleSheet() as "QPushButton { font: bold }"
See also font(), fontMetrics(), and QWidget::setFont().
Upstream PySide2 reference signatures (binding differences may apply):
setFont(arg__1: PySide2.QtGui.QFont) -> None
setFont(arg__1: PySide2.QtGui.QFont, className: typing.Optional[str]=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setFont
setGlobalStrut
setGlobalStrut(arg__1: Any) -> None
X.setGlobalStrut(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setGlobalStrut(arg__1: PySide2.QtCore.QSize) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setGlobalStrut
setKeyboardInputInterval
setKeyboardInputInterval(arg__1: int) -> None
X.setKeyboardInputInterval(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setKeyboardInputInterval(arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qapplication.html#setKeyboardInputInterval
setLibraryPaths
setLibraryPaths(arg__1: Any) -> Any
X.setLibraryPaths(arg__1)
setOrganizationDomain
setOrganizationDomain(orgDomain: Any) -> Any
X.setOrganizationDomain(orgDomain)