krita
kis_gradient_chooser.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KIS_GRADIENT_CHOOSER_H_
00019 #define KIS_GRADIENT_CHOOSER_H_
00020
00021 #include <kdialogbase.h>
00022
00023 #include "kis_itemchooser.h"
00024
00025 class QLabel;
00026 class QPushButton;
00027 class KisView;
00028
00029 class KisCustomGradientDialog : public KDialogBase {
00030
00031 Q_OBJECT
00032
00033 public:
00034
00035 KisCustomGradientDialog(KisView * view, QWidget * parent, const char *name);
00036
00037 private:
00038
00039 KisAutogradient * m_page;
00040
00041 };
00042
00043 class KisGradientChooser : public KisItemChooser {
00044 typedef KisItemChooser super;
00045 Q_OBJECT
00046
00047 public:
00048
00049 KisGradientChooser(KisView * view, QWidget *parent = 0, const char *name = 0);
00050 virtual ~KisGradientChooser();
00051
00052 protected:
00053 virtual void update(KoIconItem *item);
00054
00055 private:
00056 QLabel *m_lbName;
00057 QPushButton * m_customGradient;
00058 };
00059
00060 #endif // KIS_GRADIENT_CHOOSER_H_
00061
|