Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qsizegrip.cpp File Reference
#include "qsizegrip.h"
#include "qapplication.h"
#include "qevent.h"
#include "qstylepainter.h"
#include "qwindow.h"
#include <qpa/qplatformwindow.h>
#include "qstyle.h"
#include "qstyleoption.h"
#include "qlayout.h"
#include "qdebug.h"
#include <private/qwidget_p.h>
#include "private/qapplication_p.h"
#include <qpa/qplatformtheme.h>
#include <QtWidgets/qabstractscrollarea.h>
#include "moc_qsizegrip.cpp"
+ Include dependency graph for qsizegrip.cpp:

Go to the source code of this file.

Classes

class  QSizeGripPrivate
 

Functions

static QT_BEGIN_NAMESPACE QWidgetqt_sizegrip_topLevelWidget (QWidget *w)
 
static Qt::Edges edgesFromCorner (Qt::Corner corner)
 
static bool usePlatformSizeGrip (const QWidget *tlw)
 

Function Documentation

◆ edgesFromCorner()

static Qt::Edges edgesFromCorner ( Qt::Corner  corner)
static

Definition at line 230 of file qsizegrip.cpp.

References Qt::BottomEdge, Qt::BottomLeftCorner, Qt::BottomRightCorner, Qt::LeftEdge, Qt::RightEdge, Qt::TopEdge, Qt::TopLeftCorner, and Qt::TopRightCorner.

Referenced by QSizeGrip::mousePressEvent().

+ Here is the caller graph for this function:

◆ qt_sizegrip_topLevelWidget()

static QT_BEGIN_NAMESPACE QWidget * qt_sizegrip_topLevelWidget ( QWidget w)
static

Definition at line 23 of file qsizegrip.cpp.

References QWidget::parentWidget(), and Qt::SubWindow.

Referenced by QSizeGripPrivate::corner(), QSizeGrip::mouseMoveEvent(), QSizeGrip::mousePressEvent(), and QSizeGripPrivate::updateTopLevelWidget().

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

◆ usePlatformSizeGrip()

static bool usePlatformSizeGrip ( const QWidget tlw)
static

Definition at line 241 of file qsizegrip.cpp.

References QString::contains(), QGuiApplication::platformName, QWidget::testAttribute(), and Qt::WA_TranslucentBackground.

Referenced by QSizeGrip::mousePressEvent().

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