QtBase  v6.3.1
Classes | Functions | Variables
qwidget.cpp File Reference
#include "qapplication.h"
#include "qapplication_p.h"
#include "qbrush.h"
#include "qcursor.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 "qaccessible.h"
#include <qpa/qplatformwindow.h>
#include <qpa/qplatformwindow_p.h>
#include "private/qwidgetwindow_p.h"
#include "qpainter.h"
#include "qdebug.h"
#include "private/qstylesheetstyle_p.h"
#include "private/qstyle_p.h"
#include "qfileinfo.h"
#include "qscopeguard.h"
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtGui/qinputmethod.h>
#include <QtGui/qopenglcontext.h>
#include <QtGui/private/qopenglcontext_p.h>
#include <QtGui/qoffscreensurface.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 "moc_qwidget.cpp"
#include "moc_qwidget_p.cpp"
Include dependency graph for qwidget.cpp:

Go to the source code of this file.

Classes

struct  QWidgetExceptionCleaner
 
struct  MapToGlobalTransformResult
 

Functions

 Q_LOGGING_CATEGORY (lcWidgetPainting, "qt.widgets.painting", QtWarningMsg)
 
bool qt_sendSpontaneousEvent (QObject *, QEvent *)
 
void q_createNativeChildrenAndSetParent (const QWidget *parentWidget)
 
void qt_qpa_set_cursor (QWidget *w, bool force)
 
QString qt_setWindowTitle_helperHelper (const QString &title, const QWidget *widget)
 
Q_WIDGETS_EXPORT QWidgetDataqt_qwidget_data (QWidget *widget)
 
Q_WIDGETS_EXPORT QWidgetPrivateqt_widget_private (QWidget *widget)
 
QDebug operator<< (QDebug debug, const QWidget *widget)
 

Variables

QWidgetqt_button_down
 
QWidgetqt_pressGrab = nullptr
 
QWidgetqt_mouseGrb = nullptr
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  debug,
const QWidget widget 
)

Definition at line 13014 of file qwidget.cpp.

Here is the call graph for this function:

◆ q_createNativeChildrenAndSetParent()

void q_createNativeChildrenAndSetParent ( const QWidget parentWidget)

Definition at line 1218 of file qwidget.cpp.

Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcWidgetPainting  ,
"qt.widgets.painting"  ,
QtWarningMsg   
)

◆ qt_qpa_set_cursor()

void qt_qpa_set_cursor ( QWidget w,
bool  force 
)

Definition at line 5020 of file qwidget.cpp.

Here is the caller graph for this function:

◆ qt_qwidget_data()

Q_WIDGETS_EXPORT QWidgetData* qt_qwidget_data ( QWidget widget)

Definition at line 12211 of file qwidget.cpp.

◆ qt_sendSpontaneousEvent()

bool qt_sendSpontaneousEvent ( QObject ,
QEvent  
)
related

◆ qt_setWindowTitle_helperHelper()

QString qt_setWindowTitle_helperHelper ( const QString title,
const QWidget widget 
)

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 6006 of file qwidget.cpp.

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

◆ qt_widget_private()

Q_WIDGETS_EXPORT QWidgetPrivate* qt_widget_private ( QWidget widget)

Definition at line 12216 of file qwidget.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ qt_button_down

QWidget* qt_button_down
extern

Definition at line 60 of file qwidgetwindow.cpp.

◆ qt_mouseGrb

QWidget* qt_mouseGrb = nullptr

Definition at line 12469 of file qwidget.cpp.

◆ qt_pressGrab

QWidget* qt_pressGrab = nullptr

Definition at line 12468 of file qwidget.cpp.