Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGuiApplicationPrivate Class Reference

#include <qguiapplication_p.h>

+ Inheritance diagram for QGuiApplicationPrivate:
+ Collaboration diagram for QGuiApplicationPrivate:

Classes

struct  QLastCursorPosition
 
struct  SynthesizedMouseData
 
struct  TabletPointData
 

Public Member Functions

 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
 
void maybeLastWindowClosed ()
 
bool lastWindowClosed () const
 
QPixmap getPixmapCursor (Qt::CursorShape cshape)
 
void _q_updateFocusObject (QObject *object)
 
virtual Qt::WindowModality defaultModality () const
 
virtual bool windowNeverBlocked (QWindow *window) const
 
bool isWindowBlocked (QWindow *window, QWindow **blockingWindow=nullptr) const
 
void commitData ()
 
void saveState ()
 
const QColorTrcLutcolorProfileForA8Text ()
 
const QColorTrcLutcolorProfileForA32Text ()
 
virtual QPixmap applyQIconStyleHelper (QIcon::Mode, const QPixmap &basePixmap) const
 
virtual void notifyWindowIconChanged ()
 
virtual QActionPrivatecreateActionPrivate () const
 
virtual QShortcutPrivatecreateShortcutPrivate () const
 
- Public Member Functions inherited from QCoreApplicationPrivate
 QCoreApplicationPrivate (int &aargc, char **aargv)
 
 ~QCoreApplicationPrivate ()
 
void init ()
 
QString appName () const
 
QString appVersion () const
 
bool sendThroughApplicationEventFilters (QObject *, QEvent *)
 
virtual bool compressEvent (QEvent *event, QObject *receiver, QPostEventList *postedEvents)
 
void ref ()
 
void deref ()
 
void quitAutomatically ()
 
void cleanupThreadData ()
 
void execCleanup ()
 
void processCommandLineArguments ()
 
QString qmljsDebugArgumentsString () const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
void setObjectNameWithoutBindings (const QString &name)
 
 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 *c)
 
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::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
const QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static void captureGlobalModifierState (QEvent *e)
 
static QPlatformIntegrationplatformIntegration ()
 
static QPlatformThemeplatformTheme ()
 
static QAbstractEventDispatcherqt_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 *message, qintptr *result)
 
static bool sendQWindowEventToQPlatformWindow (QWindow *window, QEvent *event)
 
static bool maybeForwardEventToVirtualKeyboard (QEvent *e)
 
static bool isUsingVirtualKeyboard ()
 
static Qt::Alignment visualAlignment (Qt::LayoutDirection direction, Qt::Alignment alignment)
 
static QGuiApplicationPrivateinstance ()
 
static void showModalWindow (QWindow *window)
 
static void hideModalWindow (QWindow *window)
 
static void updateBlockedStatus (QWindow *window)
 
static qsizetype popupCount ()
 
static QWindowactivePopupWindow ()
 
static void activatePopup (QWindow *popup)
 
static bool closePopup (QWindow *popup)
 
static bool closeAllPopups ()
 Returns true if there are no more open popups.
 
static TabletPointDatatabletDevicePoint (qint64 deviceId)
 
static QInputDeviceManagerinputDeviceManager ()
 
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 QThreadPoolqtGuiThreadPool ()
 Returns the QThreadPool instance for Qt Gui.
 
- Static Public Member Functions inherited from QCoreApplicationPrivate
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 QThreadmainThread ()
 
static void sendPostedEvents (QObject *receiver, int event_type, QThreadData *data)
 
static void checkReceiverThread (QObject *receiver)
 
static QPostEventListLocker lockThreadPostEventList (QObject *object)
 
static bool isTranslatorInstalled (QTranslator *translator)
 
static bool testAttribute (uint flag)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
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 type=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 type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
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)
 

Public Attributes

QWindowList modalWindowList
 
QList< QCursorcursor_list
 
QInputMethodinputMethod
 
QString firstWindowTitle
 
QIcon forcedWindowIcon
 
QSessionManagersession_manager
 
bool is_session_restored
 
bool is_saving_session
 
QEvent::Type lastTouchType
 
QHash< QWindow *, SynthesizedMouseDatasynthesizedMousePoints
 
- Public Attributes inherited from QCoreApplicationPrivate
QAtomicInt quitLockRef
 
int & argc
 
char ** argv
 
Type application_type = Tty
 
bool in_exec = false
 
bool aboutToQuitEmitted = false
 
bool threadData_clean = false
 
QTranslatorList translators
 
QReadWriteLock translateMutex
 
QString cachedApplicationFilePath
 
QString qmljs_debug_arguments
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Static Public Attributes

static bool quitOnLastWindowClosed = true
 
static Qt::KeyboardModifiers modifier_buttons = Qt::NoModifier
 
static Qt::MouseButtons mouse_buttons = Qt::NoButton
 
static QPlatformIntegrationplatform_integration = nullptr
 
static QPlatformThemeplatform_theme = nullptr
 
static QIconapp_icon = nullptr
 
static QStringplatform_name = nullptr
 
static QStringdisplayName = nullptr
 
static QStringdesktopFileName = nullptr
 
static Qt::MouseButton mousePressButton = Qt::NoButton
 
static struct QGuiApplicationPrivate::QLastCursorPosition lastCursorPosition
 
static QWindowcurrentMouseWindow = nullptr
 
static QWindowcurrentMousePressWindow = nullptr
 
static Qt::ApplicationState applicationState = Qt::ApplicationInactive
 
static Qt::HighDpiScaleFactorRoundingPolicy highDpiScaleFactorRoundingPolicy
 
static QPointer< QWindowcurrentDragWindow
 
static QList< TabletPointDatatabletDevicePoints
 
static QClipboardqt_clipboard = nullptr
 
static QPaletteapp_pal = nullptr
 
static QWindowList window_list
 
static QWindowList popup_list
 
static const QWindowactive_popup_on_press = nullptr
 
static QWindowfocus_window = nullptr
 
static QList< QScreen * > screen_list
 
static QFontapp_font = nullptr
 
static QString styleOverride
 
static QStyleHintsstyleHints = nullptr
 
static bool obey_desktop_settings = true
 
static bool popup_closed_on_press = false
 
static QList< QObject * > generic_plugin_list
 
- Static Public Attributes inherited from QCoreApplicationPrivate
static QBasicAtomicPointer< QThreadtheMainThread = Q_BASIC_ATOMIC_INITIALIZER(nullptr)
 
static QBasicAtomicPointer< voidtheMainThreadId = Q_BASIC_ATOMIC_INITIALIZER(nullptr)
 
static QAbstractEventDispatchereventDispatcher = nullptr
 
static bool is_app_running = false
 
static bool is_app_closing = false
 
static bool setuidAllowed = false
 
static uint attribs
 

Protected Member Functions

virtual void handleThemeChanged ()
 
virtual QPalette basePalette () const
 
virtual void handlePaletteChanged (const char *className=nullptr)
 

Static Protected Member Functions

static bool setPalette (const QPalette &palette)
 

Friends

class QDragManager
 
class QWindowPrivate
 

Additional Inherited Members

- Public Types inherited from QCoreApplicationPrivate
enum  Type : quint8 { Tty , Gui }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Detailed Description

Definition at line 62 of file qguiapplication_p.h.

Constructor & Destructor Documentation

◆ QGuiApplicationPrivate()

QGuiApplicationPrivate::QGuiApplicationPrivate ( int & argc,
char ** argv )

Definition at line 727 of file qguiapplication.cpp.

◆ ~QGuiApplicationPrivate()

QGuiApplicationPrivate::~QGuiApplicationPrivate ( )

Definition at line 1799 of file qguiapplication.cpp.

Member Function Documentation

◆ _q_updateFocusObject()

void QGuiApplicationPrivate::_q_updateFocusObject ( QObject * object)

Definition at line 4536 of file qguiapplication.cpp.

◆ activatePopup()

void QGuiApplicationPrivate::activatePopup ( QWindow * popup)
static

Definition at line 994 of file qguiapplication.cpp.

◆ activePopupWindow()

QWindow * QGuiApplicationPrivate::activePopupWindow ( )
static

Definition at line 987 of file qguiapplication.cpp.

◆ applyQIconStyleHelper()

virtual QPixmap QGuiApplicationPrivate::applyQIconStyleHelper ( QIcon::Mode ,
const QPixmap & basePixmap ) const
inlinevirtual

Reimplemented in QApplicationPrivate.

Definition at line 322 of file qguiapplication_p.h.

◆ applyWindowGeometrySpecificationTo()

void QGuiApplicationPrivate::applyWindowGeometrySpecificationTo ( QWindow * window)
static

Definition at line 3727 of file qguiapplication.cpp.

◆ basePalette()

QPalette QGuiApplicationPrivate::basePalette ( ) const
protectedvirtual

Reimplemented in QApplicationPrivate.

Definition at line 3701 of file qguiapplication.cpp.

◆ canQuitAutomatically()

bool QGuiApplicationPrivate::canQuitAutomatically ( )
overridevirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 3931 of file qguiapplication.cpp.

◆ captureGlobalModifierState()

void QGuiApplicationPrivate::captureGlobalModifierState ( QEvent * e)
static

Definition at line 1989 of file qguiapplication.cpp.

◆ closeAllPopups()

bool QGuiApplicationPrivate::closeAllPopups ( )
static

Returns true if there are no more open popups.

Definition at line 1013 of file qguiapplication.cpp.

◆ closePopup()

bool QGuiApplicationPrivate::closePopup ( QWindow * popup)
static

Definition at line 1003 of file qguiapplication.cpp.

◆ colorProfileForA32Text()

const QColorTrcLut * QGuiApplicationPrivate::colorProfileForA32Text ( )

Definition at line 4529 of file qguiapplication.cpp.

◆ colorProfileForA8Text()

const QColorTrcLut * QGuiApplicationPrivate::colorProfileForA8Text ( )

Definition at line 4518 of file qguiapplication.cpp.

◆ commitData()

void QGuiApplicationPrivate::commitData ( )

Definition at line 4181 of file qguiapplication.cpp.

◆ contextMenuEventType()

QEvent::Type QGuiApplicationPrivate::contextMenuEventType ( )
static

Definition at line 3644 of file qguiapplication.cpp.

◆ createActionPrivate()

QActionPrivate * QGuiApplicationPrivate::createActionPrivate ( ) const
virtual

Reimplemented in QApplicationPrivate.

Definition at line 41 of file qaction.cpp.

◆ createEventDispatcher()

void QGuiApplicationPrivate::createEventDispatcher ( )
overridevirtual

Called from QCoreApplication::init()

Responsible for creating an event dispatcher when QCoreApplication decides that it needs one (because a custom one has not been set).

Reimplemented from QCoreApplicationPrivate.

Definition at line 1605 of file qguiapplication.cpp.

◆ createPlatformIntegration()

void QGuiApplicationPrivate::createPlatformIntegration ( )

Definition at line 1490 of file qguiapplication.cpp.

◆ createShortcutPrivate()

QShortcutPrivate * QGuiApplicationPrivate::createShortcutPrivate ( ) const
virtual

Reimplemented in QApplicationPrivate.

Definition at line 149 of file qshortcut.cpp.

◆ defaultModality()

Qt::WindowModality QGuiApplicationPrivate::defaultModality ( ) const
virtual

Reimplemented in QApplicationPrivate.

Definition at line 925 of file qguiapplication.cpp.

◆ eventDispatcherReady()

void QGuiApplicationPrivate::eventDispatcherReady ( )
overridevirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 1622 of file qguiapplication.cpp.

◆ getPixmapCursor()

QPixmap QGuiApplicationPrivate::getPixmapCursor ( Qt::CursorShape cshape)

Definition at line 4496 of file qguiapplication.cpp.

◆ handlePaletteChanged()

void QGuiApplicationPrivate::handlePaletteChanged ( const char * className = nullptr)
protectedvirtual

Reimplemented in QApplicationPrivate.

Definition at line 3707 of file qguiapplication.cpp.

◆ handleThemeChanged()

void QGuiApplicationPrivate::handleThemeChanged ( )
protectedvirtual

Reimplemented in QApplicationPrivate.

Definition at line 2821 of file qguiapplication.cpp.

◆ hideModalWindow()

void QGuiApplicationPrivate::hideModalWindow ( QWindow * window)
static

Definition at line 915 of file qguiapplication.cpp.

◆ init()

void QGuiApplicationPrivate::init ( )

◆ inputDeviceManager()

QInputDeviceManager * QGuiApplicationPrivate::inputDeviceManager ( )
static

Definition at line 4558 of file qguiapplication.cpp.

◆ instance()

static QGuiApplicationPrivate * QGuiApplicationPrivate::instance ( )
inlinestatic

Definition at line 191 of file qguiapplication_p.h.

◆ isUsingVirtualKeyboard()

bool QGuiApplicationPrivate::isUsingVirtualKeyboard ( )
static

Definition at line 2145 of file qguiapplication.cpp.

◆ isWindowBlocked()

bool QGuiApplicationPrivate::isWindowBlocked ( QWindow * window,
QWindow ** blockingWindow = nullptr ) const

Definition at line 941 of file qguiapplication.cpp.

◆ lastWindowClosed()

bool QGuiApplicationPrivate::lastWindowClosed ( ) const

Definition at line 3917 of file qguiapplication.cpp.

◆ maybeForwardEventToVirtualKeyboard()

bool QGuiApplicationPrivate::maybeForwardEventToVirtualKeyboard ( QEvent * e)
static

Definition at line 2152 of file qguiapplication.cpp.

◆ maybeLastWindowClosed()

void QGuiApplicationPrivate::maybeLastWindowClosed ( )

Definition at line 3892 of file qguiapplication.cpp.

◆ notifyActiveWindowChange()

void QGuiApplicationPrivate::notifyActiveWindowChange ( QWindow * previous)
virtual

Reimplemented in QApplicationPrivate.

Definition at line 3818 of file qguiapplication.cpp.

◆ notifyLayoutDirectionChange()

void QGuiApplicationPrivate::notifyLayoutDirectionChange ( )
virtual

Reimplemented in QApplicationPrivate.

Definition at line 3809 of file qguiapplication.cpp.

◆ notifyWindowIconChanged()

void QGuiApplicationPrivate::notifyWindowIconChanged ( )
virtual

Reimplemented in QApplicationPrivate.

Definition at line 3853 of file qguiapplication.cpp.

◆ platformIntegration()

static QPlatformIntegration * QGuiApplicationPrivate::platformIntegration ( )
inlinestatic

Definition at line 94 of file qguiapplication_p.h.

◆ platformTheme()

static QPlatformTheme * QGuiApplicationPrivate::platformTheme ( )
inlinestatic

Definition at line 99 of file qguiapplication_p.h.

◆ popupCount()

static qsizetype QGuiApplicationPrivate::popupCount ( )
inlinestatic

Definition at line 206 of file qguiapplication_p.h.

◆ processApplicationTermination()

void QGuiApplicationPrivate::processApplicationTermination ( QWindowSystemInterfacePrivate::WindowSystemEvent * e)
static

Definition at line 3953 of file qguiapplication.cpp.

◆ processCloseEvent()

void QGuiApplicationPrivate::processCloseEvent ( QWindowSystemInterfacePrivate::CloseEvent * e)
static

Definition at line 2892 of file qguiapplication.cpp.

◆ processContextMenuEvent()

void QGuiApplicationPrivate::processContextMenuEvent ( QWindowSystemInterfacePrivate::ContextMenuEvent * e)
static

Definition at line 3084 of file qguiapplication.cpp.

◆ processEnterEvent()

void QGuiApplicationPrivate::processEnterEvent ( QWindowSystemInterfacePrivate::EnterEvent * e)
static

Definition at line 2640 of file qguiapplication.cpp.

◆ processExposeEvent()

void QGuiApplicationPrivate::processExposeEvent ( QWindowSystemInterfacePrivate::ExposeEvent * e)
static

Definition at line 3424 of file qguiapplication.cpp.

◆ processFileOpenEvent()

void QGuiApplicationPrivate::processFileOpenEvent ( QWindowSystemInterfacePrivate::FileOpenEvent * e)
static

Definition at line 2909 of file qguiapplication.cpp.

◆ processFocusWindowEvent()

void QGuiApplicationPrivate::processFocusWindowEvent ( QWindowSystemInterfacePrivate::FocusWindowEvent * e)
static

Definition at line 2682 of file qguiapplication.cpp.

◆ processGeometryChangeEvent()

void QGuiApplicationPrivate::processGeometryChangeEvent ( QWindowSystemInterfacePrivate::GeometryChangeEvent * e)
static

Definition at line 2840 of file qguiapplication.cpp.

◆ processGestureEvent()

void QGuiApplicationPrivate::processGestureEvent ( QWindowSystemInterfacePrivate::GestureEvent * e)
static

Definition at line 3056 of file qguiapplication.cpp.

◆ processKeyEvent()

void QGuiApplicationPrivate::processKeyEvent ( QWindowSystemInterfacePrivate::KeyEvent * e)
static

Definition at line 2568 of file qguiapplication.cpp.

◆ processLeaveEvent()

void QGuiApplicationPrivate::processLeaveEvent ( QWindowSystemInterfacePrivate::LeaveEvent * e)
static

Definition at line 2667 of file qguiapplication.cpp.

◆ processMouseEvent()

void QGuiApplicationPrivate::processMouseEvent ( QWindowSystemInterfacePrivate::MouseEvent * e)
static

History is silent on why Qt splits mouse events that change position and button state at the same time. We believe that this was done to emulate mouse behavior on touch screens. If mouse tracking is enabled, we will get move events before the button is pressed. A touch panel does not generally give move events when not pressed, so without event splitting code path we would only see a press in a new location without any intervening moves. This could confuse code that is written for a real mouse. The same is true for mouse release events that change position, see tst_QWidget::touchEventSynthesizedMouseEvent() and tst_QWindow::generatedMouseMove() auto tests.

Definition at line 2334 of file qguiapplication.cpp.

◆ processNativeEvent()

bool QGuiApplicationPrivate::processNativeEvent ( QWindow * window,
const QByteArray & eventType,
void * message,
qintptr * result )
static

Definition at line 2140 of file qguiapplication.cpp.

◆ processPaintEvent()

void QGuiApplicationPrivate::processPaintEvent ( QWindowSystemInterfacePrivate::PaintEvent * e)
static

Definition at line 3496 of file qguiapplication.cpp.

◆ processPlatformPanelEvent()

void QGuiApplicationPrivate::processPlatformPanelEvent ( QWindowSystemInterfacePrivate::PlatformPanelEvent * e)
static

Definition at line 3069 of file qguiapplication.cpp.

◆ processSafeAreaMarginsChangedEvent()

void QGuiApplicationPrivate::processSafeAreaMarginsChangedEvent ( QWindowSystemInterfacePrivate::SafeAreaMarginsChangedEvent * e)
static

Definition at line 2799 of file qguiapplication.cpp.

◆ processScreenGeometryChange()

void QGuiApplicationPrivate::processScreenGeometryChange ( QWindowSystemInterfacePrivate::ScreenGeometryEvent * e)
static

Definition at line 3355 of file qguiapplication.cpp.

◆ processScreenLogicalDotsPerInchChange()

void QGuiApplicationPrivate::processScreenLogicalDotsPerInchChange ( QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInchEvent * e)
static

Definition at line 3379 of file qguiapplication.cpp.

◆ processScreenOrientationChange()

void QGuiApplicationPrivate::processScreenOrientationChange ( QWindowSystemInterfacePrivate::ScreenOrientationEvent * e)
static

Definition at line 3337 of file qguiapplication.cpp.

◆ processScreenRefreshRateChange()

void QGuiApplicationPrivate::processScreenRefreshRateChange ( QWindowSystemInterfacePrivate::ScreenRefreshRateEvent * e)
static

Definition at line 3404 of file qguiapplication.cpp.

◆ processTabletEnterProximityEvent()

void QGuiApplicationPrivate::processTabletEnterProximityEvent ( QWindowSystemInterfacePrivate::TabletEnterProximityEvent * e)
static

Definition at line 3027 of file qguiapplication.cpp.

◆ processTabletEvent()

void QGuiApplicationPrivate::processTabletEvent ( QWindowSystemInterfacePrivate::TabletEvent * e)
static

Definition at line 2930 of file qguiapplication.cpp.

◆ processTabletLeaveProximityEvent()

void QGuiApplicationPrivate::processTabletLeaveProximityEvent ( QWindowSystemInterfacePrivate::TabletLeaveProximityEvent * e)
static

Definition at line 3041 of file qguiapplication.cpp.

◆ processThemeChanged()

void QGuiApplicationPrivate::processThemeChanged ( QWindowSystemInterfacePrivate::ThemeChangeEvent * tce)
static

Definition at line 2810 of file qguiapplication.cpp.

◆ processTouchEvent()

void QGuiApplicationPrivate::processTouchEvent ( QWindowSystemInterfacePrivate::TouchEvent * e)
static

Definition at line 3097 of file qguiapplication.cpp.

◆ processWheelEvent()

void QGuiApplicationPrivate::processWheelEvent ( QWindowSystemInterfacePrivate::WheelEvent * e)
static

Definition at line 2533 of file qguiapplication.cpp.

◆ processWindowDevicePixelRatioChangedEvent()

void QGuiApplicationPrivate::processWindowDevicePixelRatioChangedEvent ( QWindowSystemInterfacePrivate::WindowDevicePixelRatioChangedEvent * e)
static

Definition at line 2792 of file qguiapplication.cpp.

◆ processWindowScreenChangedEvent()

void QGuiApplicationPrivate::processWindowScreenChangedEvent ( QWindowSystemInterfacePrivate::WindowScreenChangedEvent * e)
static

Definition at line 2775 of file qguiapplication.cpp.

◆ processWindowStateChangedEvent()

void QGuiApplicationPrivate::processWindowStateChangedEvent ( QWindowSystemInterfacePrivate::WindowStateChangedEvent * e)
static

Definition at line 2757 of file qguiapplication.cpp.

◆ processWindowSystemEvent()

static void QGuiApplicationPrivate::processWindowSystemEvent ( QWindowSystemInterfacePrivate::WindowSystemEvent * e)
static

◆ qt_qpa_core_dispatcher()

static QAbstractEventDispatcher * QGuiApplicationPrivate::qt_qpa_core_dispatcher ( )
inlinestatic

Definition at line 102 of file qguiapplication_p.h.

◆ qtGuiThreadPool()

QThreadPool * QGuiApplicationPrivate::qtGuiThreadPool ( )
static

Returns the QThreadPool instance for Qt Gui.

Definition at line 4572 of file qguiapplication.cpp.

◆ quit()

void QGuiApplicationPrivate::quit ( )
overridevirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 3945 of file qguiapplication.cpp.

◆ resetCachedDevicePixelRatio()

void QGuiApplicationPrivate::resetCachedDevicePixelRatio ( )
static

Definition at line 1212 of file qguiapplication.cpp.

◆ saveState()

void QGuiApplicationPrivate::saveState ( )

Definition at line 4190 of file qguiapplication.cpp.

◆ sendQWindowEventToQPlatformWindow()

bool QGuiApplicationPrivate::sendQWindowEventToQPlatformWindow ( QWindow * window,
QEvent * event )
static

Definition at line 2126 of file qguiapplication.cpp.

◆ setApplicationState()

void QGuiApplicationPrivate::setApplicationState ( Qt::ApplicationState state,
bool forcePropagate = false )
static

Definition at line 4027 of file qguiapplication.cpp.

◆ setPalette()

bool QGuiApplicationPrivate::setPalette ( const QPalette & palette)
staticprotected

Definition at line 3673 of file qguiapplication.cpp.

◆ showModalWindow()

void QGuiApplicationPrivate::showModalWindow ( QWindow * window)
static

Definition at line 890 of file qguiapplication.cpp.

◆ tabletDevicePoint()

QGuiApplicationPrivate::TabletPointData & QGuiApplicationPrivate::tabletDevicePoint ( qint64 deviceId)
static

Definition at line 2918 of file qguiapplication.cpp.

◆ updateBlockedStatus()

void QGuiApplicationPrivate::updateBlockedStatus ( QWindow * window)
static

Definition at line 873 of file qguiapplication.cpp.

◆ updateFilteredScreenOrientation()

static void QGuiApplicationPrivate::updateFilteredScreenOrientation ( QScreen * screen)
static

◆ updatePalette()

void QGuiApplicationPrivate::updatePalette ( )
static

Definition at line 3634 of file qguiapplication.cpp.

◆ visualAlignment()

static Qt::Alignment QGuiApplicationPrivate::visualAlignment ( Qt::LayoutDirection direction,
Qt::Alignment alignment )
inlinestatic

Definition at line 175 of file qguiapplication_p.h.

◆ windowNeverBlocked()

bool QGuiApplicationPrivate::windowNeverBlocked ( QWindow * window) const
virtual

Reimplemented in QApplicationPrivate.

Definition at line 930 of file qguiapplication.cpp.

Friends And Related Symbol Documentation

◆ QDragManager

friend class QDragManager
friend

Definition at line 359 of file qguiapplication_p.h.

◆ QWindowPrivate

friend class QWindowPrivate
friend

Definition at line 360 of file qguiapplication_p.h.

Member Data Documentation

◆ active_popup_on_press

Q_CONSTINIT const QWindow * QGuiApplicationPrivate::active_popup_on_press = nullptr
static

Definition at line 274 of file qguiapplication_p.h.

◆ app_font

Q_CONSTINIT QFont * QGuiApplicationPrivate::app_font = nullptr
static

Definition at line 282 of file qguiapplication_p.h.

◆ app_icon

Q_CONSTINIT QIcon * QGuiApplicationPrivate::app_icon = nullptr
static

Definition at line 193 of file qguiapplication_p.h.

◆ app_pal

Q_CONSTINIT QPalette * QGuiApplicationPrivate::app_pal = nullptr
static

Definition at line 270 of file qguiapplication_p.h.

◆ applicationState

Q_CONSTINIT Qt::ApplicationState QGuiApplicationPrivate::applicationState = Qt::ApplicationInactive
static

Definition at line 252 of file qguiapplication_p.h.

◆ currentDragWindow

Q_CONSTINIT QPointer< QWindow > QGuiApplicationPrivate::currentDragWindow
static

Definition at line 254 of file qguiapplication_p.h.

◆ currentMousePressWindow

Q_CONSTINIT QWindow * QGuiApplicationPrivate::currentMousePressWindow = nullptr
static

Definition at line 251 of file qguiapplication_p.h.

◆ currentMouseWindow

Q_CONSTINIT QWindow * QGuiApplicationPrivate::currentMouseWindow = nullptr
static

Definition at line 250 of file qguiapplication_p.h.

◆ cursor_list

QList<QCursor> QGuiApplicationPrivate::cursor_list

Definition at line 278 of file qguiapplication_p.h.

◆ desktopFileName

Q_CONSTINIT QString * QGuiApplicationPrivate::desktopFileName = nullptr
static

Definition at line 196 of file qguiapplication_p.h.

◆ displayName

Q_CONSTINIT QString * QGuiApplicationPrivate::displayName = nullptr
static

Definition at line 195 of file qguiapplication_p.h.

◆ firstWindowTitle

QString QGuiApplicationPrivate::firstWindowTitle

Definition at line 290 of file qguiapplication_p.h.

◆ focus_window

Q_CONSTINIT QWindow * QGuiApplicationPrivate::focus_window = nullptr
static

Definition at line 275 of file qguiapplication_p.h.

◆ forcedWindowIcon

QIcon QGuiApplicationPrivate::forcedWindowIcon

Definition at line 291 of file qguiapplication_p.h.

◆ generic_plugin_list

Q_CONSTINIT QList< QObject * > QGuiApplicationPrivate::generic_plugin_list
static

Definition at line 293 of file qguiapplication_p.h.

◆ highDpiScaleFactorRoundingPolicy

Q_CONSTINIT Qt::HighDpiScaleFactorRoundingPolicy QGuiApplicationPrivate::highDpiScaleFactorRoundingPolicy
static

◆ inputMethod

QInputMethod* QGuiApplicationPrivate::inputMethod

Definition at line 288 of file qguiapplication_p.h.

◆ is_saving_session

bool QGuiApplicationPrivate::is_saving_session

Definition at line 301 of file qguiapplication_p.h.

◆ is_session_restored

bool QGuiApplicationPrivate::is_session_restored

Definition at line 300 of file qguiapplication_p.h.

◆ lastCursorPosition

Q_CONSTINIT QGuiApplicationPrivate::QLastCursorPosition QGuiApplicationPrivate::lastCursorPosition
static

Definition at line 134 of file qguiapplication.cpp.

◆ lastTouchType

QEvent::Type QGuiApplicationPrivate::lastTouchType

Definition at line 306 of file qguiapplication_p.h.

◆ modalWindowList

QWindowList QGuiApplicationPrivate::modalWindowList

Definition at line 198 of file qguiapplication_p.h.

◆ modifier_buttons

Q_CONSTINIT Qt::KeyboardModifiers QGuiApplicationPrivate::modifier_buttons = Qt::NoModifier
static

Definition at line 89 of file qguiapplication_p.h.

◆ mouse_buttons

Q_CONSTINIT Qt::MouseButtons QGuiApplicationPrivate::mouse_buttons = Qt::NoButton
static

Definition at line 90 of file qguiapplication_p.h.

◆ mousePressButton

Q_CONSTINIT Qt::MouseButton QGuiApplicationPrivate::mousePressButton = Qt::NoButton
static

Definition at line 212 of file qguiapplication_p.h.

◆ obey_desktop_settings

Q_CONSTINIT bool QGuiApplicationPrivate::obey_desktop_settings = true
static

Definition at line 286 of file qguiapplication_p.h.

◆ platform_integration

Q_CONSTINIT QPlatformIntegration * QGuiApplicationPrivate::platform_integration = nullptr
static

Definition at line 92 of file qguiapplication_p.h.

◆ platform_name

Q_CONSTINIT QString * QGuiApplicationPrivate::platform_name = nullptr
static

Definition at line 194 of file qguiapplication_p.h.

◆ platform_theme

Q_CONSTINIT QPlatformTheme * QGuiApplicationPrivate::platform_theme = nullptr
static

Definition at line 97 of file qguiapplication_p.h.

◆ popup_closed_on_press

Q_CONSTINIT bool QGuiApplicationPrivate::popup_closed_on_press = false
static

Definition at line 287 of file qguiapplication_p.h.

◆ popup_list

Q_CONSTINIT QWindowList QGuiApplicationPrivate::popup_list
static

Definition at line 273 of file qguiapplication_p.h.

◆ qt_clipboard

Q_CONSTINIT QClipboard * QGuiApplicationPrivate::qt_clipboard = nullptr
static

Definition at line 267 of file qguiapplication_p.h.

◆ quitOnLastWindowClosed

Q_CONSTINIT bool QGuiApplicationPrivate::quitOnLastWindowClosed = true
static

Definition at line 86 of file qguiapplication_p.h.

◆ screen_list

Q_CONSTINIT QList< QScreen * > QGuiApplicationPrivate::screen_list
static

Definition at line 280 of file qguiapplication_p.h.

◆ session_manager

QSessionManager* QGuiApplicationPrivate::session_manager

Definition at line 299 of file qguiapplication_p.h.

◆ styleHints

Q_CONSTINIT QStyleHints * QGuiApplicationPrivate::styleHints = nullptr
static

Definition at line 285 of file qguiapplication_p.h.

◆ styleOverride

Q_CONSTINIT QString QGuiApplicationPrivate::styleOverride
static

Definition at line 284 of file qguiapplication_p.h.

◆ synthesizedMousePoints

QHash<QWindow *, SynthesizedMouseData> QGuiApplicationPrivate::synthesizedMousePoints

Definition at line 314 of file qguiapplication_p.h.

◆ tabletDevicePoints

Q_CONSTINIT QList< QGuiApplicationPrivate::TabletPointData > QGuiApplicationPrivate::tabletDevicePoints
static

Definition at line 263 of file qguiapplication_p.h.

◆ window_list

Q_CONSTINIT QWindowList QGuiApplicationPrivate::window_list
static

Definition at line 272 of file qguiapplication_p.h.


The documentation for this class was generated from the following files: