API reference - Class QGuiApplication

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QGuiApplication

Class hierarchy: QGuiApplication » QCoreApplication » QObject

Public constructors

new QGuiApplication ptrnew(string[] argv)Creates a new QGuiApplication object

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidaboutToQuitSignal declaration for QGuiApplication::aboutToQuit()
[signal]voidapplicationNameChangedSignal declaration for QGuiApplication::applicationNameChanged()
[signal]voidapplicationStateChanged(const Qt_ApplicationState state)Signal declaration for QGuiApplication::applicationStateChanged(Qt::ApplicationState state)
[signal]voidapplicationVersionChangedSignal declaration for QGuiApplication::applicationVersionChanged()
[signal]voidcommitDataRequest(QSessionManager sessionManager)Signal declaration for QGuiApplication::commitDataRequest(QSessionManager &sessionManager)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QGuiApplication::destroyed(QObject *)
[const]doubledevicePixelRatioMethod double QGuiApplication::devicePixelRatio()
voidemit_aboutToQuitEmitter for signal void QGuiApplication::aboutToQuit()
voidemit_applicationNameChangedEmitter for signal void QGuiApplication::applicationNameChanged()
voidemit_applicationStateChanged(const Qt_ApplicationState state)Emitter for signal void QGuiApplication::applicationStateChanged(Qt::ApplicationState state)
voidemit_applicationVersionChangedEmitter for signal void QGuiApplication::applicationVersionChanged()
voidemit_commitDataRequest(QSessionManager sessionManager)Emitter for signal void QGuiApplication::commitDataRequest(QSessionManager &sessionManager)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QGuiApplication::destroyed(QObject *)
voidemit_focusObjectChanged(QObject ptr focusObject)Emitter for signal void QGuiApplication::focusObjectChanged(QObject *focusObject)
voidemit_focusWindowChanged(QWindow ptr focusWindow)Emitter for signal void QGuiApplication::focusWindowChanged(QWindow *focusWindow)
voidemit_fontDatabaseChangedEmitter for signal void QGuiApplication::fontDatabaseChanged()
voidemit_lastWindowClosedEmitter for signal void QGuiApplication::lastWindowClosed()
voidemit_layoutDirectionChanged(const Qt_LayoutDirection direction)Emitter for signal void QGuiApplication::layoutDirectionChanged(Qt::LayoutDirection direction)
voidemit_objectNameChanged(string objectName)Emitter for signal void QGuiApplication::objectNameChanged(const QString &objectName)
voidemit_organizationDomainChangedEmitter for signal void QGuiApplication::organizationDomainChanged()
voidemit_organizationNameChangedEmitter for signal void QGuiApplication::organizationNameChanged()
voidemit_paletteChanged(const QPalette pal)Emitter for signal void QGuiApplication::paletteChanged(const QPalette &pal)
voidemit_saveStateRequest(QSessionManager sessionManager)Emitter for signal void QGuiApplication::saveStateRequest(QSessionManager &sessionManager)
voidemit_screenAdded(QScreen ptr screen)Emitter for signal void QGuiApplication::screenAdded(QScreen *screen)
voidemit_screenRemoved(QScreen ptr screen)Emitter for signal void QGuiApplication::screenRemoved(QScreen *screen)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QGuiApplication::eventFilter(QObject *, QEvent *)
[signal]voidfocusObjectChanged(QObject ptr focusObject)Signal declaration for QGuiApplication::focusObjectChanged(QObject *focusObject)
[signal]voidfocusWindowChanged(QWindow ptr focusWindow)Signal declaration for QGuiApplication::focusWindowChanged(QWindow *focusWindow)
[signal]voidfontDatabaseChangedSignal declaration for QGuiApplication::fontDatabaseChanged()
[const]boolisSavingSession?Method bool QGuiApplication::isSavingSession()
[const]boolisSessionRestored?Method bool QGuiApplication::isSessionRestored()
[signal]voidlastWindowClosedSignal declaration for QGuiApplication::lastWindowClosed()
[signal]voidlayoutDirectionChanged(const Qt_LayoutDirection direction)Signal declaration for QGuiApplication::layoutDirectionChanged(Qt::LayoutDirection direction)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QGuiApplication::objectNameChanged(const QString &objectName)
[signal]voidorganizationDomainChangedSignal declaration for QGuiApplication::organizationDomainChanged()
[signal]voidorganizationNameChangedSignal declaration for QGuiApplication::organizationNameChanged()
[signal]voidpaletteChanged(const QPalette pal)Signal declaration for QGuiApplication::paletteChanged(const QPalette &pal)
[signal]voidsaveStateRequest(QSessionManager sessionManager)Signal declaration for QGuiApplication::saveStateRequest(QSessionManager &sessionManager)
[signal]voidscreenAdded(QScreen ptr screen)Signal declaration for QGuiApplication::screenAdded(QScreen *screen)
[signal]voidscreenRemoved(QScreen ptr screen)Signal declaration for QGuiApplication::screenRemoved(QScreen *screen)
[const]stringsessionIdMethod QString QGuiApplication::sessionId()
[const]stringsessionKeyMethod QString QGuiApplication::sessionKey()

Public static methods and constants

QWindow ptr[]allWindowsStatic method QList<QWindow *> QGuiApplication::allWindows()
stringapplicationDisplayNameStatic method QString QGuiApplication::applicationDisplayName()
voidapplicationDisplayName=(string name)Static method void QGuiApplication::setApplicationDisplayName(const QString &name)
Qt_ApplicationStateapplicationStateStatic method Qt::ApplicationState QGuiApplication::applicationState()
voidchangeOverrideCursor(const QCursor arg1)Static method void QGuiApplication::changeOverrideCursor(const QCursor &)
QClipboard ptrclipboardStatic method QClipboard *QGuiApplication::clipboard()
booldesktopSettingsAwareStatic method bool QGuiApplication::desktopSettingsAware()
voiddesktopSettingsAware=(bool on)Static method void QGuiApplication::setDesktopSettingsAware(bool on)
intexecStatic method int QGuiApplication::exec()
QObject ptrfocusObjectStatic method QObject *QGuiApplication::focusObject()
QWindow ptrfocusWindowStatic method QWindow *QGuiApplication::focusWindow()
QFontfontStatic method QFont QGuiApplication::font()
voidfont=(const QFont arg1)Static method void QGuiApplication::setFont(const QFont &)
QInputMethod ptrinputMethodStatic method QInputMethod *QGuiApplication::inputMethod()
boolisLeftToRight?Static method bool QGuiApplication::isLeftToRight()
boolisRightToLeft?Static method bool QGuiApplication::isRightToLeft()
Qt_QFlags_KeyboardModifierkeyboardModifiersStatic method QFlags<Qt::KeyboardModifier> QGuiApplication::keyboardModifiers()
Qt_LayoutDirectionlayoutDirectionStatic method Qt::LayoutDirection QGuiApplication::layoutDirection()
voidlayoutDirection=(const Qt_LayoutDirection direction)Static method void QGuiApplication::setLayoutDirection(Qt::LayoutDirection direction)
QWindow ptrmodalWindowStatic method QWindow *QGuiApplication::modalWindow()
Qt_QFlags_MouseButtonmouseButtonsStatic method QFlags<Qt::MouseButton> QGuiApplication::mouseButtons()
QCursor ptroverrideCursorStatic method QCursor *QGuiApplication::overrideCursor()
QPalettepaletteStatic method QPalette QGuiApplication::palette()
voidpalette=(const QPalette pal)Static method void QGuiApplication::setPalette(const QPalette &pal)
stringplatformNameStatic method QString QGuiApplication::platformName()
QScreen ptrprimaryScreenStatic method QScreen *QGuiApplication::primaryScreen()
Qt_QFlags_KeyboardModifierqueryKeyboardModifiersStatic method QFlags<Qt::KeyboardModifier> QGuiApplication::queryKeyboardModifiers()
boolquitOnLastWindowClosedStatic method bool QGuiApplication::quitOnLastWindowClosed()
voidquitOnLastWindowClosed=(bool quit)Static method void QGuiApplication::setQuitOnLastWindowClosed(bool quit)
voidrestoreOverrideCursorStatic method void QGuiApplication::restoreOverrideCursor()
QScreen ptr[]screensStatic method QList<QScreen *> QGuiApplication::screens()
voidsetApplicationDisplayName(string name)Static method void QGuiApplication::setApplicationDisplayName(const QString &name)
voidsetDesktopSettingsAware(bool on)Static method void QGuiApplication::setDesktopSettingsAware(bool on)
voidsetFont(const QFont arg1)Static method void QGuiApplication::setFont(const QFont &)
voidsetLayoutDirection(const Qt_LayoutDirection direction)Static method void QGuiApplication::setLayoutDirection(Qt::LayoutDirection direction)
voidsetOverrideCursor(const QCursor arg1)Static method void QGuiApplication::setOverrideCursor(const QCursor &)
voidsetPalette(const QPalette pal)Static method void QGuiApplication::setPalette(const QPalette &pal)
voidsetQuitOnLastWindowClosed(bool quit)Static method void QGuiApplication::setQuitOnLastWindowClosed(bool quit)
voidsetWindowIcon(const QIcon icon)Static method void QGuiApplication::setWindowIcon(const QIcon &icon)
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
QStyleHints ptrstyleHintsStatic method QStyleHints *QGuiApplication::styleHints()
voidsyncStatic method void QGuiApplication::sync()
QWindow ptrtopLevelAt(const QPoint pos)Static method QWindow *QGuiApplication::topLevelAt(const QPoint &pos)
QWindow ptr[]topLevelWindowsStatic method QList<QWindow *> QGuiApplication::topLevelWindows()
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QGuiApplication::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QGuiApplication::trUtf8(const char *s, const char *c, int n)
QIconwindowIconStatic method QIcon QGuiApplication::windowIcon()
voidwindowIcon=(const QIcon icon)Static method void QGuiApplication::setWindowIcon(const QIcon &icon)

Protected methods (static, non-static and constructors)

voidchildEvent(QChildEvent ptr arg1)Virtual method void QGuiApplication::childEvent(QChildEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QGuiApplication::customEvent(QEvent *)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QGuiApplication::disconnectNotify(const QMetaMethod &signal)
boolevent(QEvent ptr arg1)Virtual method bool QGuiApplication::event(QEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QGuiApplication::isSignalConnected(const QMetaMethod &signal)
[const]intreceivers(string signal)Method int QGuiApplication::receivers(const char *signal)
[const]QObject ptrsenderMethod QObject *QGuiApplication::sender()
[const]intsenderSignalIndexMethod int QGuiApplication::senderSignalIndex()
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QGuiApplication::timerEvent(QTimerEvent *)

Detailed description

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

aboutToQuit

Signature: [signal] void aboutToQuit

Description: Signal declaration for QGuiApplication::aboutToQuit()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'aboutToQuit'. This is the getter.
The object exposes a writable attribute 'aboutToQuit'. This is the setter.

allWindows

Signature: [static] QWindow ptr[] allWindows

Description: Static method QList<QWindow *> QGuiApplication::allWindows()

This method is static and can be called without an instance.

applicationDisplayName

Signature: [static] string applicationDisplayName

Description: Static method QString QGuiApplication::applicationDisplayName()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'applicationDisplayName'. This is the getter.

applicationDisplayName=

Signature: [static] void applicationDisplayName= (string name)

Description: Static method void QGuiApplication::setApplicationDisplayName(const QString &name)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'applicationDisplayName'. This is the setter.

applicationNameChanged

Signature: [signal] void applicationNameChanged

Description: Signal declaration for QGuiApplication::applicationNameChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'applicationNameChanged'. This is the getter.
The object exposes a writable attribute 'applicationNameChanged'. This is the setter.

applicationState

Signature: [static] Qt_ApplicationState applicationState

Description: Static method Qt::ApplicationState QGuiApplication::applicationState()

This method is static and can be called without an instance.

applicationStateChanged

Signature: [signal] void applicationStateChanged (const Qt_ApplicationState state)

Description: Signal declaration for QGuiApplication::applicationStateChanged(Qt::ApplicationState state)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'applicationStateChanged'. This is the getter.
The object exposes a writable attribute 'applicationStateChanged'. This is the setter.

applicationVersionChanged

Signature: [signal] void applicationVersionChanged

Description: Signal declaration for QGuiApplication::applicationVersionChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'applicationVersionChanged'. This is the getter.
The object exposes a writable attribute 'applicationVersionChanged'. This is the setter.

changeOverrideCursor

Signature: [static] void changeOverrideCursor (const QCursor arg1)

Description: Static method void QGuiApplication::changeOverrideCursor(const QCursor &)

This method is static and can be called without an instance.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QGuiApplication::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

clipboard

Signature: [static] QClipboard ptr clipboard

Description: Static method QClipboard *QGuiApplication::clipboard()

This method is static and can be called without an instance.

commitDataRequest

Signature: [signal] void commitDataRequest (QSessionManager sessionManager)

Description: Signal declaration for QGuiApplication::commitDataRequest(QSessionManager &sessionManager)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'commitDataRequest'. This is the getter.
The object exposes a writable attribute 'commitDataRequest'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QGuiApplication::customEvent(QEvent *)

This method can be reimplemented in a derived class.

desktopSettingsAware

Signature: [static] bool desktopSettingsAware

Description: Static method bool QGuiApplication::desktopSettingsAware()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'desktopSettingsAware'. This is the getter.

desktopSettingsAware=

Signature: [static] void desktopSettingsAware= (bool on)

Description: Static method void QGuiApplication::setDesktopSettingsAware(bool on)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'desktopSettingsAware'. This is the setter.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QGuiApplication::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

devicePixelRatio

Signature: [const] double devicePixelRatio

Description: Method double QGuiApplication::devicePixelRatio()

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QGuiApplication::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

emit_aboutToQuit

Signature: void emit_aboutToQuit

Description: Emitter for signal void QGuiApplication::aboutToQuit()

Call this method to emit this signal.

emit_applicationNameChanged

Signature: void emit_applicationNameChanged

Description: Emitter for signal void QGuiApplication::applicationNameChanged()

Call this method to emit this signal.

emit_applicationStateChanged

Signature: void emit_applicationStateChanged (const Qt_ApplicationState state)

Description: Emitter for signal void QGuiApplication::applicationStateChanged(Qt::ApplicationState state)

Call this method to emit this signal.

emit_applicationVersionChanged

Signature: void emit_applicationVersionChanged

Description: Emitter for signal void QGuiApplication::applicationVersionChanged()

Call this method to emit this signal.

emit_commitDataRequest

Signature: void emit_commitDataRequest (QSessionManager sessionManager)

Description: Emitter for signal void QGuiApplication::commitDataRequest(QSessionManager &sessionManager)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QGuiApplication::destroyed(QObject *)

Call this method to emit this signal.

emit_focusObjectChanged

Signature: void emit_focusObjectChanged (QObject ptr focusObject)

Description: Emitter for signal void QGuiApplication::focusObjectChanged(QObject *focusObject)

Call this method to emit this signal.

emit_focusWindowChanged

Signature: void emit_focusWindowChanged (QWindow ptr focusWindow)

Description: Emitter for signal void QGuiApplication::focusWindowChanged(QWindow *focusWindow)

Call this method to emit this signal.

emit_fontDatabaseChanged

Signature: void emit_fontDatabaseChanged

Description: Emitter for signal void QGuiApplication::fontDatabaseChanged()

Call this method to emit this signal.

emit_lastWindowClosed

Signature: void emit_lastWindowClosed

Description: Emitter for signal void QGuiApplication::lastWindowClosed()

Call this method to emit this signal.

emit_layoutDirectionChanged

Signature: void emit_layoutDirectionChanged (const Qt_LayoutDirection direction)

Description: Emitter for signal void QGuiApplication::layoutDirectionChanged(Qt::LayoutDirection direction)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QGuiApplication::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_organizationDomainChanged

Signature: void emit_organizationDomainChanged

Description: Emitter for signal void QGuiApplication::organizationDomainChanged()

Call this method to emit this signal.

emit_organizationNameChanged

Signature: void emit_organizationNameChanged

Description: Emitter for signal void QGuiApplication::organizationNameChanged()

Call this method to emit this signal.

emit_paletteChanged

Signature: void emit_paletteChanged (const QPalette pal)

Description: Emitter for signal void QGuiApplication::paletteChanged(const QPalette &pal)

Call this method to emit this signal.

emit_saveStateRequest

Signature: void emit_saveStateRequest (QSessionManager sessionManager)

Description: Emitter for signal void QGuiApplication::saveStateRequest(QSessionManager &sessionManager)

Call this method to emit this signal.

emit_screenAdded

Signature: void emit_screenAdded (QScreen ptr screen)

Description: Emitter for signal void QGuiApplication::screenAdded(QScreen *screen)

Call this method to emit this signal.

emit_screenRemoved

Signature: void emit_screenRemoved (QScreen ptr screen)

Description: Emitter for signal void QGuiApplication::screenRemoved(QScreen *screen)

Call this method to emit this signal.

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QGuiApplication::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QGuiApplication::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

exec

Signature: [static] int exec

Description: Static method int QGuiApplication::exec()

This method is static and can be called without an instance.

Python specific notes:
This attribute is available as 'exec_' in Python.

focusObject

Signature: [static] QObject ptr focusObject

Description: Static method QObject *QGuiApplication::focusObject()

This method is static and can be called without an instance.

focusObjectChanged

Signature: [signal] void focusObjectChanged (QObject ptr focusObject)

Description: Signal declaration for QGuiApplication::focusObjectChanged(QObject *focusObject)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'focusObjectChanged'. This is the getter.
The object exposes a writable attribute 'focusObjectChanged'. This is the setter.

focusWindow

Signature: [static] QWindow ptr focusWindow

Description: Static method QWindow *QGuiApplication::focusWindow()

This method is static and can be called without an instance.

focusWindowChanged

Signature: [signal] void focusWindowChanged (QWindow ptr focusWindow)

Description: Signal declaration for QGuiApplication::focusWindowChanged(QWindow *focusWindow)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'focusWindowChanged'. This is the getter.
The object exposes a writable attribute 'focusWindowChanged'. This is the setter.

font

Signature: [static] QFont font

Description: Static method QFont QGuiApplication::font()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'font'. This is the getter.

font=

Signature: [static] void font= (const QFont arg1)

Description: Static method void QGuiApplication::setFont(const QFont &)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.
The object exposes a writable attribute 'font'. This is the setter.

fontDatabaseChanged

Signature: [signal] void fontDatabaseChanged

Description: Signal declaration for QGuiApplication::fontDatabaseChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'fontDatabaseChanged'. This is the getter.
The object exposes a writable attribute 'fontDatabaseChanged'. This is the setter.

inputMethod

Signature: [static] QInputMethod ptr inputMethod

Description: Static method QInputMethod *QGuiApplication::inputMethod()

This method is static and can be called without an instance.

isLeftToRight?

Signature: [static] bool isLeftToRight?

Description: Static method bool QGuiApplication::isLeftToRight()

This method is static and can be called without an instance.

isRightToLeft?

Signature: [static] bool isRightToLeft?

Description: Static method bool QGuiApplication::isRightToLeft()

This method is static and can be called without an instance.

isSavingSession?

Signature: [const] bool isSavingSession?

Description: Method bool QGuiApplication::isSavingSession()

isSessionRestored?

Signature: [const] bool isSessionRestored?

Description: Method bool QGuiApplication::isSessionRestored()

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QGuiApplication::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

keyboardModifiers

Signature: [static] Qt_QFlags_KeyboardModifier keyboardModifiers

Description: Static method QFlags<Qt::KeyboardModifier> QGuiApplication::keyboardModifiers()

This method is static and can be called without an instance.

lastWindowClosed

Signature: [signal] void lastWindowClosed

Description: Signal declaration for QGuiApplication::lastWindowClosed()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'lastWindowClosed'. This is the getter.
The object exposes a writable attribute 'lastWindowClosed'. This is the setter.

layoutDirection

Signature: [static] Qt_LayoutDirection layoutDirection

Description: Static method Qt::LayoutDirection QGuiApplication::layoutDirection()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'layoutDirection'. This is the getter.

layoutDirection=

Signature: [static] void layoutDirection= (const Qt_LayoutDirection direction)

Description: Static method void QGuiApplication::setLayoutDirection(Qt::LayoutDirection direction)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'layoutDirection'. This is the setter.

layoutDirectionChanged

Signature: [signal] void layoutDirectionChanged (const Qt_LayoutDirection direction)

Description: Signal declaration for QGuiApplication::layoutDirectionChanged(Qt::LayoutDirection direction)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'layoutDirectionChanged'. This is the getter.
The object exposes a writable attribute 'layoutDirectionChanged'. This is the setter.

modalWindow

Signature: [static] QWindow ptr modalWindow

Description: Static method QWindow *QGuiApplication::modalWindow()

This method is static and can be called without an instance.

mouseButtons

Signature: [static] Qt_QFlags_MouseButton mouseButtons

Description: Static method QFlags<Qt::MouseButton> QGuiApplication::mouseButtons()

This method is static and can be called without an instance.

new

Signature: [static] new QGuiApplication ptr new (string[] argv)

Description: Creates a new QGuiApplication object

argv:The command line arguments to pass to Qt

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QGuiApplication::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

organizationDomainChanged

Signature: [signal] void organizationDomainChanged

Description: Signal declaration for QGuiApplication::organizationDomainChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'organizationDomainChanged'. This is the getter.
The object exposes a writable attribute 'organizationDomainChanged'. This is the setter.

organizationNameChanged

Signature: [signal] void organizationNameChanged

Description: Signal declaration for QGuiApplication::organizationNameChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'organizationNameChanged'. This is the getter.
The object exposes a writable attribute 'organizationNameChanged'. This is the setter.

overrideCursor

Signature: [static] QCursor ptr overrideCursor

Description: Static method QCursor *QGuiApplication::overrideCursor()

This method is static and can be called without an instance.

palette

Signature: [static] QPalette palette

Description: Static method QPalette QGuiApplication::palette()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'palette'. This is the getter.

palette=

Signature: [static] void palette= (const QPalette pal)

Description: Static method void QGuiApplication::setPalette(const QPalette &pal)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'palette'. This is the setter.
The object exposes a writable attribute 'palette'. This is the setter.

paletteChanged

Signature: [signal] void paletteChanged (const QPalette pal)

Description: Signal declaration for QGuiApplication::paletteChanged(const QPalette &pal)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'paletteChanged'. This is the getter.
The object exposes a writable attribute 'paletteChanged'. This is the setter.

platformName

Signature: [static] string platformName

Description: Static method QString QGuiApplication::platformName()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'platformName'. This is the getter.

primaryScreen

Signature: [static] QScreen ptr primaryScreen

Description: Static method QScreen *QGuiApplication::primaryScreen()

This method is static and can be called without an instance.

queryKeyboardModifiers

Signature: [static] Qt_QFlags_KeyboardModifier queryKeyboardModifiers

Description: Static method QFlags<Qt::KeyboardModifier> QGuiApplication::queryKeyboardModifiers()

This method is static and can be called without an instance.

quitOnLastWindowClosed

Signature: [static] bool quitOnLastWindowClosed

Description: Static method bool QGuiApplication::quitOnLastWindowClosed()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'quitOnLastWindowClosed'. This is the getter.

quitOnLastWindowClosed=

Signature: [static] void quitOnLastWindowClosed= (bool quit)

Description: Static method void QGuiApplication::setQuitOnLastWindowClosed(bool quit)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'quitOnLastWindowClosed'. This is the setter.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QGuiApplication::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

restoreOverrideCursor

Signature: [static] void restoreOverrideCursor

Description: Static method void QGuiApplication::restoreOverrideCursor()

This method is static and can be called without an instance.

saveStateRequest

Signature: [signal] void saveStateRequest (QSessionManager sessionManager)

Description: Signal declaration for QGuiApplication::saveStateRequest(QSessionManager &sessionManager)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'saveStateRequest'. This is the getter.
The object exposes a writable attribute 'saveStateRequest'. This is the setter.

screenAdded

Signature: [signal] void screenAdded (QScreen ptr screen)

Description: Signal declaration for QGuiApplication::screenAdded(QScreen *screen)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'screenAdded'. This is the getter.
The object exposes a writable attribute 'screenAdded'. This is the setter.

screenRemoved

Signature: [signal] void screenRemoved (QScreen ptr screen)

Description: Signal declaration for QGuiApplication::screenRemoved(QScreen *screen)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'screenRemoved'. This is the getter.
The object exposes a writable attribute 'screenRemoved'. This is the setter.

screens

Signature: [static] QScreen ptr[] screens

Description: Static method QList<QScreen *> QGuiApplication::screens()

This method is static and can be called without an instance.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QGuiApplication::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QGuiApplication::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

sessionId

Signature: [const] string sessionId

Description: Method QString QGuiApplication::sessionId()

sessionKey

Signature: [const] string sessionKey

Description: Method QString QGuiApplication::sessionKey()

setApplicationDisplayName

Signature: [static] void setApplicationDisplayName (string name)

Description: Static method void QGuiApplication::setApplicationDisplayName(const QString &name)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'applicationDisplayName'. This is the setter.

setDesktopSettingsAware

Signature: [static] void setDesktopSettingsAware (bool on)

Description: Static method void QGuiApplication::setDesktopSettingsAware(bool on)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'desktopSettingsAware'. This is the setter.

setFont

Signature: [static] void setFont (const QFont arg1)

Description: Static method void QGuiApplication::setFont(const QFont &)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.
The object exposes a writable attribute 'font'. This is the setter.

setLayoutDirection

Signature: [static] void setLayoutDirection (const Qt_LayoutDirection direction)

Description: Static method void QGuiApplication::setLayoutDirection(Qt::LayoutDirection direction)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'layoutDirection'. This is the setter.

setOverrideCursor

Signature: [static] void setOverrideCursor (const QCursor arg1)

Description: Static method void QGuiApplication::setOverrideCursor(const QCursor &)

This method is static and can be called without an instance.

setPalette

Signature: [static] void setPalette (const QPalette pal)

Description: Static method void QGuiApplication::setPalette(const QPalette &pal)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'palette'. This is the setter.
The object exposes a writable attribute 'palette'. This is the setter.

setQuitOnLastWindowClosed

Signature: [static] void setQuitOnLastWindowClosed (bool quit)

Description: Static method void QGuiApplication::setQuitOnLastWindowClosed(bool quit)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'quitOnLastWindowClosed'. This is the setter.

setWindowIcon

Signature: [static] void setWindowIcon (const QIcon icon)

Description: Static method void QGuiApplication::setWindowIcon(const QIcon &icon)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'windowIcon'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

styleHints

Signature: [static] QStyleHints ptr styleHints

Description: Static method QStyleHints *QGuiApplication::styleHints()

This method is static and can be called without an instance.

sync

Signature: [static] void sync

Description: Static method void QGuiApplication::sync()

This method is static and can be called without an instance.

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QGuiApplication::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

topLevelAt

Signature: [static] QWindow ptr topLevelAt (const QPoint pos)

Description: Static method QWindow *QGuiApplication::topLevelAt(const QPoint &pos)

This method is static and can be called without an instance.

topLevelWindows

Signature: [static] QWindow ptr[] topLevelWindows

Description: Static method QList<QWindow *> QGuiApplication::topLevelWindows()

This method is static and can be called without an instance.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QGuiApplication::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QGuiApplication::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

windowIcon

Signature: [static] QIcon windowIcon

Description: Static method QIcon QGuiApplication::windowIcon()

This method is static and can be called without an instance.

Python specific notes:
The object exposes a readable attribute 'windowIcon'. This is the getter.

windowIcon=

Signature: [static] void windowIcon= (const QIcon icon)

Description: Static method void QGuiApplication::setWindowIcon(const QIcon &icon)

This method is static and can be called without an instance.

Python specific notes:
The object exposes a writable attribute 'windowIcon'. This is the setter.