#include <BALL/VIEW/WIDGETS/colorButton.h>
Protected Member Functions |
virtual void | paintEvent (QPaintEvent *evt) |
Private Member Functions |
void | setup_ () |
Detailed Description
Definition at line 19 of file colorButton.h.
Constructor & Destructor Documentation
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 |
virtual BALL::VIEW::ColorButton::~ColorButton |
( |
| ) |
|
|
virtual |
Member Function Documentation
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 | ) |
|
|
protectedvirtual |
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 |
Member Data Documentation
bool BALL::VIEW::ColorButton::enable_alpha_ |
|
protected |
Property Documentation
QColor BALL::VIEW::ColorButton::color_ |
|
readwrite |
QColor BALL::VIEW::ColorButton::default_color_ |
|
readwrite |