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

#include <qqmlvaluetype_p.h>

Inheritance diagram for QQmlPointValueType:
Collaboration diagram for QQmlPointValueType:

Public Member Functions

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

Properties

int x
int y

Additional Inherited Members

Detailed Description

Definition at line 130 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlPointValueType() [1/3]

QQmlPointValueType::QQmlPointValueType ( )
default

◆ QQmlPointValueType() [2/3]

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

Definition at line 142 of file qqmlvaluetype_p.h.

◆ QQmlPointValueType() [3/3]

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

Definition at line 143 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ setX()

void QQmlPointValueType::setX ( int x)

Definition at line 162 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlPointValueType::setY ( int y)

Definition at line 167 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlPointValueType::toString ( ) const

Definition at line 147 of file qqmlvaluetype.cpp.

◆ x()

int QQmlPointValueType::x ( ) const

Definition at line 152 of file qqmlvaluetype.cpp.

◆ y()

int QQmlPointValueType::y ( ) const

Definition at line 157 of file qqmlvaluetype.cpp.

Property Documentation

◆ x

int QQmlPointValueType::x
readwrite

Definition at line 132 of file qqmlvaluetype_p.h.

◆ y

int QQmlPointValueType::y
readwrite

Definition at line 133 of file qqmlvaluetype_p.h.


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