1 #ifndef GRADIENTDIALOG_H
2 #define GRADIENTDIALOG_H
5 #include <QListWidgetItem>
20 QGradientStops
getGradient(
const QGradientStops& prevGradient);
35 QIcon
makeIcon(
const Preset& preset);
53 #endif // GRADIENTDIALOG_H
void currentChanged(QColor color, bool spontaneous, int position)
QMap< QString, Preset > presets
void on_presetDelete_clicked()
void on_stopPos_valueChanged(int arg1)
void on_presetList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
void on_stopOpacity_valueChanged(int arg1)
QGradientStops getGradient(const QGradientStops &prevGradient)
void setPreset(const QString &newPreset)
void on_presetName_textEdited(const QString &arg1)
GradientDialog(QWidget *parent=0)
Preset(QString _name, const QGradientStops &_gradient)
void on_presetSave_clicked()
Preset(QString _name, bool _builtIn=false)
void colorChanged(QColor color)
void addPreset(const Preset &preset)
QIcon makeIcon(const Preset &preset)