#include </home/clem/local/src/opie/libopie2/opieui/oselector.h>
Inheritance diagram for Opie::Ui::OValueSelector:


Public Member Functions | |
| OValueSelector (QWidget *parent=0, const char *name=0) | |
| OValueSelector (Orientation o, QWidget *parent=0, const char *name=0) | |
| int | hue () const |
| void | setHue (int h) |
| int | saturation () const |
| void | setSaturation (int s) |
| void | updateContents () |
Protected Member Functions | |
| virtual void | drawPalette (QPixmap *pixmap) |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | drawContents (QPainter *painter) |
Private Attributes | |
| int | _hue |
| int | _sat |
| QPixmap | pixmap |
| OValueSelectorPrivate * | d |
Definition at line 437 of file oselector.h.
|
||||||||||||
|
Constructs a widget for color selection. Definition at line 648 of file oselector.cpp. References pixmap. |
|
||||||||||||||||
|
Constructs a widget for color selection with a given orientation Definition at line 655 of file oselector.cpp. References pixmap. |
|
|
Reimplemented from OSelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. Reimplemented from Opie::Ui::OSelector. Definition at line 673 of file oselector.cpp. References Opie::Ui::OSelector::contentsRect(), pixmap, Opie::MM::x, and Opie::MM::y. |
|
|
Draws the contents of the widget on a pixmap, which is used for buffering. Definition at line 678 of file oselector.cpp. References _hue, _sat, col, Opie::Ui::OSelector::contentsRect(), createStandardPalette(), Opie::Ui::OImageEffect::dither(), i, image, Opie::Ui::OSelector::orientation(), p, STANDARD_PAL_SIZE, standardPalette, v, and Opie::MM::x. Referenced by updateContents(). |
|
|
Definition at line 451 of file oselector.h. References _hue. |
|
|
Definition at line 668 of file oselector.cpp. References updateContents(). |
|
|
Definition at line 455 of file oselector.h. References _sat. |
|
|
Definition at line 453 of file oselector.h. References _hue. |
|
|
Definition at line 457 of file oselector.h. References _sat. |
|
|
Definition at line 663 of file oselector.cpp. References drawPalette(), and pixmap. Referenced by resizeEvent(). |
|
|
Definition at line 479 of file oselector.h. Referenced by drawPalette(), hue(), and setHue(). |
|
|
Definition at line 480 of file oselector.h. Referenced by drawPalette(), saturation(), and setSaturation(). |
|
|
Reimplemented from Opie::Ui::OSelector. Definition at line 484 of file oselector.h. |
|
|
Definition at line 481 of file oselector.h. Referenced by drawContents(), OValueSelector(), and updateContents(). |
1.4.2