-rw-r--r-- | libopie/otabwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index 9f16f14..6a0fbe8 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h | |||
@@ -1,74 +1,74 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | 3 | ||
4 | Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | 4 | Copyright (c) 2002 Dan Williams <williamsdr@acm.org> |
5 | =. | 5 | =. |
6 | .=l. | 6 | .=l. |
7 | .>+-= | 7 | .>+-= |
8 | _;:, .> :=|. This program is free software; you can | 8 | _;:, .> :=|. This program is free software; you can |
9 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, > . <= redistribute it and/or modify it under |
10 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
11 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, .._ License as published by the Free Software |
12 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | - . .-<_> .<> Foundation; either version 2 of the License, |
13 | ._= =} : or (at your option) any later version. | 13 | ._= =} : or (at your option) any later version. |
14 | .%`+i> _;_. | 14 | .%`+i> _;_. |
15 | .i_,=:_. -<s. This program is distributed in the hope that | 15 | .i_,=:_. -<s. This program is distributed in the hope that |
16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | : .. .:, . . . without even the implied warranty of | 17 | : .. .:, . . . without even the implied warranty of |
18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | ..}^=.= = ; Library General Public License for more | 20 | ..}^=.= = ; Library General Public License for more |
21 | ++= -. .` .: details. | 21 | ++= -. .` .: details. |
22 | : = ...= . :.=- | 22 | : = ...= . :.=- |
23 | -. .:....=;==+<; You should have received a copy of the GNU | 23 | -. .:....=;==+<; You should have received a copy of the GNU |
24 | -_. . . )=. = Library General Public License along with | 24 | -_. . . )=. = Library General Public License along with |
25 | -- :-=` this library; see the file COPYING.LIB. | 25 | -- :-=` this library; see the file COPYING.LIB. |
26 | If not, write to the Free Software Foundation, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | 27 | Inc., 59 Temple Place - Suite 330, |
28 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
29 | 29 | ||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef OTABWIDGET_H | 32 | #ifndef OTABWIDGET_H |
33 | #define OTABWIDGET_H | 33 | #define OTABWIDGET_H |
34 | 34 | ||
35 | #include "otabinfo.h" | 35 | #include "otabinfo.h" |
36 | 36 | ||
37 | #include <qwidget.h> | 37 | #include <qwidget.h> |
38 | #include <qlist.h> | 38 | #include <qlist.h> |
39 | 39 | ||
40 | class QComboBox; | 40 | class QComboBox; |
41 | class QPixmap; | 41 | class QPixmap; |
42 | class QTabBar; | 42 | class QTabBar; |
43 | class QWidgetStack; | 43 | class QWidgetStack; |
44 | 44 | ||
45 | /** | 45 | /** |
46 | * @class OTabWidget | 46 | * @class OTabWidget |
47 | * @brief The OTabWidget class provides a stack of widgets. | 47 | * @brief The OTabWidget class provides a stack of widgets. |
48 | * | 48 | * |
49 | * OTabWidget is a derivation of TrollTech's QTabWidget which provides | 49 | * OTabWidget is a derivation of TrollTech's QTabWidget which provides |
50 | * a stack of widgets. Widgets can be selected using either a tab bar or | 50 | * a stack of widgets. Widgets can be selected using either a tab bar or |
51 | * drop down list box. | 51 | * drop down list box. |
52 | * | 52 | * |
53 | * The normal way to use OTabWidget is to do the following in the | 53 | * The normal way to use OTabWidget is to do the following in the |
54 | * constructor: | 54 | * constructor: |
55 | * - Create a OTabWidget. | 55 | * - Create a OTabWidget. |
56 | * - Create a QWidget for each of the pages in the control, insert | 56 | * - Create a QWidget for each of the pages in the control, insert |
57 | * children into it, set up geometry management for it, and use addTab() | 57 | * children into it, set up geometry management for it, and use addTab() |
58 | * to add the widget. | 58 | * to add the widget. |
59 | */ | 59 | */ |
60 | class OTabWidget : public QWidget | 60 | class OTabWidget : public QWidget |
61 | { | 61 | { |
62 | Q_OBJECT | 62 | Q_OBJECT |
63 | public: | 63 | public: |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * @enum TabStyle | 66 | * @enum TabStyle |
67 | * @brief Defines how the widget selection control is displayed. | 67 | * @brief Defines how the widget selection control is displayed. |
68 | * | 68 | * |
69 | * Valid values: | 69 | * Valid values: |
70 | * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition) | 70 | * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition) |
71 | * - TextTab: Tabbed widget selection with text labels | 71 | * - TextTab: Tabbed widget selection with text labels |
72 | * - IconTab: Tabbed widget selection with icon labels, text label for active widget | 72 | * - IconTab: Tabbed widget selection with icon labels, text label for active widget |
73 | * (similar to Opie launcher) | 73 | * (similar to Opie launcher) |
74 | * - TextList: Drop down list widget selection with text labels | 74 | * - TextList: Drop down list widget selection with text labels |