Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWindowGeometrySpecification Struct Reference
+ Collaboration diagram for QWindowGeometrySpecification:

Public Member Functions

void applyTo (QWindow *window) const
 

Static Public Member Functions

static QWindowGeometrySpecification fromArgument (const QByteArray &a)
 

Public Attributes

Qt::Corner corner
 
int xOffset
 
int yOffset
 
int width
 
int height
 

Detailed Description

Definition at line 250 of file qguiapplication.cpp.

Member Function Documentation

◆ applyTo()

void QWindowGeometrySpecification::applyTo ( QWindow * window) const

Definition at line 315 of file qguiapplication.cpp.

References QRect::bottom(), Qt::BottomLeftCorner, corner, QSize::height(), QRect::left(), qBound(), qMax(), QRect::right(), QPoint::setX(), QPoint::setY(), QRect::size(), QRect::top(), QRect::topLeft(), Qt::TopLeftCorner, Qt::TopRightCorner, QSize::width(), window(), xOffset, and yOffset.

+ Here is the call graph for this function:

◆ fromArgument()

QWindowGeometrySpecification QWindowGeometrySpecification::fromArgument ( const QByteArray & a)
static

Definition at line 286 of file qguiapplication.cpp.

References Qt::BottomLeftCorner, Qt::BottomRightCorner, i, nextGeometryToken(), pos, Q_WINDOW_GEOMETRY_SPECIFICATION_INITIALIZER, and Qt::TopRightCorner.

Referenced by QGuiApplicationPrivate::createPlatformIntegration().

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

Member Data Documentation

◆ corner

Qt::Corner QWindowGeometrySpecification::corner

Definition at line 255 of file qguiapplication.cpp.

Referenced by applyTo().

◆ height

int QWindowGeometrySpecification::height

Definition at line 259 of file qguiapplication.cpp.

◆ width

int QWindowGeometrySpecification::width

Definition at line 258 of file qguiapplication.cpp.

◆ xOffset

int QWindowGeometrySpecification::xOffset

Definition at line 256 of file qguiapplication.cpp.

Referenced by applyTo().

◆ yOffset

int QWindowGeometrySpecification::yOffset

Definition at line 257 of file qguiapplication.cpp.

Referenced by applyTo().


The documentation for this struct was generated from the following file: