ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/colorbutton.h>
Signals | |
void | colorChanged (QColor newColor) |
Public Member Functions | |
ColorButton (QWidget *parent=0, bool allowAlpha=false) | |
const QColor & | color () const |
void | color (const QColor &newColor) |
bool | allowAlpha () const |
void | allowAlpha (bool newAllowAlpha) |
bool | setLabel () const |
void | setLabel (bool newSetLabel) |
bool | bigIcons () const |
void | bigIcons (bool newBigIcons) |
Private Slots | |
void | pickColor () |
Private Member Functions | |
void | updateImage () |
Private Attributes | |
QColor | _color |
bool | _alpha |
bool | _setLabel |
bool | _bigIcons |
Definition at line 6 of file colorbutton.h.
|
explicit |
Definition at line 5 of file colorbutton.cpp.
References pickColor(), and updateImage().
|
inline |
Definition at line 17 of file colorbutton.h.
References _alpha.
Referenced by KPerfWidget::KPerfWidget(), and MPerfWidget::MPerfWidget().
void ColorButton::allowAlpha | ( | bool | newAllowAlpha | ) |
Definition at line 22 of file colorbutton.cpp.
References _alpha, and updateImage().
|
inline |
Definition at line 23 of file colorbutton.h.
References _bigIcons.
Referenced by KPerfWidget::KPerfWidget(), and MPerfWidget::MPerfWidget().
void ColorButton::bigIcons | ( | bool | newBigIcons | ) |
Definition at line 27 of file colorbutton.cpp.
References _bigIcons, and updateImage().
|
inline |
Definition at line 13 of file colorbutton.h.
References _color.
Referenced by MPerfWidget::colorChanged(), GradientDialog::currentChanged(), KbLightWidget::newSelection(), GradientDialog::on_stopOpacity_valueChanged(), KPerfWidget::setPerf(), MPerfWidget::setPerf(), KPerfWidget::uiUpdated(), and AnimSettingDialog::updateParam().
void ColorButton::color | ( | const QColor & | newColor | ) |
Definition at line 15 of file colorbutton.cpp.
References _alpha, _color, and updateImage().
|
signal |
Definition at line 132 of file moc_colorbutton.cpp.
Referenced by pickColor().
|
privateslot |
Definition at line 60 of file colorbutton.cpp.
References _alpha, _color, colorChanged(), and updateImage().
Referenced by ColorButton().
|
inline |
Definition at line 20 of file colorbutton.h.
References _setLabel.
Referenced by KPerfWidget::KPerfWidget(), and MPerfWidget::MPerfWidget().
|
inline |
|
private |
Definition at line 32 of file colorbutton.cpp.
References _alpha, _bigIcons, _color, and _setLabel.
Referenced by allowAlpha(), bigIcons(), color(), ColorButton(), and pickColor().
|
private |
Definition at line 34 of file colorbutton.h.
Referenced by allowAlpha(), color(), pickColor(), and updateImage().
|
private |
Definition at line 34 of file colorbutton.h.
Referenced by bigIcons(), and updateImage().
|
private |
Definition at line 33 of file colorbutton.h.
Referenced by color(), pickColor(), and updateImage().
|
private |
Definition at line 34 of file colorbutton.h.
Referenced by setLabel(), and updateImage().