1 #ifndef MUSICCOLORDIALOG_H
2 #define MUSICCOLORDIALOG_H
44 void setColor(
const QColor &color);
55 void colorChanged(
const QColor &color);
61 void setSaturation(
double dblsaturation);
67 virtual void paintEvent(QPaintEvent *event)
override final;
68 virtual void resizeEvent(QResizeEvent *event)
override final;
69 virtual void mousePressEvent(QMouseEvent *event)
override final;
70 virtual void mouseMoveEvent(QMouseEvent *event)
override final;
74 void calculateColor();
100 double saturation()
const;
104 void setSaturation(
double dblsaturation);
110 void saturationChanged(
double dblSaturation);
116 void setBaseColor(
const QColor &color);
122 virtual void paintEvent(QPaintEvent *event)
override final;
123 virtual void resizeEvent(QResizeEvent *event)
override final;
124 virtual void mousePressEvent(QMouseEvent *event)
override final;
125 virtual void mouseMoveEvent(QMouseEvent *event)
override final;
129 void calculateSuration();
162 static QColor popup(QWidget *parent =
nullptr,
const QColor &color = {});
167 QColor color()
const;
171 void setColor(
const QColor &color);
177 void buttonClicked(
int index);
181 void colorChanged(
const QColor &color);
189 #endif // MUSICCOLORDIALOG_H
#define TTK_MODULE_EXPORT
Ui::MusicColorDialog * m_ui
The class of the color hl saturation palette.
#define TTK_DECLARE_MODULE(Class)
The class of the moving dialog base.
The class of the color hl palette.
QPointF m_ptfVernierPercentPos
The class of the get color table widget.