Qt 6.x
The Qt SDK
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 337 of file qqmlvaluetype.cpp.

◆ height()

int QQmlRectValueType::height ( ) const

Definition at line 307 of file qqmlvaluetype.cpp.

◆ left()

int QQmlRectValueType::left ( ) const

Definition at line 322 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 327 of file qqmlvaluetype.cpp.

◆ setHeight()

void QQmlRectValueType::setHeight ( int  h)

Definition at line 317 of file qqmlvaluetype.cpp.

◆ setWidth()

void QQmlRectValueType::setWidth ( int  w)

Definition at line 312 of file qqmlvaluetype.cpp.

◆ setX()

void QQmlRectValueType::setX ( int  x)

Definition at line 292 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlRectValueType::setY ( int  y)

Definition at line 297 of file qqmlvaluetype.cpp.

◆ top()

int QQmlRectValueType::top ( ) const

Definition at line 332 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlRectValueType::toString ( ) const

Definition at line 277 of file qqmlvaluetype.cpp.

References QString::asprintf().

+ Here is the call graph for this function:

◆ width()

int QQmlRectValueType::width ( ) const

Definition at line 302 of file qqmlvaluetype.cpp.

◆ x()

int QQmlRectValueType::x ( ) const

Definition at line 282 of file qqmlvaluetype.cpp.

◆ y()

int QQmlRectValueType::y ( ) const

Definition at line 287 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 244 of file qqmlvaluetype_p.h.

◆ height

int QQmlRectValueType::height
readwrite

Definition at line 244 of file qqmlvaluetype_p.h.

◆ left

int QQmlRectValueType::left
read

Definition at line 244 of file qqmlvaluetype_p.h.

◆ right

int QQmlRectValueType::right
read

Definition at line 244 of file qqmlvaluetype_p.h.

◆ top

int QQmlRectValueType::top
read

Definition at line 244 of file qqmlvaluetype_p.h.

◆ width

int QQmlRectValueType::width
readwrite

Definition at line 244 of file qqmlvaluetype_p.h.

◆ x

int QQmlRectValueType::x
readwrite

Definition at line 244 of file qqmlvaluetype_p.h.

◆ y

int QQmlRectValueType::y
readwrite

Definition at line 244 of file qqmlvaluetype_p.h.


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