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

#include <qqmlvaluetype_p.h>

+ Collaboration diagram for QQmlPointValueType:

Public Member Functions

 QQmlPointValueType ()=default
 
Q_INVOKABLE QQmlPointValueType (const QPointF &point)
 
Q_INVOKABLE QString toString () const
 
int x () const
 
int y () const
 
void setX (int)
 
void setY (int)
 
 operator QPoint () const
 

Public Attributes

QPoint v
 

Properties

int x
 
int y
 

Detailed Description

Definition at line 130 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlPointValueType() [1/2]

QQmlPointValueType::QQmlPointValueType ( )
default

◆ QQmlPointValueType() [2/2]

Q_INVOKABLE QQmlPointValueType::QQmlPointValueType ( const QPointF & point)
inline

Definition at line 144 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ operator QPoint()

QQmlPointValueType::operator QPoint ( ) const
inline

Definition at line 151 of file qqmlvaluetype_p.h.

◆ setX()

void QQmlPointValueType::setX ( int x)

Definition at line 158 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlPointValueType::setY ( int y)

Definition at line 163 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlPointValueType::toString ( ) const

Definition at line 143 of file qqmlvaluetype.cpp.

References QString::asprintf().

+ Here is the call graph for this function:

◆ x()

int QQmlPointValueType::x ( ) const

Definition at line 148 of file qqmlvaluetype.cpp.

◆ y()

int QQmlPointValueType::y ( ) const

Definition at line 153 of file qqmlvaluetype.cpp.

Member Data Documentation

◆ v

QPoint QQmlPointValueType::v

Definition at line 132 of file qqmlvaluetype_p.h.

Property Documentation

◆ x

int QQmlPointValueType::x
readwrite

Definition at line 133 of file qqmlvaluetype_p.h.

◆ y

int QQmlPointValueType::y
readwrite

Definition at line 134 of file qqmlvaluetype_p.h.


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