source: trunk/src/corelib/global/qnamespace.qdoc

Last change on this file was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

  • Property svn:eol-style set to native
File size: 113.6 KB
Line 
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.
79
80 Three enum values are useful in applications that can be run in
81 right-to-left mode:
82
83 \value AlignAbsolute If the widget's layout direction is
84 Qt::RightToLeft (instead of Qt::LeftToRight, the default),
85 Qt::AlignLeft refers to the \e right edge and Qt::AlignRight
86 to the \e left edge. This is normally the desired behavior.
87 If you want Qt::AlignLeft to always mean "left" and
88 Qt::AlignRight to always mean "right", combine the flag with
89 Qt::AlignAbsolute.
90 \value AlignLeading Synonym for Qt::AlignLeft.
91 \value AlignTrailing Synonym for Qt::AlignRight.
92
93 Masks:
94
95 \value AlignHorizontal_Mask
96 \value AlignVertical_Mask
97
98 Conflicting combinations of flags have undefined meanings.
99*/
100
101/*!
102 \enum Qt::ApplicationAttribute
103