| 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | ** All rights reserved.
|
|---|
| 5 | ** Contact: Nokia Corporation ([email protected])
|
|---|
| 6 | **
|
|---|
| 7 | ** This file is part of the documentation of the Qt Toolkit.
|
|---|
| 8 | **
|
|---|
| 9 | ** $QT_BEGIN_LICENSE:FDL$
|
|---|
| 10 | ** Commercial Usage
|
|---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 13 | ** Software or, alternatively, in accordance with the terms contained in a
|
|---|
| 14 | ** written agreement between you and Nokia.
|
|---|
| 15 | **
|
|---|
| 16 | ** GNU Free Documentation License
|
|---|
| 17 | ** Alternatively, this file may be used under the terms of the GNU Free
|
|---|
| 18 | ** Documentation License version 1.3 as published by the Free Software
|
|---|
| 19 | ** Foundation and appearing in the file included in the packaging of this
|
|---|
| 20 | ** file.
|
|---|
| 21 | **
|
|---|
| 22 | ** If you have questions regarding the use of this file, please contact
|
|---|
| 23 | ** Nokia at [email protected].
|
|---|
| 24 | ** $QT_END_LICENSE$
|
|---|
| 25 | **
|
|---|
| 26 | ****************************************************************************/
|
|---|
| 27 |
|
|---|
| 28 | /*!
|
|---|
| 29 | \namespace Qt
|
|---|
| 30 | \inmodule QtCore
|
|---|
| 31 | \target Qt Namespace
|
|---|
| 32 |
|
|---|
| 33 | \brief The Qt namespace contains miscellaneous identifiers
|
|---|
| 34 | used throughout the Qt library.
|
|---|
| 35 | */
|
|---|
| 36 |
|
|---|
| 37 | /*!
|
|---|
| 38 | \enum Qt::Orientation
|
|---|
| 39 |
|
|---|
| 40 | This type is used to signify an object's orientation.
|
|---|
| 41 |
|
|---|
| 42 | \value Horizontal
|
|---|
| 43 | \value Vertical
|
|---|
| 44 |
|
|---|
| 45 | Orientation is used with QScrollBar for example.
|
|---|
| 46 | */
|
|---|
| 47 |
|
|---|
| 48 | /*!
|
|---|
| 49 | \enum Qt::AlignmentFlag
|
|---|
| 50 |
|
|---|
| 51 | This enum type is used to describe alignment. It contains
|
|---|
| 52 | horizontal and vertical flags that can be combined to produce
|
|---|
| 53 | the required effect.
|
|---|
| 54 |
|
|---|
| 55 | The \l{TextElideMode} enum can also be used in many situations
|
|---|
| 56 | to fine-tune the appearance of aligned text.
|
|---|
| 57 |
|
|---|
| 58 | The horizontal flags are:
|
|---|
| 59 |
|
|---|
| 60 | \value AlignLeft Aligns with the left edge.
|
|---|
| 61 | \value AlignRight Aligns with the right edge.
|
|---|
| 62 | \value AlignHCenter Centers horizontally in the available space.
|
|---|
| 63 | \value AlignJustify Justifies the text in the available space.
|
|---|
| 64 | \omitvalue AlignAuto
|
|---|
| 65 |
|
|---|
| 66 | The vertical flags are:
|
|---|
| 67 |
|
|---|
| 68 | \value AlignTop Aligns with the top.
|
|---|
| 69 | \value AlignBottom Aligns with the bottom.
|
|---|
| 70 | \value AlignVCenter Centers vertically in the available space.
|
|---|
| 71 |
|
|---|
| 72 | You can use only one of the horizontal flags at a time. There is
|
|---|
| 73 | one two-dimensional flag:
|
|---|
| 74 |
|
|---|
| 75 | \value AlignCenter Centers in both dimensions.
|
|---|
| 76 |
|
|---|
| 77 | You can use at most one horizontal and one vertical flag at a
|
|---|
| 78 | time. Qt::AlignCenter counts as both horizontal and vertical.
|
|---|
|
|---|