|
| | QGuiApplicationPrivate (int &argc, char **argv) |
| | ~QGuiApplicationPrivate () |
| void | init () |
| void | createPlatformIntegration () |
| void | createEventDispatcher () override |
| | Called from QCoreApplication::init().
|
| void | eventDispatcherReady () override |
| virtual void | notifyLayoutDirectionChange () |
| virtual void | notifyActiveWindowChange (QWindow *previous) |
| bool | canQuitAutomatically () override |
| void | quit () override |
| bool | handleQuitEvent () override |
| void | maybeLastWindowClosed () |
| bool | lastWindowClosed () const |
| QPixmap | getPixmapCursor (Qt::CursorShape cshape) |
| void | _q_updateFocusObject (QObject *objectobject) |
| virtual Qt::WindowModality | defaultModality () const |
| virtual bool | windowNeverBlocked (QWindow *window) const |
| bool | isWindowBlocked (QWindow *window, QWindow **blockingWindow=nullptr) const |
| void | commitData () |
| void | saveState () |
| const QColorTrcLut * | colorProfileForA8Text () |
| const QColorTrcLut * | colorProfileForA32Text () |
| virtual QPixmap | applyQIconStyleHelper (QIcon::Mode, const QPixmap &basePixmap) const |
| virtual void | notifyWindowIconChanged () |
| virtual QActionPrivate * | createActionPrivate () const |
| virtual QShortcutPrivate * | createShortcutPrivate () const |
| void | _q_updatePrimaryScreenDpis () |
| | QCoreApplicationPrivate (int &aargc, char **aargv) |
| | ~QCoreApplicationPrivate () |
| void | init () |
| QString | appName () const |
| QString | appVersion () const |
| bool | sendThroughApplicationEventFilters (QObject *, QEvent *) |
| virtual bool | compressEvent (QEvent *eventevent, QObject *receiver, QPostEventList *postedEvents) |
| void | ref () |
| void | deref () |
| void | quitAutomatically () |
| void | cleanupThreadData () |
| void | execCleanup () |
| void | processCommandLineArguments () |
| void | ensureExtraData () |
| void | setObjectNameWithoutBindings (const QString &namename) |
| | QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion) |
| virtual | ~QObjectPrivate () |
| void | deleteChildren () |
| void | clearBindingStorage () |
| void | setParent_helper (QObject *) |
| void | moveToThread_helper () |
| void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status) |
| QObjectList | receiverList (const char *signal) const |
| void | ensureConnectionData () |
| void | addConnection (int signal, Connection *cc) |
| int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
| bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
| bool | maybeSignalConnected (uint signalIndex) const |
| bool | isDeclarativeSignalConnected (uint signalIdx) const |
| void | connectNotify (const QMetaMethod &signal) |
| void | disconnectNotify (const QMetaMethod &signal) |
| void | reinitBindingStorageAfterThreadMove () |
| virtual std::string | flagsForDumping () const |
| virtual void | writeToDebugStream (QDebug &) const |
| QtPrivate::QPropertyAdaptorSlotObject * | getPropertyAdaptorSlotObject (const QMetaProperty &property) |
| | QObjectData ()=default |
| virtual | ~QObjectData ()=0 |
| const QMetaObject * | dynamicMetaObject () const |
|
| static void | captureGlobalModifierState (QEvent *e) |
| static QPlatformIntegration * | platformIntegration () |
| static QPlatformTheme * | platformTheme () |
| static QAbstractEventDispatcher * | qt_qpa_core_dispatcher () |
| static void | processMouseEvent (QWindowSystemInterfacePrivate::MouseEvent *e) |
| static void | processKeyEvent (QWindowSystemInterfacePrivate::KeyEvent *e) |
| static void | processWheelEvent (QWindowSystemInterfacePrivate::WheelEvent *e) |
| static void | processTouchEvent (QWindowSystemInterfacePrivate::TouchEvent *e) |
| static void | processCloseEvent (QWindowSystemInterfacePrivate::CloseEvent *e) |
| static void | processGeometryChangeEvent (QWindowSystemInterfacePrivate::GeometryChangeEvent *e) |
| static void | processEnterEvent (QWindowSystemInterfacePrivate::EnterEvent *e) |
| static void | processLeaveEvent (QWindowSystemInterfacePrivate::LeaveEvent *e) |
| static void | processFocusWindowEvent (QWindowSystemInterfacePrivate::FocusWindowEvent *e) |
| static void | processWindowStateChangedEvent (QWindowSystemInterfacePrivate::WindowStateChangedEvent *e) |
| static void | processWindowScreenChangedEvent (QWindowSystemInterfacePrivate::WindowScreenChangedEvent *e) |
| static void | processWindowDevicePixelRatioChangedEvent (QWindowSystemInterfacePrivate::WindowDevicePixelRatioChangedEvent *e) |
| static void | processSafeAreaMarginsChangedEvent (QWindowSystemInterfacePrivate::SafeAreaMarginsChangedEvent *e) |
| static void | processWindowSystemEvent (QWindowSystemInterfacePrivate::WindowSystemEvent *e) |
| static void | processApplicationTermination (QWindowSystemInterfacePrivate::WindowSystemEvent *e) |
| static void | updateFilteredScreenOrientation (QScreen *screen) |
| static void | processScreenOrientationChange (QWindowSystemInterfacePrivate::ScreenOrientationEvent *e) |
| static void | processScreenGeometryChange (QWindowSystemInterfacePrivate::ScreenGeometryEvent *e) |
| static void | processScreenLogicalDotsPerInchChange (QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInchEvent *e) |
| static void | processScreenRefreshRateChange (QWindowSystemInterfacePrivate::ScreenRefreshRateEvent *e) |
| static void | processThemeChanged (QWindowSystemInterfacePrivate::ThemeChangeEvent *tce) |
| static void | processExposeEvent (QWindowSystemInterfacePrivate::ExposeEvent *e) |
| static void | processPaintEvent (QWindowSystemInterfacePrivate::PaintEvent *e) |
| static void | processFileOpenEvent (QWindowSystemInterfacePrivate::FileOpenEvent *e) |
| static void | processTabletEvent (QWindowSystemInterfacePrivate::TabletEvent *e) |
| static void | processTabletEnterProximityEvent (QWindowSystemInterfacePrivate::TabletEnterProximityEvent *e) |
| static void | processTabletLeaveProximityEvent (QWindowSystemInterfacePrivate::TabletLeaveProximityEvent *e) |
| static void | processGestureEvent (QWindowSystemInterfacePrivate::GestureEvent *e) |
| static void | processPlatformPanelEvent (QWindowSystemInterfacePrivate::PlatformPanelEvent *e) |
| static void | processContextMenuEvent (QWindowSystemInterfacePrivate::ContextMenuEvent *e) |
| static bool | processNativeEvent (QWindow *window, const QByteArray &eventType, void *messagemessage, qintptr *resultresult) |
| static bool | sendQWindowEventToQPlatformWindow (QWindow *window, QEvent *eventevent) |
| static bool | maybeForwardEventToVirtualKeyboard (QEvent *e) |
| static bool | isUsingVirtualKeyboard () |
| static Qt::Alignment | visualAlignment (Qt::LayoutDirection direction, Qt::Alignment alignment) |
| static QGuiApplicationPrivate * | instance () |
| static void | showModalWindow (QWindow *window) |
| static void | hideModalWindow (QWindow *window) |
| static void | updateBlockedStatus (QWindow *window) |
| static qsizetype | popupCount () |
| static QWindow * | activePopupWindow () |
| static void | activatePopup (QWindow *popup) |
| static bool | closePopup (QWindow *popup) |
| static bool | closeAllPopups () |
| | Returns true if there are no more open popups.
|
| static TabletPointData & | tabletDevicePoint (qint64 deviceId) |
| static QInputDeviceManager * | inputDeviceManager () |
| static void | applyWindowGeometrySpecificationTo (QWindow *window) |
| static void | setApplicationState (Qt::ApplicationState state, bool forcePropagate=false) |
| static void | resetCachedDevicePixelRatio () |
| static void | updatePalette () |
| static QEvent::Type | contextMenuEventType () |
| static QThreadPool * | qtGuiThreadPool () |
| | Returns the QThreadPool instance for Qt Gui.
|
| static void | initLocale () |
| static bool | checkInstance (const char *method) |
| static bool | sendThroughObjectEventFilters (QObject *, QEvent *) |
| static bool | notify_helper (QObject *, QEvent *) |
| static void | setEventSpontaneous (QEvent *e, bool spontaneous) |
| static void | removePostedEvent (QEvent *) |
| | Removes event from the queue of posted events, and emits a warning message if appropriate.
|
| static QThread * | mainThread () |
| static void | sendPostedEvents (QObject *receiver, int event_type, QThreadData *datadata) |
| static void | checkReceiverThread (QObject *receiver, const char *caller) |
| static QPostEventListLocker | lockThreadPostEventList (QObject *objectobject) |
| static void | destroyEventDispatcher () |
| static bool | isTranslatorInstalled (QTranslator *translator) |
| static bool | testAttribute (uint flag) |
| static bool | removeConnection (Connection *cc) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| static void | deleteInOwnThread (QObject *objectobject) |
| template<typename Func1, typename Func2> |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType typetype=Qt::AutoConnection) |
| template<typename Func1, typename Func2> |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int typetype, const int *typestypes, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
\inmodule QtGui
Definition at line 64 of file qguiapplication_p.h.
| bool QGuiApplicationPrivate::handleQuitEvent |
( |
| ) |
|
|
overridevirtual |
Handles a QEvent::Quit sent to the application.
Subclasses can override this to perform additional work, such as closing windows, before calling the base implementation, which exits the event loop.
Returns true if the quit was accepted, or false to reject it, in which case the event will be ignored.
Reimplemented from QCoreApplicationPrivate.
Definition at line 4009 of file qguiapplication.cpp.