Clarify QWidget::normalGeometry documentation
The property reflects the widget's current geometry if it is not in a full screen or maximized state. Pick-to: 6.2 Change-Id: I5816687119500995654a926aef952d788ad74886 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
2b6500cd15
commit
f572b88899
@ -3583,19 +3583,6 @@ QPoint QWidget::pos() const
|
|||||||
resizeEvent(), minimumSize(), maximumSize()
|
resizeEvent(), minimumSize(), maximumSize()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
|
||||||
\property QWidget::normalGeometry
|
|
||||||
|
|
||||||
\brief the geometry of the widget as it will appear when shown as
|
|
||||||
a normal (not maximized or full screen) top-level widget
|
|
||||||
|
|
||||||
For child widgets this property always holds an empty rectangle.
|
|
||||||
|
|
||||||
By default, this property contains an empty rectangle.
|
|
||||||
|
|
||||||
\sa QWidget::windowState(), QWidget::geometry
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\property QWidget::size
|
\property QWidget::size
|
||||||
\brief the size of the widget excluding any window frame
|
\brief the size of the widget excluding any window frame
|
||||||
@ -3664,7 +3651,21 @@ QPoint QWidget::pos() const
|
|||||||
\sa size
|
\sa size
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\property QWidget::normalGeometry
|
||||||
|
|
||||||
|
\brief the geometry of the widget as it will appear when shown as
|
||||||
|
a normal (not maximized or full screen) top-level widget
|
||||||
|
|
||||||
|
If the widget is already in this state the normal geometry will
|
||||||
|
reflect the widget's current geometry().
|
||||||
|
|
||||||
|
For child widgets this property always holds an empty rectangle.
|
||||||
|
|
||||||
|
By default, this property contains an empty rectangle.
|
||||||
|
|
||||||
|
\sa QWidget::windowState(), QWidget::geometry
|
||||||
|
*/
|
||||||
QRect QWidget::normalGeometry() const
|
QRect QWidget::normalGeometry() const
|
||||||
{
|
{
|
||||||
Q_D(const QWidget);
|
Q_D(const QWidget);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user