diff options
| author | Jan Arve Saether <jan-arve.saether@digia.com> | 2013-09-23 14:03:39 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-27 21:04:06 +0200 |
| commit | a779ce236ef2606eb27b023ca4538533bb9d2d2b (patch) | |
| tree | dab2ddbe31b582e1b7b0779ee2a0bee0b540f5e5 /src | |
| parent | e91552fad345ccf456079fc5c485bc42b0467096 (diff) | |
Show list of valid flags for the alignment property
Change-Id: I9671e4f545454ac08436a622010d2a38061dd72b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/layouts/qquicklayout.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/layouts/qquicklayout.cpp b/src/layouts/qquicklayout.cpp index 3050cd760..709a88e67 100644 --- a/src/layouts/qquicklayout.cpp +++ b/src/layouts/qquicklayout.cpp @@ -409,6 +409,18 @@ void QQuickLayoutAttached::setColumn(int column) This property allows you to specify the alignment of an item within the cell(s) it occupies. The default value is \c 0, which means it will be \c{Qt.AlignVCenter | Qt.AlignLeft} + + A valid alignment is a combination of the following flags: + \list + \li Qt::AlignLeft + \li Qt::AlignHCenter + \li Qt::AlignRight + \li Qt::AlignTop + \li Qt::AlignVCenter + \li Qt::AlignBottom + \li Qt::AlignBaseline + \endlist + */ void QQuickLayoutAttached::setAlignment(Qt::Alignment align) { |
