23 #ifndef COLOR_DIALOG_HPP
24 #define COLOR_DIALOG_HPP
32 class QAbstractButton;
38 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged DESIGNABLE true)
39 Q_PROPERTY(
Color_Wheel::Display_Flags wheelFlags READ wheelFlags WRITE setWheelFlags NOTIFY wheelFlagsChanged)
48 explicit Color_Dialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
69 void setAlphaEnabled(
bool a);
71 bool alphaEnabled()
const;
81 void setButtonMode(Button_Mode mode);
82 Button_Mode buttonMode()
const;
84 QSize sizeHint()
const;
86 Color_Wheel::Display_Flags wheelFlags()
const;
93 void setColor(
const QColor &c);
98 void showColor(
const QColor &oldcolor);
100 void setWheelFlags(Color_Wheel::Display_Flags flags);
106 void colorChanged(QColor);
111 void colorSelected(QColor);
113 void wheelFlagsChanged(Color_Wheel::Display_Flags flags);
117 void update_widgets();
123 void on_edit_hex_editingFinished();
124 void on_edit_hex_textEdited(
const QString &arg1);
126 void on_buttonBox_clicked(QAbstractButton*);
130 void setColorInternal(
const QColor &color);
133 void dragEnterEvent(QDragEnterEvent *event);
134 void dropEvent(QDropEvent * event);
135 void mouseReleaseEvent(QMouseEvent *event);
136 void mouseMoveEvent(QMouseEvent *event);
143 #endif // COLOR_DIALOG_HPP
Button_Mode
Definition: color_dialog.hpp:42
Definition: color_dialog.hpp:44
#define QCP_EXPORT
Definition: colorpicker_global.hpp:9
Definition: color_dialog.hpp:43
Display an analog widget that allows the selection of a HSV color.
Definition: color_wheel.hpp:36
Display_Mode
Definition: color_preview.hpp:45
Definition: color_dialog.hpp:34