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
QQmlRectValueType Struct Reference

#include <qqmlvaluetype_p.h>

Inheritance diagram for QQmlRectValueType:
Collaboration diagram for QQmlRectValueType:

Public Member Functions

 QQmlRectValueType ()=default
Q_INVOKABLE QQmlRectValueType (const QRect &rect)
Q_INVOKABLE QQmlRectValueType (const QRectF &rect)
Q_INVOKABLE QString toString () const
int x () const
int y () const
void setX (int)
void setY (int)
int width () const
int height () const
void setWidth (int)
void setHeight (int)
int left () const
int right () const
int top () const
int bottom () const

Properties

int x
int y
int width
int height
int left
int right
int top
int bottom

Additional Inherited Members

Detailed Description

Definition at line 230 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlRectValueType() [1/3]

QQmlRectValueType::QQmlRectValueType ( )
default

◆ QQmlRectValueType() [2/3]

Q_INVOKABLE QQmlRectValueType::QQmlRectValueType ( const QRect & rect)
inline

Definition at line 248 of file qqmlvaluetype_p.h.

◆ QQmlRectValueType() [3/3]

Q_INVOKABLE QQmlRectValueType::QQmlRectValueType ( const QRectF & rect)
inline

Definition at line 249 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlRectValueType::bottom ( ) const

Definition at line 352 of file qqmlvaluetype.cpp.

◆ height()

int QQmlRectValueType::height ( ) const

Definition at line 322 of file qqmlvaluetype.cpp.

◆ left()

int QQmlRectValueType::left ( ) const

Definition at line 337 of file qqmlvaluetype.cpp.

◆ right()

int QQmlRectValueType::right ( ) const

Definition at line 342 of file qqmlvaluetype.cpp.

◆ setHeight()

void QQmlRectValueType::setHeight ( int h)

Definition at line 332 of file qqmlvaluetype.cpp.

◆ setWidth()

void QQmlRectValueType::setWidth ( int w)

Definition at line 327 of file qqmlvaluetype.cpp.

◆ setX()

void QQmlRectValueType::setX ( int x)

Definition at line 307 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlRectValueType::setY ( int y)

Definition at line 312 of file qqmlvaluetype.cpp.

◆ top()

int QQmlRectValueType::top ( ) const

Definition at line 347 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlRectValueType::toString ( ) const

Definition at line 291 of file qqmlvaluetype.cpp.

◆ width()

int QQmlRectValueType::width ( ) const

Definition at line 317 of file qqmlvaluetype.cpp.

◆ x()

int QQmlRectValueType::x ( ) const

Definition at line 297 of file qqmlvaluetype.cpp.

◆ y()

int QQmlRectValueType::y ( ) const

Definition at line 302 of file qqmlvaluetype.cpp.

Property Documentation

◆ bottom

int QQmlRectValueType::bottom
read

Definition at line 239 of file qqmlvaluetype_p.h.

◆ height

int QQmlRectValueType::height
readwrite

Definition at line 235 of file qqmlvaluetype_p.h.

◆ left

int QQmlRectValueType::left
read

◆ right

int QQmlRectValueType::right
read

◆ top

int QQmlRectValueType::top
read

Definition at line 238 of file qqmlvaluetype_p.h.

◆ width

int QQmlRectValueType::width
readwrite

Definition at line 234 of file qqmlvaluetype_p.h.

◆ x

int QQmlRectValueType::x
readwrite

Definition at line 232 of file qqmlvaluetype_p.h.

◆ y

int QQmlRectValueType::y
readwrite

Definition at line 233 of file qqmlvaluetype_p.h.


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