1 #ifndef MUSICCOLORDIALOG_H
2 #define MUSICCOLORDIALOG_H
39 QColor color()
const noexcept;
43 void setColor(
const QColor &color);
54 void colorChanged(
const QColor &color);
60 void setSaturation(
double dblsaturation);
66 virtual void paintEvent(QPaintEvent *event)
override final;
67 virtual void resizeEvent(QResizeEvent *event)
override final;
68 virtual void mousePressEvent(QMouseEvent *event)
override final;
69 virtual void mouseMoveEvent(QMouseEvent *event)
override final;
73 void calculateColor();
98 double saturation()
const noexcept;
102 void setSaturation(
double dblsaturation);
108 void saturationChanged(
double dblSaturation);
114 void setBaseColor(
const QColor &color);
120 virtual void paintEvent(QPaintEvent *event)
override final;
121 virtual void resizeEvent(QResizeEvent *event)
override final;
122 virtual void mousePressEvent(QMouseEvent *event)
override final;
123 virtual void mouseMoveEvent(QMouseEvent *event)
override final;
127 void calculateSuration();
159 static QColor popup(QWidget *parent =
nullptr,
const QColor &color = {});
164 QColor color()
const noexcept;
168 void setColor(
const QColor &color);
174 void buttonClicked(
int index);
178 void colorChanged(
const QColor &color);
186 #endif // MUSICCOLORDIALOG_H
#define TTK_MODULE_EXPORT
Ui::MusicColorDialog * m_ui
The class of the color hl saturation palette.
TTK_MODULE_EXPORT void initialize(TTK::Attribute attr)
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.