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>.
|
#include <qqmlvaluetype_p.h>
Public Member Functions | |
QQmlSizeValueType ()=default | |
Q_INVOKABLE | QQmlSizeValueType (const QSizeF &size) |
Q_INVOKABLE QString | toString () const |
int | width () const |
int | height () const |
void | setWidth (int) |
void | setHeight (int) |
operator QSize () const | |
Public Attributes | |
QSize | v |
Properties | |
int | width |
int | height |
Definition at line 178 of file qqmlvaluetype_p.h.
|
default |
|
inline |
Definition at line 192 of file qqmlvaluetype_p.h.
int QQmlSizeValueType::height | ( | ) | const |
Definition at line 205 of file qqmlvaluetype.cpp.
|
inline |
Definition at line 199 of file qqmlvaluetype_p.h.
void QQmlSizeValueType::setHeight | ( | int | h | ) |
Definition at line 215 of file qqmlvaluetype.cpp.
void QQmlSizeValueType::setWidth | ( | int | w | ) |
Definition at line 210 of file qqmlvaluetype.cpp.
QString QQmlSizeValueType::toString | ( | ) | const |
Definition at line 195 of file qqmlvaluetype.cpp.
References QString::asprintf().
int QQmlSizeValueType::width | ( | ) | const |
Definition at line 200 of file qqmlvaluetype.cpp.
QSize QQmlSizeValueType::v |
Definition at line 180 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 182 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 181 of file qqmlvaluetype_p.h.