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
QApplicationPrivate Class Reference

\inmodule QtWidgets More...

#include <qapplication_p.h>

Inheritance diagram for QApplicationPrivate:
Collaboration diagram for QApplicationPrivate:

Public Types

enum  ImplicitTouchGrabMode { GrabAcceptedPoints , GrabAllPoints }
using PaletteHash = QHash<QByteArray, QPalette>
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>

Public Member Functions

 QApplicationPrivate (int &argc, char **argv)
 ~QApplicationPrivate ()
virtual void notifyLayoutDirectionChange () override
virtual void notifyActiveWindowChange (QWindow *) override
void createEventDispatcher () override
void notifyWindowIconChanged () override
bool compressEvent (QEvent *event, QObject *receiver, QPostEventList *postedEvents) final
QActionPrivate * createActionPrivate () const override
QShortcutPrivate * createShortcutPrivate () const override
Qt::WindowModality defaultModality () const override
bool windowNeverBlocked (QWindow *window) const override
bool notify_helper (QObject *receiver, QEvent *e)
void init ()
void initialize ()
 Initializes the QApplication object, called from the constructors.
void process_cmdline ()
void closePopup (QWidget *popup)
void openPopup (QWidget *popup)
void sendSyntheticEnterLeave (QWidget *widget)
void initializeMultitouch ()
void initializeMultitouch_sys ()
void cleanupMultitouch ()
void cleanupMultitouch_sys ()
QWidget * findClosestTouchPointTarget (const QPointingDevice *device, const QEventPoint &touchPoint)
void appendTouchPoint (const QEventPoint &touchPoint)
void removeTouchPoint (int touchPointId)
void activateImplicitTouchGrab (QWidget *widget, QTouchEvent *touchBeginEvent, ImplicitTouchGrabMode grabMode=GrabAcceptedPoints)
QPixmap applyQIconStyleHelper (QIcon::Mode mode, const QPixmap &base) const override
Public Member Functions inherited from QGuiApplicationPrivate
 QGuiApplicationPrivate (int &argc, char **argv)
 ~QGuiApplicationPrivate ()
void init ()
void createPlatformIntegration ()
void createEventDispatcher () override
 Called from QCoreApplication::init().
void eventDispatcherReady () override
bool canQuitAutomatically () override
void quit () override
void maybeLastWindowClosed ()
bool lastWindowClosed () const
QPixmap getPixmapCursor (Qt::CursorShape cshape)
void _q_updateFocusObject (QObject *object)
bool isWindowBlocked (QWindow *window, QWindow **blockingWindow=nullptr) const
void commitData ()
void saveState ()
const QColorTrcLut * colorProfileForA8Text ()
const QColorTrcLut * colorProfileForA32Text ()
void _q_updatePrimaryScreenDpis ()
Public Member Functions inherited from QCoreApplicationPrivate
 QCoreApplicationPrivate (int &aargc, char **aargv)
 ~QCoreApplicationPrivate ()
void init ()
QString appName () const
QString appVersion () const
bool sendThroughApplicationEventFilters (QObject *, QEvent *)
void ref ()
void deref ()
void quitAutomatically ()
void cleanupThreadData ()
void execCleanup ()
void processCommandLineArguments ()
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::QPropertyAdaptorSlotObject * getPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObject * dynamicMetaObject () const

Static Public Member Functions

static QString desktopStyleKey ()
static void dispatchEnterLeave (QWidget *enter, QWidget *leave, const QPointF &globalPosF)
static QWidget * desktop ()
static bool isBlockedByModal (QWidget *widget)
static bool modalState ()
static bool tryModalHelper (QWidget *widget, QWidget **rettop=nullptr)
static void setActiveWindow (QWidget *act)
static bool inPopupMode ()
static void setFocusWidget (QWidget *focus, Qt::FocusReason reason)
static QWidget * focusNextPrevChild_helper (QWidget *toplevel, bool next, bool *wrappingOccurred=nullptr)
 internal Helper function that returns the new focus widget, but does not set the focus reason.
static void initializeWidgetPalettesFromTheme ()
static void initializeWidgetFontHash ()
static void setSystemFont (const QFont &font)
static QApplicationPrivate * instance ()
static QWidget * pickMouseReceiver (QWidget *candidate, const QPointF &windowPos, QPointF *pos, QEvent::Type type, Qt::MouseButtons buttons, QWidget *buttonDown, QWidget *alienWidget)
static bool sendMouseEvent (QWidget *receiver, QMouseEvent *event, QWidget *alienWidget, QWidget *native, QWidget **buttonDown, QPointer< QWidget > &lastMouseReceiver, bool spontaneous=true, bool onlyDispatchEnterLeave=false)
static QWindow * windowForWidget (const QWidget *widget)
static bool updateTouchPointsForWidget (QWidget *widget, QTouchEvent *touchEvent)
static bool translateRawTouchEvent (QWidget *widget, const QTouchEvent *touchEvent)
static void translateTouchCancel (const QPointingDevice *device, ulong timestamp)
Static Public Member Functions inherited from QGuiApplicationPrivate
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 *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 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 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 QThread * mainThread ()
static void sendPostedEvents (QObject *receiver, int event_type, QThreadData *data)
static void checkReceiverThread (QObject *receiver, const char *caller)
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 QObjectPrivate * get (QObject *o)
static const QObjectPrivate * get (const QObject *o)
static void deleteInOwnThread (QObject *object)
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

QBasicTimer toolTipWakeUp
QBasicTimer toolTipFallAsleep
QPoint toolTipPos
QPoint toolTipGlobalPos
QPointer< QWidget > toolTipWidget
QGestureManager * gestureManager
QWidget * gestureWidget
Public Attributes inherited from QGuiApplicationPrivate
QWindowList modalWindowList
QList< QCursor > cursor_list
QInputMethod * inputMethod
QString firstWindowTitle
QIcon forcedWindowIcon
qint64 badgeNumber = 0
QSessionManager * session_manager
bool is_session_restored
bool is_saving_session
QEvent::Type lastTouchType
QHash< QWindow *, SynthesizedMouseData > synthesizedMousePoints
bool ownGlobalShareContext = false
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
ExtraData * extraData
QAtomicPointer< QThreadData > threadData
QAtomicPointer< ConnectionData > connections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
Public Attributes inherited from QObjectData
QObject * q_ptr
QObject * parent
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
QDynamicMetaObjectData * metaObject
QBindingStorage bindingStorage

Static Public Attributes

static bool autoSipEnabled = true
static bool replayMousePress = false
static QSize app_strut
static QWidgetList * popupWidgets
static QStyle * app_style = nullptr
static QFont * sys_font = nullptr
static QFont * set_font = nullptr
static QWidget * main_widget = nullptr
static QWidget * focus_widget = nullptr
static QWidget * hidden_focus_widget = nullptr
static int enabledAnimations = QPlatformTheme::GeneralUiEffect
static bool widgetCount = false
static PaletteHash widgetPalettes
static QString styleSheet
static QPointer< QWidget > leaveAfterRelease = nullptr
Static Public Attributes inherited from QGuiApplicationPrivate
static bool quitOnLastWindowClosed = true
static Qt::KeyboardModifiers modifier_buttons = Qt::NoModifier
static Qt::MouseButtons mouse_buttons = Qt::NoButton
static QPlatformIntegration * platform_integration = nullptr
static QPlatformTheme * platform_theme = nullptr
static QIcon * app_icon = nullptr
static QString * platform_name = nullptr
static QString * displayName = nullptr
static QString * desktopFileName = nullptr
static Qt::MouseButton mousePressButton = Qt::NoButton
static struct QGuiApplicationPrivate::QLastCursorPosition lastCursorPosition
static QWindow * currentMouseWindow = nullptr
static QWindow * currentMousePressWindow = nullptr
static Qt::ApplicationState applicationState = Qt::ApplicationInactive
static Qt::HighDpiScaleFactorRoundingPolicy highDpiScaleFactorRoundingPolicy
static QPointer< QWindow > currentDragWindow
static QList< TabletPointData > tabletDevicePoints
static QClipboard * qt_clipboard = nullptr
static QPalette * app_pal = nullptr
static QWindowList window_list
static QWindowList popup_list
static const QWindow * active_popup_on_press = nullptr
static QWindow * focus_window = nullptr
static QList< QScreen * > screen_list
static QFont * app_font = nullptr
static QString styleOverride
static QStyleHints * styleHints = nullptr
static bool obey_desktop_settings = true
static bool popup_closed_on_press = false
static QList< QObject * > generic_plugin_list
static QBasicAtomicInt m_primaryScreenDpis = Q_BASIC_ATOMIC_INITIALIZER(0)
Static Public Attributes inherited from QCoreApplicationPrivate
static QBasicAtomicPointer< QThread > theMainThread = Q_BASIC_ATOMIC_INITIALIZER(nullptr)
static QBasicAtomicPointer< void > theMainThreadId = Q_BASIC_ATOMIC_INITIALIZER(nullptr)
static QAbstractEventDispatcher * eventDispatcher = nullptr
static bool is_app_running = false
static bool is_app_closing = false
static bool setuidAllowed = false
static uint attribs

Protected Member Functions

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

Additional Inherited Members

Static Protected Member Functions inherited from QGuiApplicationPrivate
static bool setPalette (const QPalette &palette)

Detailed Description

\inmodule QtWidgets

Definition at line 63 of file qapplication_p.h.

Member Typedef Documentation

◆ PaletteHash

Member Enumeration Documentation

◆ ImplicitTouchGrabMode

Enumerator
GrabAcceptedPoints 
GrabAllPoints 

Definition at line 203 of file qapplication_p.h.

Constructor & Destructor Documentation

◆ QApplicationPrivate()

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

Definition at line 132 of file qapplication.cpp.

◆ ~QApplicationPrivate()

QApplicationPrivate::~QApplicationPrivate ( )

Definition at line 146 of file qapplication.cpp.

Member Function Documentation

◆ activateImplicitTouchGrab()

void QApplicationPrivate::activateImplicitTouchGrab ( QWidget * widget,
QTouchEvent * touchBeginEvent,
ImplicitTouchGrabMode grabMode = GrabAcceptedPoints )

Definition at line 3745 of file qapplication.cpp.

◆ appendTouchPoint()

void QApplicationPrivate::appendTouchPoint ( const QEventPoint & touchPoint)

◆ applyQIconStyleHelper()

QPixmap QApplicationPrivate::applyQIconStyleHelper ( QIcon::Mode mode,
const QPixmap & base ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 3956 of file qapplication.cpp.

◆ basePalette()

QPalette QApplicationPrivate::basePalette ( ) const
overrideprotectedvirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1101 of file qapplication.cpp.

◆ cleanupMultitouch()

void QApplicationPrivate::cleanupMultitouch ( )

Definition at line 3702 of file qapplication.cpp.

◆ cleanupMultitouch_sys()

void QApplicationPrivate::cleanupMultitouch_sys ( )

Definition at line 3707 of file qapplication.cpp.

◆ closePopup()

void QApplicationPrivate::closePopup ( QWidget * popup)

Definition at line 3314 of file qapplication.cpp.

◆ compressEvent()

bool QApplicationPrivate::compressEvent ( QEvent * event,
QObject * receiver,
QPostEventList * postedEvents )
finalvirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 787 of file qapplication.cpp.

◆ createActionPrivate()

QT_BEGIN_NAMESPACE QActionPrivate * QApplicationPrivate::createActionPrivate ( ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 20 of file qaction_widgets.cpp.

◆ createEventDispatcher()

void QApplicationPrivate::createEventDispatcher ( )
overridevirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 152 of file qapplication.cpp.

◆ createShortcutPrivate()

QShortcutPrivate * QApplicationPrivate::createShortcutPrivate ( ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 324 of file qshortcut_widgets.cpp.

◆ defaultModality()

Qt::WindowModality QApplicationPrivate::defaultModality ( ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 2197 of file qapplication.cpp.

◆ desktop()

QWidget * QApplicationPrivate::desktop ( )
static

◆ desktopStyleKey()

QString QApplicationPrivate::desktopStyleKey ( )
static

Definition at line 1416 of file qapplication.cpp.

◆ dispatchEnterLeave()

void QApplicationPrivate::dispatchEnterLeave ( QWidget * enter,
QWidget * leave,
const QPointF & globalPosF )
static

Creates the proper Enter/Leave event when widget enter is entered and widget leave is left.

Definition at line 2044 of file qapplication.cpp.

◆ findClosestTouchPointTarget()

QWidget * QApplicationPrivate::findClosestTouchPointTarget ( const QPointingDevice * device,
const QEventPoint & touchPoint )

Check the target widgets of the active touchpoints of the given device, and choose the widget that is closest to any of the points. This widget will then get all the touchpoints, even if it would not otherwise be the target for some of them.

See also
translateRawTouchEvent()

Definition at line 3719 of file qapplication.cpp.

◆ focusNextPrevChild_helper()

QWidget * QApplicationPrivate::focusNextPrevChild_helper ( QWidget * toplevel,
bool next,
bool * wrappingOccurred = nullptr )
static

internal Helper function that returns the new focus widget, but does not set the focus reason.

Returns \nullptr if a new focus widget could not be found. Shared with QGraphicsProxyWidgetPrivate::findFocusChild()

Definition at line 1980 of file qapplication.cpp.

◆ handlePaletteChanged()

void QApplicationPrivate::handlePaletteChanged ( const char * className = nullptr)
overrideprotectedvirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1213 of file qapplication.cpp.

◆ handleThemeChanged()

void QApplicationPrivate::handleThemeChanged ( )
overrideprotectedvirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 3924 of file qapplication.cpp.

◆ init()

void QApplicationPrivate::init ( )

Definition at line 464 of file qapplication.cpp.

◆ initialize()

void QApplicationPrivate::initialize ( )

Initializes the QApplication object, called from the constructors.

Definition at line 511 of file qapplication.cpp.

◆ initializeMultitouch()

void QApplicationPrivate::initializeMultitouch ( )

Definition at line 3693 of file qapplication.cpp.

◆ initializeMultitouch_sys()

void QApplicationPrivate::initializeMultitouch_sys ( )

Definition at line 3698 of file qapplication.cpp.

◆ initializeWidgetFontHash()

void QApplicationPrivate::initializeWidgetFontHash ( )
static

Definition at line 555 of file qapplication.cpp.

◆ initializeWidgetPalettesFromTheme()

void QApplicationPrivate::initializeWidgetPalettesFromTheme ( )
static

Definition at line 1243 of file qapplication.cpp.

◆ inPopupMode()

bool QApplicationPrivate::inPopupMode ( )
static

Definition at line 3275 of file qapplication.cpp.

◆ instance()

QApplicationPrivate * QApplicationPrivate::instance ( )
inlinestatic

Definition at line 157 of file qapplication_p.h.

◆ isBlockedByModal()

bool QApplicationPrivate::isBlockedByModal ( QWidget * widget)
static

Returns true if widget is blocked by a modal window.

Definition at line 2190 of file qapplication.cpp.

◆ modalState()

bool QApplicationPrivate::modalState ( )
static

Definition at line 2254 of file qapplication.cpp.

◆ notify_helper()

bool QApplicationPrivate::notify_helper ( QObject * receiver,
QEvent * e )

Definition at line 3225 of file qapplication.cpp.

◆ notifyActiveWindowChange()

void QApplicationPrivate::notifyActiveWindowChange ( QWindow * previous)
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1940 of file qapplication.cpp.

◆ notifyLayoutDirectionChange()

void QApplicationPrivate::notifyLayoutDirectionChange ( )
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1777 of file qapplication.cpp.

◆ notifyWindowIconChanged()

void QApplicationPrivate::notifyWindowIconChanged ( )
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1437 of file qapplication.cpp.

◆ openPopup()

void QApplicationPrivate::openPopup ( QWidget * popup)

Definition at line 3364 of file qapplication.cpp.

◆ pickMouseReceiver()

QWidget * QApplicationPrivate::pickMouseReceiver ( QWidget * candidate,
const QPointF & windowPos,
QPointF * pos,
QEvent::Type type,
Qt::MouseButtons buttons,
QWidget * buttonDown,
QWidget * alienWidget )
static

Definition at line 2262 of file qapplication.cpp.

◆ process_cmdline()

void QApplicationPrivate::process_cmdline ( )

Definition at line 360 of file qapplication.cpp.

◆ removeTouchPoint()

void QApplicationPrivate::removeTouchPoint ( int touchPointId)

◆ sendMouseEvent()

bool QApplicationPrivate::sendMouseEvent ( QWidget * receiver,
QMouseEvent * event,
QWidget * alienWidget,
QWidget * native,
QWidget ** buttonDown,
QPointer< QWidget > & lastMouseReceiver,
bool spontaneous = true,
bool onlyDispatchEnterLeave = false )
static

Definition at line 2295 of file qapplication.cpp.

◆ sendSyntheticEnterLeave()

void QApplicationPrivate::sendSyntheticEnterLeave ( QWidget * widget)

Definition at line 2397 of file qapplication.cpp.

◆ setActiveWindow()

void QApplicationPrivate::setActiveWindow ( QWidget * act)
static

Definition at line 1823 of file qapplication.cpp.

◆ setFocusWidget()

void QApplicationPrivate::setFocusWidget ( QWidget * focus,
Qt::FocusReason reason )
static

Definition at line 1512 of file qapplication.cpp.

◆ setSystemFont()

void QApplicationPrivate::setSystemFont ( const QFont & font)
static

Definition at line 1403 of file qapplication.cpp.

◆ translateRawTouchEvent()

bool QApplicationPrivate::translateRawTouchEvent ( QWidget * widget,
const QTouchEvent * touchEvent )
static

Definition at line 3762 of file qapplication.cpp.

◆ translateTouchCancel()

void QApplicationPrivate::translateTouchCancel ( const QPointingDevice * device,
ulong timestamp )
static

Definition at line 3903 of file qapplication.cpp.

◆ tryModalHelper()

bool QApplicationPrivate::tryModalHelper ( QWidget * widget,
QWidget ** rettop = nullptr )
static

Called from qapplication_{platform}.cpp, returns true if the widget should accept the event.

Definition at line 2214 of file qapplication.cpp.

◆ updateTouchPointsForWidget()

bool QApplicationPrivate::updateTouchPointsForWidget ( QWidget * widget,
QTouchEvent * touchEvent )
static

Definition at line 3679 of file qapplication.cpp.

◆ windowForWidget()

QWindow * QApplicationPrivate::windowForWidget ( const QWidget * widget)
inlinestatic

Definition at line 171 of file qapplication_p.h.

◆ windowNeverBlocked()

bool QApplicationPrivate::windowNeverBlocked ( QWindow * window) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 2202 of file qapplication.cpp.

Member Data Documentation

◆ app_strut

QSize QApplicationPrivate::app_strut
static

Definition at line 123 of file qapplication_p.h.

◆ app_style

QStyle * QApplicationPrivate::app_style = nullptr
static

Definition at line 125 of file qapplication_p.h.

◆ autoSipEnabled

bool QApplicationPrivate::autoSipEnabled = true
static

Definition at line 73 of file qapplication_p.h.

◆ enabledAnimations

int QApplicationPrivate::enabledAnimations = QPlatformTheme::GeneralUiEffect
static

Definition at line 147 of file qapplication_p.h.

◆ focus_widget

QWidget * QApplicationPrivate::focus_widget = nullptr
static

Definition at line 141 of file qapplication_p.h.

◆ gestureManager

QGestureManager* QApplicationPrivate::gestureManager

Definition at line 191 of file qapplication_p.h.

◆ gestureWidget

QWidget* QApplicationPrivate::gestureWidget

Definition at line 192 of file qapplication_p.h.

◆ hidden_focus_widget

QWidget * QApplicationPrivate::hidden_focus_widget = nullptr
static

Definition at line 142 of file qapplication_p.h.

◆ leaveAfterRelease

QPointer< QWidget > QApplicationPrivate::leaveAfterRelease = nullptr
static

Definition at line 162 of file qapplication_p.h.

◆ main_widget

QWidget * QApplicationPrivate::main_widget = nullptr
static

Definition at line 140 of file qapplication_p.h.

◆ popupWidgets

QWidgetList* QApplicationPrivate::popupWidgets
static

Definition at line 124 of file qapplication_p.h.

◆ replayMousePress

bool QApplicationPrivate::replayMousePress = false
static

Definition at line 107 of file qapplication_p.h.

◆ set_font

QFont * QApplicationPrivate::set_font = nullptr
static

Definition at line 139 of file qapplication_p.h.

◆ styleSheet

QString QApplicationPrivate::styleSheet
static

Definition at line 160 of file qapplication_p.h.

◆ sys_font

QFont * QApplicationPrivate::sys_font = nullptr
static

Definition at line 138 of file qapplication_p.h.

◆ toolTipFallAsleep

QBasicTimer QApplicationPrivate::toolTipFallAsleep

Definition at line 119 of file qapplication_p.h.

◆ toolTipGlobalPos

QPoint QApplicationPrivate::toolTipGlobalPos

Definition at line 120 of file qapplication_p.h.

◆ toolTipPos

QPoint QApplicationPrivate::toolTipPos

Definition at line 120 of file qapplication_p.h.

◆ toolTipWakeUp

QBasicTimer QApplicationPrivate::toolTipWakeUp

Definition at line 119 of file qapplication_p.h.

◆ toolTipWidget

QPointer<QWidget> QApplicationPrivate::toolTipWidget

Definition at line 121 of file qapplication_p.h.

◆ widgetCount

bool QApplicationPrivate::widgetCount = false
static

Definition at line 148 of file qapplication_p.h.

◆ widgetPalettes

QApplicationPrivate::PaletteHash QApplicationPrivate::widgetPalettes
static

Definition at line 155 of file qapplication_p.h.


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