kstars
opscolors.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef OPSCOLORS_H
00018 #define OPSCOLORS_H
00019
00020 #include <qstringlist.h>
00021
00022 #include "opscolorsui.h"
00023
00038 class QWidget;
00039 class KStars;
00040
00041 class OpsColors : public OpsColorsUI
00042 {
00043 Q_OBJECT
00044
00045 public:
00046 OpsColors( QWidget *parent=0, const char *name=0, WFlags fl = 0 );
00047 ~OpsColors();
00048
00049 private slots:
00050 void newColor( QListBoxItem* item );
00051 void slotPreset( int i );
00052 void slotAddPreset();
00053 void slotRemovePreset();
00054 void slotStarColorMode( int );
00055 void slotStarColorIntensity( int );
00056
00057 private:
00058 bool setColors( QString filename );
00059
00060 KStars *ksw;
00061
00062 QStringList PresetFileList;
00063 };
00064
00065 #endif //OPSCOLORS_H
00066