16 #ifndef COLORSPINBOXGROUP_H
17 #define COLORSPINBOXGROUP_H
19 #include <QPaintEvent>
20 #include "basedockwidget.h"
30 friend class ColorSliders;
37 void initUI()
override;
38 void updateUI()
override;
41 void colorChanged(
const QColor& c);
42 void colorSpecChanged(
const bool& isRgb);
45 void setColor(
QColor newColor);
48 void onColorSpecChanged();
49 void onColorChanged();
50 void onColorChanged(
const QColor& color);
53 void updateControls();
55 Ui::ColorInspector* ui =
nullptr;
56 bool isRgbColors =
true;
60 #endif // COLORSPINBOXGROUP_H
QObject * parent() const const