Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include "QtWidgets/qwidget.h"
#include "private/qobject_p.h"
#include "QtCore/qrect.h"
#include "QtCore/qlocale.h"
#include "QtCore/qset.h"
#include "QtGui/qregion.h"
#include "QtGui/qinputmethod.h"
#include "QtGui/qsurfaceformat.h"
#include "QtGui/qscreen.h"
#include "QtWidgets/qsizepolicy.h"
#include "QtWidgets/qstyle.h"
#include "QtWidgets/qapplication.h"
#include <private/qgesture_p.h>
#include <qpa/qplatformbackingstore.h>
#include <QtGui/private/qbackingstorerhisupport_p.h>
#include <private/qapplication_p.h>
#include <QtCore/qpointer.h>
#include <vector>
#include <memory>
Go to the source code of this file.
Classes | |
class | QUpdateLaterEvent |
struct | QTLWExtra |
struct | QWExtra |
class | QWidgetPrivate |
struct | QWidgetPrivate::TextureData |
struct | QWidgetPaintContext |
Functions | |
QT_BEGIN_NAMESPACE | Q_DECLARE_LOGGING_CATEGORY (lcWidgetPainting) |
Q_DECLARE_LOGGING_CATEGORY (lcWidgetShowHide) | |
bool | qWidgetShortcutContextMatcher (QObject *object, Qt::ShortcutContext context) |
void | qSendWindowChangeToTextureChildrenRecursively (QWidget *widget, QEvent::Type eventType) |
static bool | bypassGraphicsProxyWidget (const QWidget *p) |
|
inlinestatic |
Returns true
if p or any of its parents enable the Qt::BypassGraphicsProxyWidget window flag. Used in QWidget::show() and QWidget::setParent() to determine whether it's necessary to embed the widget into a QGraphicsProxyWidget or not.
Definition at line 169 of file qwidget_p.h.
References Qt::BypassGraphicsProxyWidget.
Referenced by QGraphicsProxyWidget::contextMenuEvent(), QWidgetPrivate::hide_helper(), QWidgetPrivate::parentGraphicsView(), QMenuPrivate::popup(), QWidget::setParent(), and QWidgetPrivate::show_helper().
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY | ( | lcWidgetPainting | ) |
Q_DECLARE_LOGGING_CATEGORY | ( | lcWidgetShowHide | ) |
void qSendWindowChangeToTextureChildrenRecursively | ( | QWidget * | widget, |
QEvent::Type | eventType ) |
Definition at line 10613 of file qwidget.cpp.
References d, QWidgetPrivate::Direct, QWidgetPrivate::get(), i, qobject_cast< QWidget * >(), qSendWindowChangeToTextureChildrenRecursively(), QCoreApplication::sendEvent(), widget, and window().
Referenced by qSendWindowChangeToTextureChildrenRecursively(), and QWidget::setParent().
bool qWidgetShortcutContextMatcher | ( | QObject * | object, |
Qt::ShortcutContext | context ) |
Returns true
if the widget w is a logical sub window of the current top-level widget.
Definition at line 43 of file qshortcut_widgets.cpp.
References QApplication::activePopupWidget(), QApplication::activeWindow(), context, correctWidgetContext(), QGuiApplication::focusWindow(), Q_ASSERT_X, qobject_cast< QWidget * >(), qobject_cast< QWindow * >(), and QShortcutPrivate::simpleContextMatcher().
Referenced by QtWidgetsShortcutPrivate::contextMatcher(), QWidget::grabShortcut(), and QGraphicsWidget::grabShortcut().