You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kstars/kstars/opscolors.h

68 lines
2.1 KiB

/***************************************************************************
opscolors.h - Trinity Desktop Planetarium
-------------------
begin : Sun Feb 29 2004
copyright : (C) 2004 by Jason Harris
email : jharris@30doradus.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef OPSCOLORS_H
#define OPSCOLORS_H
#include <tqstringlist.h>
#include "opscolorsui.h"
/**@class OpsColors
*The Colors page allows the user to adjust all of the colors used to
*display the night sky. The colors are presented as a list of
*colored rectangles and a description of its assignment in the map.
*Clicking on any color opens a KColorDialog for selecting a new color.
*
*The user can also load preset color schemes, or create new schemes
*from the current set of colors.
*
*@short The Colors page of the Options window.
*@author Jason Harris
*@version 1.0
*/
class TQWidget;
class KStars;
class OpsColors : public OpsColorsUI
{
Q_OBJECT
public:
OpsColors( TQWidget *parent=0, const char *name=0, WFlags fl = 0 );
~OpsColors();
private slots:
void newColor( TQListBoxItem* item );
void slotPreset( int i );
void slotAddPreset();
void slotRemovePreset();
void slotStarColorMode( int );
void slotStarColorIntensity( int );
private:
bool setColors( TQString filename );
KStars *ksw;
TQStringList PresetFileList;
};
#endif //OPSCOLORS_H