|
QtiPlot
0.9.8.2
|
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 () |
| ~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) |
Private Attributes | |
| int | cols |
| QEventLoop * | eventLoop |
| QGridLayout * | grid |
| QList< ColorPickerItem * > | items |
| int | lastPos |
| QColor | lastSel |
| ColorPickerButton * | moreButton |
| QMap< int, QMap< int, QWidget * > > | widgetAt |
| ColorPickerPopup::ColorPickerPopup | ( | int | width, |
| bool | withColorDialog, | ||
| QWidget * | parent = 0 |
||
| ) |
References cols, eventLoop, getColorFromDialog(), grid, moreButton, and regenerateGrid().
| ColorPickerPopup::~ColorPickerPopup | ( | ) |
References eventLoop.
| QColor ColorPickerPopup::color | ( | int | index | ) | const |
References items.
Referenced by QtColorPicker::color().
| void ColorPickerPopup::exec | ( | ) |
References eventLoop.
Referenced by QtColorPicker::getColor().
| ColorPickerItem * ColorPickerPopup::find | ( | const QColor & | col | ) | const |
References items.
Referenced by QtColorPicker::buttonPressed(), insertColor(), and QtColorPicker::setCurrentColor().
|
slot |
References insertColor(), lastSel, and selected().
Referenced by ColorPickerPopup().
|
signal |
Referenced by hideEvent().
| void ColorPickerPopup::insertColor | ( | const QColor & | col, |
| const QString & | text, | ||
| int | index | ||
| ) |
References find(), items, lastSel, lastSelected(), regenerateGrid(), selected(), ColorPickerItem::setSelected(), and updateSelected().
Referenced by QtColorPicker::getColor(), getColorFromDialog(), and QtColorPicker::insertColor().
|
protected |
References ColorPickerItem::color(), grid, lastSel, selected(), ColorPickerItem::setSelected(), and widgetAt.
| QColor ColorPickerPopup::lastSelected | ( | ) | const |
References lastSel.
Referenced by QtColorPicker::getColor(), and insertColor().
|
protected |
|
protected |
References cols, grid, items, moreButton, and widgetAt.
Referenced by ColorPickerPopup(), and insertColor().
|
signal |
Referenced by getColorFromDialog(), insertColor(), keyPressEvent(), and updateSelected().
| void ColorPickerPopup::setExecFlag | ( | ) |
|
protectedslot |
References ColorPickerItem::color(), grid, lastSel, selected(), and ColorPickerItem::setSelected().
Referenced by insertColor().
|
private |
Referenced by ColorPickerPopup(), and regenerateGrid().
|
private |
Referenced by ColorPickerPopup(), exec(), hideEvent(), and ~ColorPickerPopup().
|
private |
Referenced by ColorPickerPopup(), keyPressEvent(), regenerateGrid(), showEvent(), and updateSelected().
|
private |
Referenced by color(), find(), insertColor(), regenerateGrid(), and showEvent().
|
private |
|
private |
Referenced by getColorFromDialog(), insertColor(), keyPressEvent(), lastSelected(), and updateSelected().
|
private |
Referenced by ColorPickerPopup(), and regenerateGrid().
|
private |
Referenced by keyPressEvent(), regenerateGrid(), and showEvent().
1.8.6