#include <color_selector.hpp>
Color preview that opens a color dialog
Definition at line 33 of file color_selector.hpp.
Enumerator |
---|
Confirm |
Update color only after the dialog has been accepted.
|
Continuous |
Update color as it's being modified in the dialog.
|
Definition at line 42 of file color_selector.hpp.
color_widgets::ColorSelector::ColorSelector |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
color_widgets::ColorSelector::~ColorSelector |
( |
| ) |
|
void color_widgets::ColorSelector::accept_dialog |
( |
| ) |
|
|
privateslot |
void color_widgets::ColorSelector::connect_dialog |
( |
| ) |
|
|
private |
Connect/Disconnect colorChanged based on UpdateMode.
Qt::WindowModality color_widgets::ColorSelector::dialogModality |
( |
| ) |
const |
void color_widgets::ColorSelector::disconnect_dialog |
( |
| ) |
|
|
private |
Disconnect from dialog update.
void color_widgets::ColorSelector::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
protected |
void color_widgets::ColorSelector::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
protected |
void color_widgets::ColorSelector::reject_dialog |
( |
| ) |
|
|
privateslot |
void color_widgets::ColorSelector::setDialogModality |
( |
Qt::WindowModality |
m | ) |
|
void color_widgets::ColorSelector::setUpdateMode |
( |
UpdateMode |
m | ) |
|
void color_widgets::ColorSelector::setWheelFlags |
( |
ColorWheel::DisplayFlags |
flags | ) |
|
|
slot |
void color_widgets::ColorSelector::showDialog |
( |
| ) |
|
|
slot |
void color_widgets::ColorSelector::update_old_color |
( |
const QColor & |
c | ) |
|
|
privateslot |
UpdateMode color_widgets::ColorSelector::updateMode |
( |
| ) |
const |
ColorWheel::DisplayFlags color_widgets::ColorSelector::wheelFlags |
( |
| ) |
const |
void color_widgets::ColorSelector::wheelFlagsChanged |
( |
ColorWheel::DisplayFlags |
flags | ) |
|
|
signal |
Private* const color_widgets::ColorSelector::p |
|
private |
Qt::WindowModality color_widgets::ColorSelector::dialogModality |
|
readwrite |
UpdateMode color_widgets::ColorSelector::updateMode |
|
readwrite |
ColorWheel::DisplayFlags color_widgets::ColorSelector::wheelFlags |
|
readwrite |
The documentation for this class was generated from the following file: