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

#include <qqmlvaluetype_p.h>

+ Collaboration diagram for QQmlRectValueType:

Public Member Functions

 QQmlRectValueType ()=default
 
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
 
 operator QRect () const
 

Public Attributes

QRect v
 

Properties

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

Detailed Description

Definition at line 242 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlRectValueType() [1/2]

QQmlRectValueType::QQmlRectValueType ( )
default

◆ QQmlRectValueType() [2/2]

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

Definition at line 262 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlRectValueType::bottom ( ) const

Definition at line 346 of file qqmlvaluetype.cpp.

◆ height()

int QQmlRectValueType::height ( ) const

Definition at line 316 of file qqmlvaluetype.cpp.

◆ left()

int QQmlRectValueType::left ( ) const

Definition at line 331 of file qqmlvaluetype.cpp.

◆ operator QRect()

QQmlRectValueType::operator QRect ( ) const
inline

Definition at line 279 of file qqmlvaluetype_p.h.

◆ right()

int QQmlRectValueType::right ( ) const

Definition at line 336 of file qqmlvaluetype.cpp.

◆ setHeight()

void QQmlRectValueType::setHeight ( int h)

Definition at line 326 of file qqmlvaluetype.cpp.

◆ setWidth()

void QQmlRectValueType::setWidth ( int w)

Definition at line 321 of file qqmlvaluetype.cpp.

◆ setX()

void QQmlRectValueType::setX ( int x)

Definition at line 301 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlRectValueType::setY ( int y)

Definition at line 306 of file qqmlvaluetype.cpp.

◆ top()

int QQmlRectValueType::top ( ) const

Definition at line 341 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlRectValueType::toString ( ) const

Definition at line 286 of file qqmlvaluetype.cpp.

References QString::asprintf().

+ Here is the call graph for this function:

◆ width()

int QQmlRectValueType::width ( ) const

Definition at line 311 of file qqmlvaluetype.cpp.

◆ x()

int QQmlRectValueType::x ( ) const

Definition at line 291 of file qqmlvaluetype.cpp.

◆ y()

int QQmlRectValueType::y ( ) const

Definition at line 296 of file qqmlvaluetype.cpp.

Member Data Documentation

◆ v

QRect QQmlRectValueType::v

Definition at line 244 of file qqmlvaluetype_p.h.

Property Documentation

◆ bottom

int QQmlRectValueType::bottom
read

Definition at line 252 of file qqmlvaluetype_p.h.

◆ height

int QQmlRectValueType::height
readwrite

Definition at line 248 of file qqmlvaluetype_p.h.

◆ left

int QQmlRectValueType::left
read

Definition at line 249 of file qqmlvaluetype_p.h.

◆ right

int QQmlRectValueType::right
read

Definition at line 250 of file qqmlvaluetype_p.h.

◆ top

int QQmlRectValueType::top
read

Definition at line 251 of file qqmlvaluetype_p.h.

◆ width

int QQmlRectValueType::width
readwrite

Definition at line 247 of file qqmlvaluetype_p.h.

◆ x

int QQmlRectValueType::x
readwrite

Definition at line 245 of file qqmlvaluetype_p.h.

◆ y

int QQmlRectValueType::y
readwrite

Definition at line 246 of file qqmlvaluetype_p.h.


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