#pragma once #include #include "ZxGradient.h" #include "iProperty_global.h" namespace Ui { class ZxGradientDialog; } class I_PROPERTY_EXPORT ZxGradientDialog : public QDialog { Q_OBJECT public: explicit ZxGradientDialog(QWidget *parent = 0); ~ZxGradientDialog(); void setColorGradient( const ZxGradient& colorGradient ); ZxGradient getColorGradient(); public slots: void slotChangeColor(); void slotDeletePicker(); void slotIndexChanged(int); void slotRefresh(); void slotColorCountChanged(int); void slotInterpolationChanged(int); void slotOk(); void slotCancel(); private: Ui::ZxGradientDialog *ui; };