author | sandman <sandman> | 2002-09-20 01:42:10 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-20 01:42:10 (UTC) |
commit | b1f3d33cb0b3f203f153074a8812d5988c3031b2 (patch) (unidiff) | |
tree | 1734ac2808dab8f0982b23a2a9101486fcdcfee5 /noncore/settings/appearance2/editScheme.h | |
parent | 9204c61f669fb265f6c5f14bfd6ca363a2929e40 (diff) | |
download | opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.zip opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.tar.gz opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.tar.bz2 |
New experimental appearance settings
Diffstat (limited to 'noncore/settings/appearance2/editScheme.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/editScheme.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h new file mode 100644 index 0000000..cf238c6 --- a/dev/null +++ b/noncore/settings/appearance2/editScheme.h | |||
@@ -0,0 +1,48 @@ | |||
1 | /********************************************************************** | ||
2 | ** EditScheme | ||
3 | ** | ||
4 | ** Dialog for editing color scheme | ||
5 | ** | ||
6 | ** Copyright (C) 2002, Dan Williams | ||
7 | ** williamsdr@acm.org | ||
8 | ** http://draknor.net | ||
9 | ** | ||
10 | ** This file may be distributed and/or modified under the terms of the | ||
11 | ** GNU General Public License version 2 as published by the Free Software | ||
12 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
13 | ** packaging of this file. | ||
14 | ** | ||
15 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
16 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
17 | ** | ||
18 | **********************************************************************/ | ||
19 | |||
20 | #ifndef EDITSCHEME_H | ||
21 | #define EDITSCHEME_H | ||
22 | |||
23 | #include <qdialog.h> | ||
24 | #include <qtoolbutton.h> | ||
25 | |||
26 | class QColor; | ||
27 | |||
28 | class EditScheme : public QDialog | ||
29 | { | ||
30 | Q_OBJECT | ||
31 | |||
32 | public: | ||
33 | EditScheme( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, | ||
34 | int = 0, QString[] = 0, QString[] = 0 ); | ||
35 | ~EditScheme(); | ||
36 | |||
37 | int maxCount; | ||
38 | QString surfaceList[9]; | ||
39 | QString colorList[9]; | ||
40 | |||
41 | |||
42 | QToolButton* colorButtons[9]; | ||
43 | |||
44 | protected slots: | ||
45 | void changeColor( const QColor& ); | ||
46 | }; | ||
47 | |||
48 | #endif // EDITSCHEME_H | ||