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
qwidgetwindow.cpp File Reference

(8825bcdbdab5f37b185261d7ba06260dc8e9930d)

#include "private/qwindow_p.h"
#include "qwidgetwindow_p.h"
#include "qlayout.h"
#include "private/qwidget_p.h"
#include "private/qapplication_p.h"
#include <private/qwidgetrepaintmanager_p.h>
#include <qpa/qwindowsysteminterface_p.h>
#include <qpa/qplatformtheme.h>
#include <qpa/qplatformwindow.h>
#include <private/qgesturemanager_p.h>
#include <private/qhighdpiscaling_p.h>
#include "moc_qwidgetwindow_p.cpp"
Include dependency graph for qwidgetwindow.cpp:

Go to the source code of this file.

Classes

class  QWidgetWindowPrivate

Functions

Q_WIDGETS_EXPORT bool qt_tab_all_widgets ()
bool qt_try_modal (QWidget *widget, QEvent::Type type)
bool q_evaluateRhiConfig (const QWidget *w, QPlatformBackingStoreRhiConfig *outConfig, QSurface::SurfaceType *outType)
static bool shouldBePropagatedToWidget (QEvent *event)
static void sendChangeRecursively (QWidget *widget, QEvent::Type type)

Variables

Q_WIDGETS_EXPORT QWidgetqt_button_down = nullptr
QWidgetqt_popup_down = nullptr
bool qt_popup_down_closed = false
QPointer< QWidgetqt_last_mouse_receiver = nullptr

Function Documentation

◆ q_evaluateRhiConfig()

bool q_evaluateRhiConfig ( const QWidget * w,
QPlatformBackingStoreRhiConfig * outConfig,
QSurface::SurfaceType * outType )

Definition at line 1134 of file qwidget.cpp.

◆ qt_tab_all_widgets()

Q_WIDGETS_EXPORT bool qt_tab_all_widgets ( )
extern

Definition at line 349 of file qapplication.cpp.

◆ qt_try_modal()

bool qt_try_modal ( QWidget * widget,
QEvent::Type type )
extern

Definition at line 2217 of file qapplication.cpp.

References QPainter::QWidget.

Here is the call graph for this function:

◆ sendChangeRecursively()

void sendChangeRecursively ( QWidget * widget,
QEvent::Type type )
static

Definition at line 760 of file qwidgetwindow.cpp.

◆ shouldBePropagatedToWidget()

bool shouldBePropagatedToWidget ( QEvent * event)
inlinestatic

Definition at line 231 of file qwidgetwindow.cpp.

Variable Documentation

◆ qt_button_down

Q_WIDGETS_EXPORT QWidget* qt_button_down = nullptr

Definition at line 27 of file qwidgetwindow.cpp.

◆ qt_last_mouse_receiver

QPointer<QWidget> qt_last_mouse_receiver = nullptr

Definition at line 402 of file qwidgetwindow.cpp.

Referenced by QWidgetWindow::handleMouseEvent().

◆ qt_popup_down

QWidget * qt_popup_down = nullptr

Definition at line 30 of file qwidgetwindow.cpp.

Referenced by QWidgetWindow::closeEvent(), and QWidgetWindow::handleMouseEvent().

◆ qt_popup_down_closed

bool qt_popup_down_closed = false

Definition at line 31 of file qwidgetwindow.cpp.

Referenced by QWidgetWindow::closeEvent(), and QWidgetWindow::handleMouseEvent().