pcolorcombo.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
00018
00019
00020 #ifndef PCOLORCOMBO_H
00021 #define PCOLORCOMBO_H
00022
00023 #include "propertywidget.h"
00024
00025 class KColorCombo;
00026
00027 namespace PropertyLib{
00028
00032 class PColorCombo: public PropertyWidget{
00033 Q_OBJECT
00034 public:
00035 PColorCombo(MultiProperty *property, QWidget *parent = 0, const char *name = 0);
00036
00038 virtual QVariant value() const;
00041 virtual void setValue(const QVariant &value, bool emitChange=true);
00043 virtual void drawViewer(QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value);
00044
00045 private slots:
00046 void updateProperty(int val);
00047
00048 private:
00049 KColorCombo *m_edit;
00050 };
00051
00052 }
00053
00054 #endif
This file is part of the documentation for KDevelop Version 3.1.2.