diff options
author | Shawn Rutledge <shawn.rutledge@nokia.com> | 2012-08-17 14:13:08 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 06:51:00 +0200 |
commit | 97150f169fbec63dbc49def5ee48781b97a4b610 (patch) | |
tree | d350567335fc5e329480270f1f5142a56dac4657 /src/gui/kernel/qwindow.h | |
parent | c0b3f90de41ca4a01bebd1aa571c22611ef82557 (diff) |
QWindow documentation fixes; make pos, size and geometry properties
Change-Id: I745bbe5d0baa68fc7ee49d6fe76d3678f3212b3d
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r-- | src/gui/kernel/qwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index fab9e4658b..dbf072a1cd 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -100,6 +100,9 @@ class Q_GUI_EXPORT QWindow : public QObject, public QSurface Q_PROPERTY(int y READ y WRITE setY NOTIFY yChanged) Q_PROPERTY(int width READ width WRITE setWidth NOTIFY widthChanged) Q_PROPERTY(int height READ height WRITE setHeight NOTIFY heightChanged) + Q_PROPERTY(QPoint pos READ pos WRITE setPos) + Q_PROPERTY(QSize size READ size WRITE resize) + Q_PROPERTY(QRect geometry READ geometry WRITE setGeometry) Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged) Q_PROPERTY(Qt::ScreenOrientation contentOrientation READ contentOrientation WRITE reportContentOrientationChange NOTIFY contentOrientationChanged) #ifndef QT_NO_CURSOR |