23 #ifndef COLOR_SELECTOR_HPP
24 #define COLOR_SELECTOR_HPP
36 Q_PROPERTY(
Update_Mode updateMode READ updateMode WRITE setUpdateMode )
37 Q_PROPERTY(Qt::WindowModality dialogModality READ dialogModality WRITE setDialogModality )
38 Q_PROPERTY(
Color_Wheel::Display_Flags wheelFlags READ wheelFlags WRITE setWheelFlags NOTIFY wheelFlagsChanged)
49 void setUpdateMode(Update_Mode m);
50 Update_Mode updateMode()
const;
52 Qt::WindowModality dialogModality()
const;
53 void setDialogModality(Qt::WindowModality m);
55 Color_Wheel::Display_Flags wheelFlags()
const;
58 void wheelFlagsChanged(Color_Wheel::Display_Flags flags);
62 void setWheelFlags(Color_Wheel::Display_Flags flags);
67 void update_old_color(
const QColor &c);
70 void dragEnterEvent(QDragEnterEvent *event);
71 void dropEvent(QDropEvent * event);
75 void connect_dialog();
78 void disconnect_dialog();
85 #endif // COLOR_SELECTOR_HPP
Definition: color_selector.hpp:32
Update color only after the dialog has been accepted.
Definition: color_selector.hpp:42
#define QCP_EXPORT
Definition: colorpicker_global.hpp:9
Definition: color_preview.hpp:37
Update_Mode
Definition: color_selector.hpp:41
Display an analog widget that allows the selection of a HSV color.
Definition: color_wheel.hpp:36