summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/editScheme.h
authorsandman <sandman>2002-09-24 23:53:23 (UTC)
committer sandman <sandman>2002-09-24 23:53:23 (UTC)
commit5ae62a1def1d21c4827560607b208033d6054ed0 (patch) (unidiff)
tree445b34a539ec9f377d36ba9fb1587c72dafa46b0 /noncore/settings/appearance2/editScheme.h
parenta390040768072b4b2b931ec0bcdaaa55daae0b4c (diff)
downloadopie-5ae62a1def1d21c4827560607b208033d6054ed0.zip
opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.gz
opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.bz2
- updated all copyright headers
- use new OColorButton - rearranged editScheme a bit
Diffstat (limited to 'noncore/settings/appearance2/editScheme.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/editScheme.h73
1 files changed, 39 insertions, 34 deletions
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h
index 583050f..0a025bd 100644
--- a/noncore/settings/appearance2/editScheme.h
+++ b/noncore/settings/appearance2/editScheme.h
@@ -1,48 +1,53 @@
1/********************************************************************** 1/*
2** EditScheme 2               =. This file is part of the OPIE Project
3** 3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4** Dialog for editing color scheme 4           .>+-=
5** 5 _;:,     .>    :=|. This library is free software; you can
6** Copyright (C) 2002, Dan Williams 6.> <`_,   >  .   <= redistribute it and/or modify it under
7** williamsdr@acm.org 7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
8** http://draknor.net 8.="- .-=="i,     .._ License as published by the Free Software
9** 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10** This file may be distributed and/or modified under the terms of the 10     ._= =}       : or (at your option) any later version.
11** GNU General Public License version 2 as published by the Free Software 11    .%`+i>       _;_.
12** Foundation and appearing in the file LICENSE.GPL included in the 12    .i_,=:_.      -<s. This library is distributed in the hope that
13** packaging of this file. 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14** 14    : ..    .:,     . . . without even the implied warranty of
15** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17** 17..}^=.=       =       ; Library General Public License for more
18**********************************************************************/ 18++=   -.     .`     .: details.
19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = Library General Public License along with
22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
19 28
20#ifndef EDITSCHEME_H 29#ifndef EDITSCHEME_H
21#define EDITSCHEME_H 30#define EDITSCHEME_H
22 31
23#include <qdialog.h> 32#include <qdialog.h>
24#include <qtoolbutton.h>
25 33
26class QColor; 34class QColor;
35class OColorButton;
27 36
28class EditScheme : public QDialog 37class EditScheme : public QDialog {
29{ 38 Q_OBJECT
30 Q_OBJECT
31 39
32public: 40public:
33 EditScheme( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, 41 EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
34 int = 0, QString * = 0, QString * = 0 ); 42 virtual ~EditScheme ( );
35 ~EditScheme();
36
37 int maxCount;
38 QString * surfaceList;
39 QString * colorList;
40
41
42 QToolButton** colorButtons;
43 43
44protected slots: 44protected slots:
45 void changeColor( const QColor& ); 45 virtual void accept ( );
46
47private:
48 int m_count;
49 QColor *m_colors;
50 OColorButton **m_buttons;
46}; 51};
47 52
48#endif // EDITSCHEME_H 53#endif