1 /***************************************************************************
2 opscolors.h - K Desktop Planetarium
4 begin : Sun Feb 29 2004
5 copyright : (C) 2004 by Jason Harris
6 email : jharris@30doradus.org
7 ***************************************************************************/
8 /***************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
15 ***************************************************************************/
20 #include <qstringlist.h>
22 #include "opscolorsui.h"
25 *The Colors page allows the user to adjust all of the colors used to
26 *display the night sky. The colors are presented as a list of
27 *colored rectangles and a description of its assignment in the map.
28 *Clicking on any color opens a KColorDialog for selecting a new color.
30 *The user can also load preset color schemes, or create new schemes
31 *from the current set of colors.
33 *@short The Colors page of the Options window.
41 class OpsColors
: public OpsColorsUI
46 OpsColors( QWidget
*parent
=0, const char *name
=0, WFlags fl
= 0 );
50 void newColor( QListBoxItem
* item
);
51 void slotPreset( int i
);
53 void slotRemovePreset();
54 void slotStarColorMode( int );
55 void slotStarColorIntensity( int );
58 bool setColors( QString filename
);
62 QStringList PresetFileList
;