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
qwidget_p.h File Reference

(31a127610358e6734da62d946841c6d46a7f3dd3)

#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>
Include dependency graph for qwidget_p.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

◆ bypassGraphicsProxyWidget()

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 173 of file qwidget_p.h.

◆ Q_DECLARE_LOGGING_CATEGORY() [1/2]

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY ( lcWidgetPainting )

◆ Q_DECLARE_LOGGING_CATEGORY() [2/2]

Q_DECLARE_LOGGING_CATEGORY ( lcWidgetShowHide )

◆ qSendWindowChangeToTextureChildrenRecursively()

void qSendWindowChangeToTextureChildrenRecursively ( QWidget * widget,
QEvent::Type eventType )

Definition at line 10739 of file qwidget.cpp.

References QPainter::QWidget, and QPaintEngine::QWidgetPrivate.

Here is the call graph for this function:

◆ qWidgetShortcutContextMatcher()

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 44 of file qshortcut_widgets.cpp.