![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|


Public Slots | |
| void | getColorFromDialog () |
Signals | |
| void | selected (const QColor &) |
| void | hid () |
Public Member Functions | |
| ColorPickerPopup (int width, bool withColorDialog, QWidget *parent=0) | |
| ~ColorPickerPopup () | |
| void | insertColor (const QColor &col, const QString &text, int index) |
| void | exec () |
| void | setExecFlag () |
| QColor | lastSelected () const |
| ColorPickerItem * | find (const QColor &col) const |
| QColor | color (int index) const |
Protected Slots | |
| void | updateSelected () |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *e) |
| void | showEvent (QShowEvent *e) |
| void | hideEvent (QHideEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
| void | regenerateGrid () |
Definition at line 171 of file qtcolorpicker.cpp.
| Widgets::ColorPickerPopup::ColorPickerPopup | ( | int | width, |
| bool | withColorDialog, | ||
| QWidget * | parent = 0 |
||
| ) |
Definition at line 478 of file qtcolorpicker.cpp.
References getColorFromDialog(), cloudViewer::core::Minimum(), regenerateGrid(), and width.
| Widgets::ColorPickerPopup::~ColorPickerPopup | ( | ) |
Definition at line 508 of file qtcolorpicker.cpp.
| QColor Widgets::ColorPickerPopup::color | ( | int | index | ) | const |
Definition at line 569 of file qtcolorpicker.cpp.
Referenced by Widgets::QtColorPicker::color().
| void Widgets::ColorPickerPopup::exec | ( | ) |
Definition at line 579 of file qtcolorpicker.cpp.
References e.
Referenced by Widgets::QtColorPicker::GetColor().
| ColorPickerItem * Widgets::ColorPickerPopup::find | ( | const QColor & | col | ) | const |
Definition at line 517 of file qtcolorpicker.cpp.
Referenced by insertColor(), and Widgets::QtColorPicker::setCurrentColor().
|
slot |
Definition at line 827 of file qtcolorpicker.cpp.
References insertColor(), rgb, and selected().
Referenced by ColorPickerPopup().
|
signal |
Referenced by hideEvent().
|
protected |
Definition at line 739 of file qtcolorpicker.cpp.
| void Widgets::ColorPickerPopup::insertColor | ( | const QColor & | col, |
| const QString & | text, | ||
| int | index | ||
| ) |
Definition at line 530 of file qtcolorpicker.cpp.
References find(), lastSelected(), regenerateGrid(), selected(), Widgets::ColorPickerItem::setSelected(), and updateSelected().
Referenced by Widgets::QtColorPicker::GetColor(), getColorFromDialog(), and Widgets::QtColorPicker::insertColor().
|
protected |
Definition at line 624 of file qtcolorpicker.cpp.
References Widgets::ColorPickerItem::color(), columnCount(), e, selected(), and Widgets::ColorPickerItem::setSelected().
| QColor Widgets::ColorPickerPopup::lastSelected | ( | ) | const |
Definition at line 753 of file qtcolorpicker.cpp.
Referenced by Widgets::QtColorPicker::GetColor(), and insertColor().
|
protected |
Definition at line 616 of file qtcolorpicker.cpp.
References e.
|
protected |
Definition at line 786 of file qtcolorpicker.cpp.
References cloudViewer::utility::ceil().
Referenced by ColorPickerPopup(), and insertColor().
|
signal |
Referenced by getColorFromDialog(), insertColor(), keyPressEvent(), and updateSelected().
| void Widgets::ColorPickerPopup::setExecFlag | ( | ) |
|
protected |
Definition at line 760 of file qtcolorpicker.cpp.
|
protectedslot |
Definition at line 591 of file qtcolorpicker.cpp.
References Widgets::ColorPickerItem::color(), selected(), and Widgets::ColorPickerItem::setSelected().
Referenced by insertColor().