Skip to content

PythonQt.Qt.QGuiApplication · declarations 001

Back to PythonQt.Qt.QGuiApplication

aboutToQuit

aboutToQuit(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.aboutToQuit; argument details are not documented.

applicationDisplayNameChanged

applicationDisplayNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.applicationDisplayNameChanged; argument details are not documented.

applicationNameChanged

applicationNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.applicationNameChanged; argument details are not documented.

applicationStateChanged

applicationStateChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.applicationStateChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::applicationStateChanged(Qt::ApplicationState state)

This signal is emitted when the state of the application changes.

This function was introduced in Qt 5.2.

See also applicationState().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#applicationStateChanged

applicationVersionChanged

applicationVersionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.applicationVersionChanged; argument details are not documented.

commitDataRequest

commitDataRequest(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.commitDataRequest; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::commitDataRequest(QSessionManager \&manager)

This signal deals with session management. It is emitted when the QSessionManager wants the application to commit all its data.

Usually this means saving all open files, after getting permission from the user. Furthermore you may want to provide a means by which the user can cancel the shutdown.

You should not exit the application within this signal. Instead, the session manager may or may not do this afterwards, depending on the context.

Warning: Within this signal, no user interaction is possible, unless you ask the manager for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details and example usage.

Note: You should use Qt::DirectConnection when connecting to this signal.

This function was introduced in Qt 4.2.

See also setFallbackSessionManagementEnabled(), isSessionRestored(), sessionId(), saveStateRequest(), and Session Management.

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#commitDataRequest

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.destroyed; argument details are not documented.

focusObjectChanged

focusObjectChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.focusObjectChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::focusObjectChanged(QObject *focusObject)

This signal is emitted when final receiver of events tied to focus is changed. focusObject is the new receiver.

See also focusObject().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#focusObjectChanged

focusWindowChanged

focusWindowChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.focusWindowChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::focusWindowChanged(QWindow *focusWindow)

This signal is emitted when the focused window changes. focusWindow is the new focused window.

See also focusWindow().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#focusWindowChanged

fontChanged

fontChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.fontChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::fontChanged(const QFont \&font)

This signal is emitted when the font of the application changes.

This function was introduced in Qt 5.11.

See also font().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#fontChanged

fontDatabaseChanged

fontDatabaseChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.fontDatabaseChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::fontDatabaseChanged()

This signal is emitted when application fonts are loaded or removed.

See also QFontDatabase::addApplicationFont(), QFontDatabase::addApplicationFontFromData(), QFontDatabase::removeAllApplicationFonts(), and QFontDatabase::removeApplicationFont().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#fontDatabaseChanged

lastWindowClosed

lastWindowClosed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.lastWindowClosed; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::lastWindowClosed()

This signal is emitted from exec() when the last visible primary window (i.e. window with no parent) is closed.

By default, QGuiApplication quits after this signal is emitted. This feature can be turned off by setting quitOnLastWindowClosed to false.

See also QWindow::close() and QWindow::isTopLevel().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#lastWindowClosed

layoutDirectionChanged

layoutDirectionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.layoutDirectionChanged; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.objectNameChanged; argument details are not documented.

organizationDomainChanged

organizationDomainChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.organizationDomainChanged; argument details are not documented.

organizationNameChanged

organizationNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.organizationNameChanged; argument details are not documented.

paletteChanged

paletteChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.paletteChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::paletteChanged(const QPalette \&palette)

This signal is emitted when the palette of the application changes.

This function was introduced in Qt 5.4.

See also palette().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#paletteChanged

primaryScreenChanged

primaryScreenChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.primaryScreenChanged; argument details are not documented.

saveStateRequest

saveStateRequest(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.saveStateRequest; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::saveStateRequest(QSessionManager \&manager)

This signal deals with session management. It is invoked when the session manager wants the application to preserve its state for a future session.

For example, a text editor would create a temporary file that includes the current contents of its edit buffers, the location of the cursor and other aspects of the current editing session.

You should never exit the application within this signal. Instead, the session manager may or may not do this afterwards, depending on the context. Furthermore, most session managers will very likely request a saved state immediately after the application has been started. This permits the session manager to learn about the application's restart policy.

Warning: Within this signal, no user interaction is possible, unless you ask the manager for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details.

Note: You should use Qt::DirectConnection when connecting to this signal.

This function was introduced in Qt 4.2.

See also isSessionRestored(), sessionId(), commitDataRequest(), and Session Management.

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#saveStateRequest

screenAdded

screenAdded(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.screenAdded; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::screenAdded(QScreen *screen)

This signal is emitted whenever a new screen screen has been added to the system.

See also screens(), primaryScreen, and screenRemoved().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#screenAdded

screenRemoved

screenRemoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QGuiApplication.screenRemoved; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGuiApplication::screenRemoved(QScreen *screen)

This signal is emitted whenever a screen is removed from the system. It provides an opportunity to manage the windows on the screen before Qt falls back to moving them to the primary screen.

This function was introduced in Qt 5.4.

See also screens(), screenAdded(), QObject::destroyed(), and QWindow::setScreen().

Source: https://doc.qt.io/archives/qt-5.15/qguiapplication.html#screenRemoved