![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlvaluetype_p.h>
Public Member Functions | |
QQmlSizeValueType ()=default | |
Q_INVOKABLE | QQmlSizeValueType (const QSize &size) |
Q_INVOKABLE | QQmlSizeValueType (const QSizeF &size) |
Q_INVOKABLE QString | toString () const |
int | width () const |
int | height () const |
void | setWidth (int) |
void | setHeight (int) |
Properties | |
int | width |
int | height |
Additional Inherited Members | |
Related Symbols inherited from QSize | |
QDataStream & | operator<< (QDataStream &stream, const QSize &size) |
Writes the given size to the given stream, and returns a reference to the stream. | |
QDataStream & | operator>> (QDataStream &stream, QSize &size) |
Reads a size from the given stream into the given size, and returns a reference to the stream. |
Definition at line 172 of file qqmlvaluetype_p.h.
|
default |
|
inline |
Definition at line 184 of file qqmlvaluetype_p.h.
|
inline |
Definition at line 185 of file qqmlvaluetype_p.h.
int QQmlSizeValueType::height | ( | ) | const |
Definition at line 209 of file qqmlvaluetype.cpp.
void QQmlSizeValueType::setHeight | ( | int | h | ) |
Definition at line 219 of file qqmlvaluetype.cpp.
void QQmlSizeValueType::setWidth | ( | int | w | ) |
Definition at line 214 of file qqmlvaluetype.cpp.
QString QQmlSizeValueType::toString | ( | ) | const |
Definition at line 199 of file qqmlvaluetype.cpp.
int QQmlSizeValueType::width | ( | ) | const |
Definition at line 204 of file qqmlvaluetype.cpp.
|
readwrite |
Definition at line 175 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 174 of file qqmlvaluetype_p.h.