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

#include <qqmlvaluetype_p.h>

+ Collaboration diagram for QQmlPointFValueType:

Public Member Functions

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

Public Attributes

QPointF v
 

Properties

qreal x
 
qreal y
 

Detailed Description

Definition at line 106 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlPointFValueType() [1/2]

QQmlPointFValueType::QQmlPointFValueType ( )
default

◆ QQmlPointFValueType() [2/2]

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

Definition at line 120 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ operator QPointF()

QQmlPointFValueType::operator QPointF ( ) const
inline

Definition at line 127 of file qqmlvaluetype_p.h.

◆ setX()

void QQmlPointFValueType::setX ( qreal x)

Definition at line 132 of file qqmlvaluetype.cpp.

◆ setY()

void QQmlPointFValueType::setY ( qreal y)

Definition at line 137 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlPointFValueType::toString ( ) const

Definition at line 117 of file qqmlvaluetype.cpp.

References QString::asprintf().

+ Here is the call graph for this function:

◆ x()

qreal QQmlPointFValueType::x ( ) const

Definition at line 122 of file qqmlvaluetype.cpp.

◆ y()

qreal QQmlPointFValueType::y ( ) const

Definition at line 127 of file qqmlvaluetype.cpp.

Member Data Documentation

◆ v

QPointF QQmlPointFValueType::v

Definition at line 108 of file qqmlvaluetype_p.h.

Property Documentation

◆ x

qreal QQmlPointFValueType::x
readwrite

Definition at line 109 of file qqmlvaluetype_p.h.

◆ y

qreal QQmlPointFValueType::y
readwrite

Definition at line 110 of file qqmlvaluetype_p.h.


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