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

#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
 
QActionPrivatecreateActionPrivate () const override
 
QShortcutPrivatecreateShortcutPrivate () 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 ()
 
QWidgetfindClosestTouchPointTarget (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 QColorTrcLutcolorProfileForA8Text ()
 
const QColorTrcLutcolorProfileForA32Text ()
 
- 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 ()
 
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 QString desktopStyleKey ()
 
static void dispatchEnterLeave (QWidget *enter, QWidget *leave, const QPointF &globalPosF)
 
static QWidgetdesktop ()
 
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 QWidgetfocusNextPrevChild_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 QApplicationPrivateinstance ()
 
static QWidgetpickMouseReceiver (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 QWindowwindowForWidget (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 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

QBasicTimer toolTipWakeUp
 
QBasicTimer toolTipFallAsleep
 
QPoint toolTipPos
 
QPoint toolTipGlobalPos
 
QPoint hoverGlobalPos
 
QPointer< QWidgettoolTipWidget
 
QGestureManagergestureManager
 
QWidgetgestureWidget
 
- Public Attributes inherited from QGuiApplicationPrivate
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 autoSipEnabled = true
 
static bool replayMousePress = false
 
static QSize app_strut
 
static QWidgetListpopupWidgets
 
static QStyleapp_style = nullptr
 
static QFontsys_font = nullptr
 
static QFontset_font = nullptr
 
static QWidgetmain_widget = nullptr
 
static QWidgetfocus_widget = nullptr
 
static QWidgethidden_focus_widget = nullptr
 
static int enabledAnimations = QPlatformTheme::GeneralUiEffect
 
static bool widgetCount = false
 
static PaletteHash widgetPalettes
 
static QString styleSheet
 
static QPointer< QWidgetleaveAfterRelease = 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 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

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

Definition at line 61 of file qapplication_p.h.

Member Typedef Documentation

◆ PaletteHash

Member Enumeration Documentation

◆ ImplicitTouchGrabMode

Enumerator
GrabAcceptedPoints 
GrabAllPoints 

Definition at line 215 of file qapplication_p.h.

Constructor & Destructor Documentation

◆ QApplicationPrivate()

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

Definition at line 129 of file qapplication.cpp.

◆ ~QApplicationPrivate()

QApplicationPrivate::~QApplicationPrivate ( )

Definition at line 143 of file qapplication.cpp.

Member Function Documentation

◆ activateImplicitTouchGrab()

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

Definition at line 3798 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 4006 of file qapplication.cpp.

◆ basePalette()

QPalette QApplicationPrivate::basePalette ( ) const
overrideprotectedvirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1094 of file qapplication.cpp.

◆ cleanupMultitouch()

void QApplicationPrivate::cleanupMultitouch ( )

Definition at line 3766 of file qapplication.cpp.

◆ cleanupMultitouch_sys()

void QApplicationPrivate::cleanupMultitouch_sys ( )

Definition at line 3771 of file qapplication.cpp.

◆ closePopup()

void QApplicationPrivate::closePopup ( QWidget * popup)

Definition at line 3354 of file qapplication.cpp.

◆ compressEvent()

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

Reimplemented from QCoreApplicationPrivate.

Definition at line 793 of file qapplication.cpp.

◆ createActionPrivate()

QT_BEGIN_NAMESPACE QActionPrivate * QApplicationPrivate::createActionPrivate ( ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 19 of file qaction_widgets.cpp.

◆ createEventDispatcher()

void QApplicationPrivate::createEventDispatcher ( )
overridevirtual

Reimplemented from QCoreApplicationPrivate.

Definition at line 149 of file qapplication.cpp.

◆ createShortcutPrivate()

QShortcutPrivate * QApplicationPrivate::createShortcutPrivate ( ) const
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 323 of file qshortcut_widgets.cpp.

◆ defaultModality()

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

Reimplemented from QGuiApplicationPrivate.

Definition at line 2205 of file qapplication.cpp.

◆ desktop()

QWidget * QApplicationPrivate::desktop ( )
static

Returns the desktop widget (also called the root window).

The widget represents the entire virtual desktop, and its geometry will be the union of all screens.

Definition at line 2462 of file qapplication.cpp.

◆ desktopStyleKey()

QString QApplicationPrivate::desktopStyleKey ( )
static

Definition at line 1411 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 2046 of file qapplication.cpp.

◆ findClosestTouchPointTarget()

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

Definition at line 3775 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 1982 of file qapplication.cpp.

◆ handlePaletteChanged()

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

Reimplemented from QGuiApplicationPrivate.

Definition at line 1209 of file qapplication.cpp.

◆ handleThemeChanged()

void QApplicationPrivate::handleThemeChanged ( )
overrideprotectedvirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 3974 of file qapplication.cpp.

◆ init()

void QApplicationPrivate::init ( )

Definition at line 468 of file qapplication.cpp.

◆ initialize()

void QApplicationPrivate::initialize ( )

Initializes the QApplication object, called from the constructors.

Definition at line 513 of file qapplication.cpp.

◆ initializeMultitouch()

void QApplicationPrivate::initializeMultitouch ( )

Definition at line 3757 of file qapplication.cpp.

◆ initializeMultitouch_sys()

void QApplicationPrivate::initializeMultitouch_sys ( )

Definition at line 3762 of file qapplication.cpp.

◆ initializeWidgetFontHash()

void QApplicationPrivate::initializeWidgetFontHash ( )
static

Definition at line 557 of file qapplication.cpp.

◆ initializeWidgetPalettesFromTheme()

void QApplicationPrivate::initializeWidgetPalettesFromTheme ( )
static

Definition at line 1239 of file qapplication.cpp.

◆ inPopupMode()

bool QApplicationPrivate::inPopupMode ( )
static

Definition at line 3315 of file qapplication.cpp.

◆ instance()

static QApplicationPrivate * QApplicationPrivate::instance ( )
inlinestatic

Definition at line 163 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 2198 of file qapplication.cpp.

◆ modalState()

bool QApplicationPrivate::modalState ( )
static

Definition at line 2262 of file qapplication.cpp.

◆ notify_helper()

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

Definition at line 3265 of file qapplication.cpp.

◆ notifyActiveWindowChange()

void QApplicationPrivate::notifyActiveWindowChange ( QWindow * previous)
overridevirtual

Reimplemented from QGuiApplicationPrivate.

Definition at line 1942 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 1432 of file qapplication.cpp.

◆ openPopup()

void QApplicationPrivate::openPopup ( QWidget * popup)

Definition at line 3404 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 2270 of file qapplication.cpp.

◆ process_cmdline()

void QApplicationPrivate::process_cmdline ( )

Definition at line 364 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 2303 of file qapplication.cpp.

◆ sendSyntheticEnterLeave()

void QApplicationPrivate::sendSyntheticEnterLeave ( QWidget * widget)

Definition at line 2405 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 1507 of file qapplication.cpp.

◆ setSystemFont()

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

Definition at line 1398 of file qapplication.cpp.

◆ translateRawTouchEvent()

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

Definition at line 3815 of file qapplication.cpp.

◆ translateTouchCancel()

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

Definition at line 3953 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 2222 of file qapplication.cpp.

◆ updateTouchPointsForWidget()

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

Definition at line 3743 of file qapplication.cpp.

◆ windowForWidget()

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

Definition at line 182 of file qapplication_p.h.

◆ windowNeverBlocked()

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

Reimplemented from QGuiApplicationPrivate.

Definition at line 2210 of file qapplication.cpp.

Member Data Documentation

◆ app_strut

QSize QApplicationPrivate::app_strut
static

Definition at line 129 of file qapplication_p.h.

◆ app_style

QStyle * QApplicationPrivate::app_style = nullptr
static

Definition at line 131 of file qapplication_p.h.

◆ autoSipEnabled

bool QApplicationPrivate::autoSipEnabled = true
static

Definition at line 71 of file qapplication_p.h.

◆ enabledAnimations

int QApplicationPrivate::enabledAnimations = QPlatformTheme::GeneralUiEffect
static

Definition at line 153 of file qapplication_p.h.

◆ focus_widget

QWidget * QApplicationPrivate::focus_widget = nullptr
static

Definition at line 147 of file qapplication_p.h.

◆ gestureManager

QGestureManager* QApplicationPrivate::gestureManager

Definition at line 203 of file qapplication_p.h.

◆ gestureWidget

QWidget* QApplicationPrivate::gestureWidget

Definition at line 204 of file qapplication_p.h.

◆ hidden_focus_widget

QWidget * QApplicationPrivate::hidden_focus_widget = nullptr
static

Definition at line 148 of file qapplication_p.h.

◆ hoverGlobalPos

QPoint QApplicationPrivate::hoverGlobalPos

Definition at line 126 of file qapplication_p.h.

◆ leaveAfterRelease

QPointer< QWidget > QApplicationPrivate::leaveAfterRelease = nullptr
static

Definition at line 173 of file qapplication_p.h.

◆ main_widget

QWidget * QApplicationPrivate::main_widget = nullptr
static

Definition at line 146 of file qapplication_p.h.

◆ popupWidgets

QWidgetList* QApplicationPrivate::popupWidgets
static

Definition at line 130 of file qapplication_p.h.

◆ replayMousePress

bool QApplicationPrivate::replayMousePress = false
static

Definition at line 113 of file qapplication_p.h.

◆ set_font

QFont * QApplicationPrivate::set_font = nullptr
static

Definition at line 145 of file qapplication_p.h.

◆ styleSheet

QString QApplicationPrivate::styleSheet
static

Definition at line 171 of file qapplication_p.h.

◆ sys_font

QFont * QApplicationPrivate::sys_font = nullptr
static

Definition at line 144 of file qapplication_p.h.

◆ toolTipFallAsleep

QBasicTimer QApplicationPrivate::toolTipFallAsleep

Definition at line 125 of file qapplication_p.h.

◆ toolTipGlobalPos

QPoint QApplicationPrivate::toolTipGlobalPos

Definition at line 126 of file qapplication_p.h.

◆ toolTipPos

QPoint QApplicationPrivate::toolTipPos

Definition at line 126 of file qapplication_p.h.

◆ toolTipWakeUp

QBasicTimer QApplicationPrivate::toolTipWakeUp

Definition at line 125 of file qapplication_p.h.

◆ toolTipWidget

QPointer<QWidget> QApplicationPrivate::toolTipWidget

Definition at line 127 of file qapplication_p.h.

◆ widgetCount

bool QApplicationPrivate::widgetCount = false
static

Definition at line 154 of file qapplication_p.h.

◆ widgetPalettes

QApplicationPrivate::PaletteHash QApplicationPrivate::widgetPalettes
static

Definition at line 161 of file qapplication_p.h.


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