-rw-r--r-- | microkde/kcolordialog.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/microkde/kcolordialog.h b/microkde/kcolordialog.h new file mode 100644 index 0000000..bb2045d --- a/dev/null +++ b/microkde/kcolordialog.h @@ -0,0 +1,25 @@ +#ifndef MINIKDE_KCOLORDIALOG_H +#define MINIKDE_KCOLORDIALOG_H + +#include <qcolor.h> + +#include <qdialog.h> +#include <qslider.h> +#include <qlabel.h> +class KColorDialog : public QDialog +{ +Q_OBJECT + public: + KColorDialog( QWidget *p ); + QColor getColor( ) const; + void setColor( const QColor &); + private: + QSlider *r, *g, *b; + QLabel * old_color, *new_color; + QLabel *lar, *lag, *lab; +private slots: + void updateColor( int ); +}; + + +#endif |