Public Slots | |
void | getColorFromDialog () |
Signals | |
void | hid () |
void | selected (const QColor &) |
Public Member Functions | |
QColor | color (int index) const |
ColorPickerPopup (int width, bool withColorDialog, QWidget *parent=0) | |
void | exec () |
ColorPickerItem * | find (const QColor &col) const |
void | insertColor (const QColor &col, const QString &text, int index) |
QColor | lastSelected () const |
void | setExecFlag () |
void | setLastSel (const QColor &col) |
~ColorPickerPopup () | |
Protected Slots | |
void | updateSelected () |
Protected Member Functions | |
void | hideEvent (QHideEvent *e) |
void | keyPressEvent (QKeyEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
void | regenerateGrid () |
void | showEvent (QShowEvent *e) |
Constructor & Destructor Documentation
◆ ColorPickerPopup()
References getColorFromDialog(), and regenerateGrid().
◆ ~ColorPickerPopup()
ColorPickerPopup::~ColorPickerPopup | ( | ) |
Member Function Documentation
◆ color()
QColor ColorPickerPopup::color | ( | int | index | ) | const |
Referenced by ArchSite.Compass::buildCoordinates(), and QtColorPicker::color().
◆ exec()
void ColorPickerPopup::exec | ( | ) |
Referenced by QtColorPicker::getColor().
◆ find()
ColorPickerItem * ColorPickerPopup::find | ( | const QColor & | col | ) | const |
Referenced by insertColor(), and QtColorPicker::setCurrentColor().
◆ getColorFromDialog
|
slot |
References insertColor(), and selected().
Referenced by ColorPickerPopup().
◆ hid
|
signal |
Referenced by hideEvent().
◆ hideEvent()
|
protected |
References hid().
◆ insertColor()
void ColorPickerPopup::insertColor | ( | const QColor & | col, |
const QString & | text, | ||
int | index | ||
) |
References find(), lastSelected(), regenerateGrid(), selected(), ColorPickerItem::setSelected(), and updateSelected().
Referenced by QtColorPicker::getColor(), getColorFromDialog(), and QtColorPicker::insertColor().
◆ keyPressEvent()
|
protected |
References ColorPickerItem::color(), selected(), and ColorPickerItem::setSelected().
◆ lastSelected()
QColor ColorPickerPopup::lastSelected | ( | ) | const |
Referenced by QtColorPicker::getColor(), and insertColor().
◆ mouseReleaseEvent()
|
protected |
◆ regenerateGrid()
|
protected |
Referenced by ColorPickerPopup(), and insertColor().
◆ selected
|
signal |
Referenced by getColorFromDialog(), insertColor(), keyPressEvent(), and updateSelected().
◆ setExecFlag()
void ColorPickerPopup::setExecFlag | ( | ) |
◆ setLastSel()
void ColorPickerPopup::setLastSel | ( | const QColor & | col | ) |
Referenced by QtColorPicker::setCurrentColor().
◆ showEvent()
|
protected |
◆ updateSelected
|
protectedslot |
References ColorPickerItem::color(), selected(), and ColorPickerItem::setSelected().
Referenced by insertColor().
The documentation for this class was generated from the following file:
- src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp