You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iBase/iProperty/PtyItems/ZxGradientDialog.h

39 lines
692 B
C++

#pragma once
#include <QDialog>
#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;
};