Specify valid values for QScrollArea::setAlignment()
Change-Id: If0c19d83d97fd218fc79f44421e16ca362964e8f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
parent
b449791c35
commit
89294d04e2
@ -511,6 +511,15 @@ void QScrollArea::ensureWidgetVisible(QWidget *childWidget, int xmargin, int yma
|
|||||||
\brief the alignment of the scroll area's widget
|
\brief the alignment of the scroll area's widget
|
||||||
\since 4.2
|
\since 4.2
|
||||||
|
|
||||||
|
A valid alignment is a combination of the following flags:
|
||||||
|
\list
|
||||||
|
\li \c Qt::AlignLeft
|
||||||
|
\li \c Qt::AlignHCenter
|
||||||
|
\li \c Qt::AlignRight
|
||||||
|
\li \c Qt::AlignTop
|
||||||
|
\li \c Qt::AlignVCenter
|
||||||
|
\li \c Qt::AlignBottom
|
||||||
|
\endlist
|
||||||
By default, the widget stays rooted to the top-left corner of the
|
By default, the widget stays rooted to the top-left corner of the
|
||||||
scroll area.
|
scroll area.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user