#include <BALL/VIEW/WIDGETS/colorButton.h>
Definition at line 19 of file colorButton.h.
◆ ColorButton() [1/5]
BALL::VIEW::ColorButton::ColorButton |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ ColorButton() [2/5]
BALL::VIEW::ColorButton::ColorButton |
( |
const QColor & |
color, |
|
|
QWidget * |
parent |
|
) |
| |
|
explicit |
◆ ColorButton() [3/5]
BALL::VIEW::ColorButton::ColorButton |
( |
const QColor & |
color, |
|
|
const QColor & |
default_color, |
|
|
QWidget * |
parent |
|
) |
| |
|
explicit |
◆ ColorButton() [4/5]
BALL::VIEW::ColorButton::ColorButton |
( |
const ColorRGBA & |
color, |
|
|
QWidget * |
parent |
|
) |
| |
|
explicit |
◆ ColorButton() [5/5]
◆ ~ColorButton()
virtual BALL::VIEW::ColorButton::~ColorButton |
( |
| ) |
|
|
virtual |
◆ chooseColor
void BALL::VIEW::ColorButton::chooseColor |
( |
| ) |
|
|
slot |
◆ colorChanged
void BALL::VIEW::ColorButton::colorChanged |
( |
QColor |
color | ) |
|
|
signal |
◆ getColor()
const QColor & BALL::VIEW::ColorButton::getColor |
( |
| ) |
const |
◆ getDefaultColor()
const QColor & BALL::VIEW::ColorButton::getDefaultColor |
( |
| ) |
const |
◆ isAlphaEnabled()
bool BALL::VIEW::ColorButton::isAlphaEnabled |
( |
| ) |
const |
◆ paintEvent()
virtual void BALL::VIEW::ColorButton::paintEvent |
( |
QPaintEvent * |
evt | ) |
|
|
protectedvirtual |
◆ setColor() [1/2]
void BALL::VIEW::ColorButton::setColor |
( |
const ColorRGBA & |
color | ) |
|
◆ setColor() [2/2]
void BALL::VIEW::ColorButton::setColor |
( |
const QColor & |
color | ) |
|
◆ setDefaultColor() [1/2]
void BALL::VIEW::ColorButton::setDefaultColor |
( |
const ColorRGBA & |
color | ) |
|
◆ setDefaultColor() [2/2]
void BALL::VIEW::ColorButton::setDefaultColor |
( |
const QColor & |
color | ) |
|
◆ setEnableAlpha()
void BALL::VIEW::ColorButton::setEnableAlpha |
( |
bool |
enable | ) |
|
◆ sizeHint()
QSize BALL::VIEW::ColorButton::sizeHint |
( |
| ) |
const |
◆ enable_alpha_
bool BALL::VIEW::ColorButton::enable_alpha_ |
|
protected |
◆ color_
QColor BALL::VIEW::ColorButton::color_ |
|
readwrite |
◆ default_color_
QColor BALL::VIEW::ColorButton::default_color_ |
|
readwrite |