Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwidget_p.h File Reference
#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 <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)
 
bool qWidgetShortcutContextMatcher (QObject *object, Qt::ShortcutContext context)
 
void qSendWindowChangeToTextureChildrenRecursively (QWidget *widget, QEvent::Type eventType)
 
static bool bypassGraphicsProxyWidget (const QWidget *p)
 

Function Documentation

◆ bypassGraphicsProxyWidget()

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 168 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().

+ Here is the caller graph for this function:

◆ Q_DECLARE_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY ( lcWidgetPainting  )

◆ qSendWindowChangeToTextureChildrenRecursively()

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

Definition at line 10659 of file qwidget.cpp.

References d, e, QWidgetPrivate::get(), i, qobject_cast< QWidget * >(), qSendWindowChangeToTextureChildrenRecursively(), QCoreApplication::sendEvent(), QWidgetPrivate::textureChildSeen, and widget.

Referenced by qSendWindowChangeToTextureChildrenRecursively(), and QWidget::setParent().

+ Here is the call graph for this function:
+ Here is the caller 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 43 of file qshortcut_widgets.cpp.

References QApplication::activePopupWidget(), QApplication::activeWindow(), context, correctWidgetContext(), QGuiApplication::focusWindow(), Q_ASSERT_X, qobject_cast< QWidget * >(), and qobject_cast< QWindow * >().

Referenced by QtWidgetsShortcutPrivate::contextMatcher(), QWidget::grabShortcut(), and QGraphicsWidget::grabShortcut().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: