OColorButton Class Reference
A Button which will show a OColorPopupMenu. More...
#include <ocolorbutton.h>
Inheritance diagram for OColorButton:


Public Slots | |
| virtual void | setColor (const QColor &) |
| This method sets the color of the button. | |
Signals | |
| void | colorSelected (const QColor &) |
| emitted when a color gets selected | |
Public Member Functions | |
| OColorButton (QWidget *parent=0, const QColor &=black, const char *name=0) | |
| This concstructs a Color Button with. | |
| virtual | ~OColorButton () |
| This destructs the object. | |
| QColor | color () const |
Protected Slots | |
| virtual void | updateColor (const QColor &) |
Detailed Description
A Button which will show a OColorPopupMenu.
- Author:
- Robert Griebl ( sandman@handhelds.org )
- Version:
- 1.0
- See also:
- QPushButton
Definition at line 44 of file ocolorbutton.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
This concstructs a Color Button with.
Definition at line 51 of file ocolorbutton.cpp. References colorSelected(), QObject::connect(), QWidget::setMaximumSize(), QWidget::setMinimumSize(), QPushButton::setPopup(), and QWidget::sizeHint(). |
|
|
This destructs the object.
Definition at line 71 of file ocolorbutton.cpp. |
Member Function Documentation
|
|
Definition at line 79 of file ocolorbutton.cpp. |
|
|
emitted when a color gets selected
Referenced by OColorButton(). |
|
|
This method sets the color of the button.
Definition at line 88 of file ocolorbutton.cpp. |
The documentation for this class was generated from the following files:
