![]() |
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 | |
QQmlRectValueType ()=default | |
Q_INVOKABLE | QQmlRectValueType (const QRect &rect) |
Q_INVOKABLE | QQmlRectValueType (const QRectF &rect) |
Q_INVOKABLE QString | toString () const |
int | x () const |
int | y () const |
void | setX (int) |
void | setY (int) |
int | width () const |
int | height () const |
void | setWidth (int) |
void | setHeight (int) |
int | left () const |
int | right () const |
int | top () const |
int | bottom () const |
Properties | |
int | x |
int | y |
int | width |
int | height |
int | left |
int | right |
int | top |
int | bottom |
Additional Inherited Members | |
Related Symbols inherited from QRect | |
QRect | operator+ (const QRect &rectangle, const QMargins &margins) |
Returns the rectangle grown by the margins. | |
QRect | operator+ (const QMargins &margins, const QRect &rectangle) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns the rectangle grown by the margins. | |
QRect | operator- (const QRect &lhs, const QMargins &rhs) |
Returns the lhs rectangle shrunk by the rhs margins. | |
QDataStream & | operator<< (QDataStream &stream, const QRect &rectangle) |
Writes the given rectangle to the given stream, and returns a reference to the stream. | |
QDataStream & | operator>> (QDataStream &stream, QRect &rectangle) |
Reads a rectangle from the given stream into the given rectangle, and returns a reference to the stream. |
Definition at line 230 of file qqmlvaluetype_p.h.
|
default |
|
inline |
Definition at line 248 of file qqmlvaluetype_p.h.
|
inline |
Definition at line 249 of file qqmlvaluetype_p.h.
int QQmlRectValueType::bottom | ( | ) | const |
Definition at line 352 of file qqmlvaluetype.cpp.
int QQmlRectValueType::height | ( | ) | const |
Definition at line 322 of file qqmlvaluetype.cpp.
int QQmlRectValueType::left | ( | ) | const |
Definition at line 337 of file qqmlvaluetype.cpp.
int QQmlRectValueType::right | ( | ) | const |
Definition at line 342 of file qqmlvaluetype.cpp.
void QQmlRectValueType::setHeight | ( | int | h | ) |
Definition at line 332 of file qqmlvaluetype.cpp.
void QQmlRectValueType::setWidth | ( | int | w | ) |
Definition at line 327 of file qqmlvaluetype.cpp.
void QQmlRectValueType::setX | ( | int | x | ) |
Definition at line 307 of file qqmlvaluetype.cpp.
void QQmlRectValueType::setY | ( | int | y | ) |
Definition at line 312 of file qqmlvaluetype.cpp.
int QQmlRectValueType::top | ( | ) | const |
Definition at line 347 of file qqmlvaluetype.cpp.
QString QQmlRectValueType::toString | ( | ) | const |
Definition at line 291 of file qqmlvaluetype.cpp.
int QQmlRectValueType::width | ( | ) | const |
Definition at line 317 of file qqmlvaluetype.cpp.
int QQmlRectValueType::x | ( | ) | const |
Definition at line 297 of file qqmlvaluetype.cpp.
int QQmlRectValueType::y | ( | ) | const |
Definition at line 302 of file qqmlvaluetype.cpp.
|
read |
Definition at line 239 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 235 of file qqmlvaluetype_p.h.
|
read |
Definition at line 236 of file qqmlvaluetype_p.h.
Referenced by testing.tools.safetynet_image.ImageLocations::Left().
|
read |
Definition at line 237 of file qqmlvaluetype_p.h.
Referenced by testing.tools.safetynet_image.ImageLocations::Right().
|
read |
Definition at line 238 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 234 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 232 of file qqmlvaluetype_p.h.
|
readwrite |
Definition at line 233 of file qqmlvaluetype_p.h.