![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qapplication.h"
#include "qapplication_p.h"
#include "qbrush.h"
#include "qcursor.h"
#include "private/qduplicatetracker_p.h"
#include "qevent.h"
#include "qlayout.h"
#include "qmetaobject.h"
#include "qpixmap.h"
#include "qpointer.h"
#include "qstack.h"
#include "qstyle.h"
#include "qstylefactory.h"
#include "qvariant.h"
#include "qwidget.h"
#include "qstyleoption.h"
#include "qstylehints.h"
#include <qpa/qplatformwindow.h>
#include <qpa/qplatformwindow_p.h>
#include "private/qwidgetwindow_p.h"
#include "qpainter.h"
#include "qdebug.h"
#include "private/qstyle_p.h"
#include "qfileinfo.h"
#include "qscopeguard.h"
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtGui/qinputmethod.h>
#include <qbackingstore.h>
#include <private/qwidgetrepaintmanager_p.h>
#include <private/qpaintengine_raster_p.h>
#include "qwidget_p.h"
#include <QtGui/private/qwindow_p.h>
#include "qlayout_p.h"
#include "QtWidgets/qabstractscrollarea.h"
#include "private/qabstractscrollarea_p.h"
#include "private/qevent_p.h"
#include "private/qgesturemanager_p.h"
#include "qwindowcontainer_p.h"
#include <sstream>
#include "moc_qwidget.cpp"
#include "moc_qwidget_p.cpp"
Go to the source code of this file.
Classes | |
struct | QWidgetExceptionCleaner |
struct | MapToGlobalTransformResult |
Macros | |
#define | FOCUS_NEXT(w) |
#define | FOCUS_PREV(w) |
Variables | |
QWidget * | qt_button_down |
QWidget * | qt_mouseGrb = nullptr |
static bool | mouseGrabWithCursor = false |
static QWidget * | keyboardGrb = nullptr |
#define FOCUS_NEXT | ( | w | ) |
Definition at line 13471 of file qwidget.cpp.
#define FOCUS_PREV | ( | w | ) |
Definition at line 13472 of file qwidget.cpp.
Definition at line 5061 of file qwidget.cpp.
|
inlinestatic |
Definition at line 12726 of file qwidget.cpp.
Referenced by mapToGlobalTransform().
Definition at line 2258 of file qwidget.cpp.
QWidgetList focusPath | ( | QWidget * | from, |
QWidget * | to, | ||
QWidgetPrivate::FocusDirection | direction ) |
from | and ending with |
to,in |
param direction.
Definition at line 13716 of file qwidget.cpp.
References QPainter::QWidget.
Definition at line 12831 of file qwidget.cpp.
References QPainter::QWidget.
Referenced by grabMouseForWidget(), and releaseMouseGrabOfWidget().
Definition at line 12841 of file qwidget.cpp.
References grabberWindow(), mouseGrabWithCursor, and qt_mouseGrb.
|
inlinestatic |
Definition at line 6695 of file qwidget.cpp.
|
static |
Definition at line 12747 of file qwidget.cpp.
References canMapPosition(), and MapToGlobalTransformResult::window.
Definition at line 13427 of file qwidget.cpp.
Definition at line 1265 of file qwidget.cpp.
References q_createNativeChildrenAndSetParent(), and QPainter::QWidget.
Referenced by q_createNativeChildrenAndSetParent().
bool q_evaluateRhiConfig | ( | const QWidget * | w, |
QPlatformBackingStoreRhiConfig * | outConfig, | ||
QSurface::SurfaceType * | outType ) |
Definition at line 1134 of file qwidget.cpp.
|
static |
Definition at line 1108 of file qwidget.cpp.
Q_LOGGING_CATEGORY | ( | lcWidgetPainting | , |
"qt.widgets.painting" | , | ||
QtWarningMsg | ) |
Q_LOGGING_CATEGORY | ( | lcWidgetShowHide | , |
"qt.widgets.showhide" | , | ||
QtWarningMsg | ) |
Q_STATIC_LOGGING_CATEGORY | ( | lcWidgetWindow | , |
"qt.widgets.window" | , | ||
QtWarningMsg | ) |
Definition at line 102 of file qwidget.cpp.
void qSendWindowChangeToTextureChildrenRecursively | ( | QWidget * | widget, |
QEvent::Type | eventType ) |
Definition at line 10739 of file qwidget.cpp.
References QPainter::QWidget, and QPaintEngine::QWidgetPrivate.
Definition at line 5073 of file qwidget.cpp.
Q_WIDGETS_EXPORT QWidgetData * qt_qwidget_data | ( | QWidget * | widget | ) |
Definition at line 12572 of file qwidget.cpp.
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle.
This function assumes that "[*]" can be quoted by another "[*]", so it will replace two place holders by one and a single last one by either "*" or nothing depending on the modified flag.
Definition at line 6051 of file qwidget.cpp.
Referenced by tabTextFor().
Q_WIDGETS_EXPORT QWidgetPrivate * qt_widget_private | ( | QWidget * | widget | ) |
Definition at line 12577 of file qwidget.cpp.
Definition at line 12863 of file qwidget.cpp.
References grabberWindow(), mouseGrabWithCursor, and qt_mouseGrb.
Definition at line 5247 of file qwidget.cpp.
References QPainter::QWidget, and sendResizeEvents().
Referenced by sendResizeEvents().
|
static |
This just sets the corresponding attribute bit to 1 or 0
Definition at line 11385 of file qwidget.cpp.
Definition at line 5067 of file qwidget.cpp.
Referenced by QPlatformCursor::qt_qpa_set_cursor.
|
static |
Definition at line 12829 of file qwidget.cpp.
|
static |
Definition at line 12828 of file qwidget.cpp.
Referenced by grabMouseForWidget(), and releaseMouseGrabOfWidget().
|
extern |
Definition at line 2339 of file qwidget.cpp.
QWidget * qt_mouseGrb = nullptr |
Definition at line 12827 of file qwidget.cpp.
Referenced by grabMouseForWidget(), and releaseMouseGrabOfWidget().