|
BALL
1.4.1
|
#include <BALL/VIEW/WIDGETS/colorButton.h>
Public Slots | |
| void | chooseColor () |
Signals | |
| void | colorChanged (QColor color) |
Public Member Functions | |
| ColorButton (QWidget *parent) | |
| ColorButton (const QColor &color, QWidget *parent) | |
| ColorButton (const QColor &color, const QColor &default_color, QWidget *parent) | |
| ColorButton (const ColorRGBA &color, QWidget *parent) | |
| ColorButton (const ColorRGBA &color, const ColorRGBA &defaultColor, QWidget *parent) | |
| virtual | ~ColorButton () |
| void | setColor (const QColor &color) |
| void | setColor (const ColorRGBA &color) |
| const QColor & | getColor () const |
| void | setDefaultColor (const QColor &color) |
| void | setDefaultColor (const ColorRGBA &color) |
| const QColor & | getDefaultColor () const |
| void | setEnableAlpha (bool enable) |
| bool | isAlphaEnabled () const |
| QSize | sizeHint () const |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *evt) |
Protected Attributes | |
| bool | enable_alpha_ |
Properties | |
| QColor | color_ |
| QColor | default_color_ |
Private Member Functions | |
| void | setup_ () |
Definition at line 19 of file colorButton.h.
| BALL::VIEW::ColorButton::ColorButton | ( | QWidget * | parent | ) | [explicit] |
| BALL::VIEW::ColorButton::ColorButton | ( | const QColor & | color, |
| QWidget * | parent | ||
| ) | [explicit] |
| BALL::VIEW::ColorButton::ColorButton | ( | const QColor & | color, |
| const QColor & | default_color, | ||
| QWidget * | parent | ||
| ) | [explicit] |
| BALL::VIEW::ColorButton::ColorButton | ( | const ColorRGBA & | color, |
| QWidget * | parent | ||
| ) | [explicit] |
| BALL::VIEW::ColorButton::ColorButton | ( | const ColorRGBA & | color, |
| const ColorRGBA & | defaultColor, | ||
| QWidget * | parent | ||
| ) | [explicit] |
| virtual BALL::VIEW::ColorButton::~ColorButton | ( | ) | [virtual] |
| void BALL::VIEW::ColorButton::chooseColor | ( | ) | [slot] |
| void BALL::VIEW::ColorButton::colorChanged | ( | QColor | color | ) | [signal] |
| const QColor& BALL::VIEW::ColorButton::getColor | ( | ) | const |
| const QColor& BALL::VIEW::ColorButton::getDefaultColor | ( | ) | const |
| bool BALL::VIEW::ColorButton::isAlphaEnabled | ( | ) | const |
| virtual void BALL::VIEW::ColorButton::paintEvent | ( | QPaintEvent * | evt | ) | [protected, virtual] |
| void BALL::VIEW::ColorButton::setColor | ( | const QColor & | color | ) |
| void BALL::VIEW::ColorButton::setColor | ( | const ColorRGBA & | color | ) |
| void BALL::VIEW::ColorButton::setDefaultColor | ( | const QColor & | color | ) |
| void BALL::VIEW::ColorButton::setDefaultColor | ( | const ColorRGBA & | color | ) |
| void BALL::VIEW::ColorButton::setEnableAlpha | ( | bool | enable | ) |
| void BALL::VIEW::ColorButton::setup_ | ( | ) | [private] |
| QSize BALL::VIEW::ColorButton::sizeHint | ( | ) | const |
bool BALL::VIEW::ColorButton::enable_alpha_ [protected] |
Definition at line 57 of file colorButton.h.
QColor BALL::VIEW::ColorButton::color_ [read, write] |
Definition at line 22 of file colorButton.h.
QColor BALL::VIEW::ColorButton::default_color_ [read, write] |
Definition at line 23 of file colorButton.h.
1.7.6.1