![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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 <qpa/qplatformwindow_p.h>#include <qtwidgets_tracepoints_p.h>#include <algorithm>#include <iterator>#include "moc_qapplication.cpp"Go to the source code of this file.
Macros | |
| #define | CHECK_QAPP_INSTANCE(...) |
Functions | |
| 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 *eventevent, QEvent::Type typetype) | |
| 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 countcount=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 typetype) |
| static void | ungrabKeyboardForPopup (QWidget *popup) |
| static void | ungrabMouseForPopup (QWidget *popup) |
| static void | grabForPopup (QWidget *popup) |
| static int | uiEffectToFlag (Qt::UIEffect effect) |
Variables | |
| bool | qt_in_tab_key_event = false |
| int | qt_antialiasing_threshold = -1 |
| QPointer< QWidget > | qt_last_mouse_receiver = nullptr |
| Q_WIDGETS_EXPORT QWidget * | qt_button_down = nullptr |
| static bool | popupGrabOk |
| #define CHECK_QAPP_INSTANCE | ( | ... | ) |
Definition at line 116 of file qapplication.cpp.
Definition at line 3300 of file qapplication.cpp.
|
static |
Definition at line 93 of file qapplication.cpp.
| QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY | ( | lcWidgetPopup | , |
| "qt.widgets.popup" | ) |
| 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_TRACE_PREFIX | ( | qtwidgets | , |
| "#include <qcoreevent.h>" | ) |
|
extern |
Definition at line 30 of file qwidgetsvariant.cpp.
| FontHash * qt_app_fonts_hash | ( | ) |
Definition at line 355 of file qapplication.cpp.
| Q_CORE_EXPORT void qt_call_post_routines | ( | ) |
Definition at line 370 of file qcoreapplication.cpp.
| void qt_init_tooltip_palette | ( | ) |
Definition at line 492 of file qapplication.cpp.
| 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 ) |
Definition at line 1171 of file qwindowsysteminterface.cpp.
| bool Q_WIDGETS_EXPORT qt_tab_all_widgets | ( | ) |
Definition at line 346 of file qapplication.cpp.
Definition at line 1916 of file qapplication.cpp.
| bool qt_try_modal | ( | QWidget * | widget, |
| QEvent::Type | type ) |
Definition at line 2227 of file qapplication.cpp.
References QPainter::QWidget.
Definition at line 2182 of file qapplication.cpp.
|
inlinestatic |
Definition at line 3514 of file qapplication.cpp.
Definition at line 3280 of file qapplication.cpp.
Definition at line 3289 of file qapplication.cpp.
|
static |
Definition at line 3298 of file qapplication.cpp.
| int qt_antialiasing_threshold = -1 |
Definition at line 337 of file qapplication.cpp.
Definition at line 2396 of file qapplication.cpp.
| bool qt_in_tab_key_event = false |
Definition at line 336 of file qapplication.cpp.
Definition at line 2395 of file qapplication.cpp.
Referenced by QWidgetWindow::handleEnterLeaveEvent(), and QWidgetWindow::handleMouseEvent().