(f0b1caafd8dcc74b7771ee1c451587218075136a)
#include "qplatformdefs.h"
#include "qabstracteventdispatcher.h"
#include "qapplication.h"
#include "qclipboard.h"
#include "qcursor.h"
#include "qdir.h"
#include "qevent.h"
#include "qfile.h"
#include "qfileinfo.h"
#include "qhash.h"
#include "qset.h"
#include "qlayout.h"
#include "qpixmapcache.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qstylefactory.h"
#include "qtranslator.h"
#include "qvariant.h"
#include "qwidget.h"
#include "private/qguiapplication_p.h"
#include "qdebug.h"
#include "private/qstyle_p.h"
#include "qwidgetwindow_p.h"
#include <QtGui/qstylehints.h>
#include <QtGui/qinputmethod.h>
#include <QtGui/private/qwindow_p.h>
#include <QtGui/qpointingdevice.h>
#include <QtGui/private/qpointingdevice_p.h>
#include <qpa/qplatformtheme.h>
#include "private/qkeymapper_p.h"
#include <qthread.h>
#include <private/qthread_p.h>
#include <QtGui/private/qevent_p.h>
#include <QtGui/private/qeventpoint_p.h>
#include <private/qfont_p.h>
#include <stdlib.h>
#include "qapplication_p.h"
#include "qwidget_p.h"
#include "qgesture.h"
#include "private/qgesturemanager_p.h"
#include <qpa/qplatformfontdatabase.h>
#include "qdatetime.h"
#include <qpa/qplatformwindow.h>
#include <qtwidgets_tracepoints_p.h>
#include <algorithm>
#include <iterator>
#include "moc_qapplication.cpp"
Go to the source code of this file.
|
static void | initResources () |
QT_BEGIN_NAMESPACE | Q_STATIC_LOGGING_CATEGORY (lcWidgetPopup, "qt.widgets.popup") |
| Q_TRACE_PREFIX (qtwidgets, "#include <qcoreevent.h>") |
| Q_TRACE_METADATA (qtwidgets, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;") |
| Q_TRACE_POINT (qtwidgets, QApplication_notify_entry, QObject *receiver, QEvent *event, QEvent::Type type) |
| Q_TRACE_POINT (qtwidgets, QApplication_notify_exit, bool consumed, bool filtered) |
Q_CORE_EXPORT void | qt_call_post_routines () |
Q_GUI_EXPORT bool | qt_sendShortcutOverrideEvent (QObject *o, ulong timestamp, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1) |
void | qt_init_tooltip_palette () |
bool Q_WIDGETS_EXPORT | qt_tab_all_widgets () |
FontHash * | qt_app_fonts_hash () |
void | qRegisterWidgetsVariant () |
QWidget * | qt_tlw_for_window (QWindow *wnd) |
Q_WIDGETS_EXPORT bool | qt_tryModalHelper (QWidget *widget, QWidget **rettop) |
bool | qt_try_modal (QWidget *widget, QEvent::Type type) |
static void | ungrabKeyboardForPopup (QWidget *popup) |
static void | ungrabMouseForPopup (QWidget *popup) |
static void | grabForPopup (QWidget *popup) |
static int | uiEffectToFlag (Qt::UIEffect effect) |
◆ CHECK_QAPP_INSTANCE
#define CHECK_QAPP_INSTANCE |
( |
| ... | ) |
|
Value:
} else { \
qWarning("Must construct a QApplication first."); \
return __VA_ARGS__; \
}
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
Definition at line 115 of file qapplication.cpp.
◆ grabForPopup()
◆ initResources()
◆ Q_STATIC_LOGGING_CATEGORY()
◆ Q_TRACE_METADATA()
Q_TRACE_METADATA |
( |
qtwidgets | , |
|
|
"ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;" | ) |
◆ Q_TRACE_POINT() [1/2]
◆ Q_TRACE_POINT() [2/2]
Q_TRACE_POINT |
( |
qtwidgets | , |
|
|
QApplication_notify_exit | , |
|
|
bool | consumed, |
|
|
bool | filtered ) |
◆ Q_TRACE_PREFIX()
◆ qRegisterWidgetsVariant()
void qRegisterWidgetsVariant |
( |
| ) |
|
|
extern |
◆ qt_app_fonts_hash()
◆ qt_call_post_routines()
Q_CORE_EXPORT void qt_call_post_routines |
( |
| ) |
|
◆ qt_init_tooltip_palette()
void qt_init_tooltip_palette |
( |
| ) |
|
◆ qt_sendShortcutOverrideEvent()
Q_GUI_EXPORT bool qt_sendShortcutOverrideEvent |
( |
QObject * | o, |
|
|
ulong | timestamp, |
|
|
int | k, |
|
|
Qt::KeyboardModifiers | mods, |
|
|
const QString & | text = QString(), |
|
|
bool | autorep = false, |
|
|
ushort | count = 1 ) |
◆ qt_tab_all_widgets()
bool Q_WIDGETS_EXPORT qt_tab_all_widgets |
( |
| ) |
|
◆ qt_tlw_for_window()
◆ qt_try_modal()
◆ qt_tryModalHelper()
Q_WIDGETS_EXPORT bool qt_tryModalHelper |
( |
QWidget * | widget, |
|
|
QWidget ** | rettop ) |
◆ uiEffectToFlag()
◆ ungrabKeyboardForPopup()
◆ ungrabMouseForPopup()
◆ popupGrabOk
◆ qt_antialiasing_threshold
int qt_antialiasing_threshold = -1 |
◆ qt_button_down
Q_WIDGETS_EXPORT QWidget * qt_button_down = nullptr |
|
extern |
◆ qt_in_tab_key_event
bool qt_in_tab_key_event = false |
◆ qt_last_mouse_receiver