Diffstat (limited to 'core/settings/launcher/tabdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/tabdialog.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/core/settings/launcher/tabdialog.h b/core/settings/launcher/tabdialog.h index 46b7ae9..9381237 100644 --- a/core/settings/launcher/tabdialog.h +++ b/core/settings/launcher/tabdialog.h | |||
@@ -1,9 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | =. This file is part of the OPIE Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | .>+-= | 4 | .>+-= |
5 | _;:, .> :=|. This file is free software; you can | 5 | _;:, .> :=|. This file is free software; you can |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
@@ -12,13 +12,13 @@ | |||
12 | .i_,=:_. -<s. This file is distributed in the hope that | 12 | .i_,=:_. -<s. This file is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
17 | ..}^=.= = ; Public License for more details. | 17 | ..}^=.= = ; Public License for more details. |
18 | ++= -. .` .: | 18 | ++= -. .` .: |
19 | : = ...= . :.=- You should have received a copy of the GNU | 19 | : = ...= . :.=- You should have received a copy of the GNU |
20 | -. .:....=;==+<; General Public License along with this file; | 20 | -. .:....=;==+<; General Public License along with this file; |
21 | -_. . . )=. = see the file COPYING. If not, write to the | 21 | -_. . . )=. = see the file COPYING. If not, write to the |
22 | -- :-=` Free Software Foundation, Inc., | 22 | -- :-=` Free Software Foundation, Inc., |
23 | 59 Temple Place - Suite 330, | 23 | 59 Temple Place - Suite 330, |
24 | Boston, MA 02111-1307, USA. | 24 | Boston, MA 02111-1307, USA. |
@@ -34,19 +34,20 @@ | |||
34 | class QButtonGroup; | 34 | class QButtonGroup; |
35 | namespace Opie {namespace Ui {class OFontSelector;}} | 35 | namespace Opie {namespace Ui {class OFontSelector;}} |
36 | class SampleView; | 36 | class SampleView; |
37 | namespace Opie {class OColorButton;} | 37 | namespace Opie {class OColorButton;} |
38 | class QPushButton; | 38 | class QPushButton; |
39 | class QCheckBox; | 39 | class QCheckBox; |
40 | class QSpinBox; | ||
40 | 41 | ||
41 | 42 | ||
42 | class TabDialog : public QDialog { | 43 | class TabDialog : public QDialog { |
43 | Q_OBJECT | 44 | Q_OBJECT |
44 | public: | 45 | public: |
45 | TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *dname = 0, bool modal = false, WFlags = 0 ); | 46 | TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *dname = 0, bool modal = false, WFlags = 0 ); |
46 | virtual ~TabDialog ( ); | 47 | virtual ~TabDialog ( ); |
47 | 48 | ||
48 | public slots: | 49 | public slots: |
49 | virtual void accept ( ); | 50 | virtual void accept ( ); |
50 | 51 | ||
51 | protected slots: | 52 | protected slots: |
52 | void iconSizeClicked ( int ); | 53 | void iconSizeClicked ( int ); |
@@ -58,24 +59,25 @@ protected slots: | |||
58 | void bgDefaultClicked ( ); | 59 | void bgDefaultClicked ( ); |
59 | 60 | ||
60 | private: | 61 | private: |
61 | QWidget *createBgTab ( QWidget *parent ); | 62 | QWidget *createBgTab ( QWidget *parent ); |
62 | QWidget *createFontTab ( QWidget *parent ); | 63 | QWidget *createFontTab ( QWidget *parent ); |
63 | QWidget *createIconTab ( QWidget *parent ); | 64 | QWidget *createIconTab ( QWidget *parent ); |
64 | 65 | ||
65 | 66 | ||
66 | private: | 67 | private: |
67 | SampleView *m_sample; | 68 | SampleView *m_sample; |
68 | QButtonGroup *m_iconsize; | 69 | QButtonGroup *m_iconsize; |
69 | Opie::Ui::OFontSelector *m_fontselect; | 70 | Opie::Ui::OFontSelector *m_fontselect; |
70 | Opie::OColorButton *m_solidcolor; | 71 | Opie::OColorButton *m_solidcolor; |
71 | Opie::OColorButton *m_iconcolor; | 72 | Opie::OColorButton *m_iconcolor; |
73 | QSpinBox *m_iconcolumns; | ||
72 | QPushButton *m_imagebrowse; | 74 | QPushButton *m_imagebrowse; |
73 | QString m_bgimage; | 75 | QString m_bgimage; |
74 | QButtonGroup *m_bgtype; | 76 | QButtonGroup *m_bgtype; |
75 | QCheckBox *m_fontuse; | 77 | QCheckBox *m_fontuse; |
76 | 78 | ||
77 | TabConfig &m_tc; | 79 | TabConfig &m_tc; |
78 | }; | 80 | }; |
79 | 81 | ||
80 | 82 | ||
81 | #endif | 83 | #endif |