diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-11-06 12:20:51 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-11-06 12:20:51 (GMT) |
commit | 1edc42765fa922a4d89a64d5edce2af27b72713b (patch) | |
tree | 566923594fe753d0aaa3228c3e596928134d1dee | |
parent | a492f18c37e985940bacd4fa283cfbd5ee01ddf6 (diff) | |
download | Qt-1edc42765fa922a4d89a64d5edce2af27b72713b.zip Qt-1edc42765fa922a4d89a64d5edce2af27b72713b.tar.gz Qt-1edc42765fa922a4d89a64d5edce2af27b72713b.tar.bz2 |
Add documentation for the new min/pref/maxSize properties.
-rw-r--r-- | src/gui/graphicsview/qgraphicswidget.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget.cpp b/src/gui/graphicsview/qgraphicswidget.cpp index d70a281..6f910c7 100644 --- a/src/gui/graphicsview/qgraphicswidget.cpp +++ b/src/gui/graphicsview/qgraphicswidget.cpp @@ -410,6 +410,27 @@ void QGraphicsWidget::setGeometry(const QRectF &rect) */ /*! + \property QGraphicsWidget::minimumSize + \brief the minimum size of the widget + + \sa setMinimumSize(), minimumSize(), preferredSize, maximumSize +*/ + +/*! + \property QGraphicsWidget::preferredSize + \brief the preferred size of the widget + + \sa setPreferredSize(), preferredSize(), minimumSize, maximumSize +*/ + +/*! + \property QGraphicsWidget::maximumSize + \brief the maximum size of the widget + + \sa setMaximumSize(), maximumSize(), minimumSize, preferredSize +*/ + +/*! Sets the widget's contents margins to \a left, \a top, \a right and \a bottom. |