46 QColor getColor(qreal h, qreal s, qreal v);
49 void pickColor(QPoint pos);
50 QCursor pickColorCursor();
54 void pickedColor(QColor color);
57 void paintEvent(QPaintEvent *);
58#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
59 void enterEvent(QEvent *e);
61 void enterEvent(QEnterEvent *e);
63 void leaveEvent(QEvent *e);
64 void mousePressEvent(QMouseEvent *e);
65 void mouseMoveEvent(QMouseEvent *e);
66 void mouseReleaseEvent(QMouseEvent *e);
100 void initConnection();
101 void setRgbEdit(QColor color,
bool btnColor =
false);
102 void convertColor(QColor color,
bool btnColor =
false);
104 void selectColorButton(QColor color);
105 void signalColorChanged(QColor color);
107 void slotColorPick(QString uuid, QString colorName);
108 void slotEditColor(QString str);
111 QList<ColorButton *> btnlist;
112 QList<QColor> colorList;
113 QButtonGroup *btnGroup;
116 QDBusInterface *pinterface;