ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/animadddialog.h>
Public Member Functions | |
AnimAddDialog (QWidget *parent, KbLight *light, const QStringList &keys) | |
~AnimAddDialog () | |
const AnimScript * | chosenScript () |
int | chosenPreset () |
Private Slots | |
void | on_animBox_activated (int index) |
void | on_presetBox_activated (int index) |
void | on_previewBox_clicked (bool checked) |
Private Attributes | |
Ui::AnimAddDialog * | ui |
QList< const AnimScript * > | scripts |
KbLight * | _light |
QStringList | _keys |
bool | showPreview |
Definition at line 12 of file animadddialog.h.
|
explicit |
Definition at line 4 of file animadddialog.cpp.
References Ui_AnimAddDialog::animBox, AnimScript::list(), AnimScript::name(), on_animBox_activated(), scripts, Ui_AnimAddDialog::setupUi(), and ui.
AnimAddDialog::~AnimAddDialog | ( | ) |
Definition at line 15 of file animadddialog.cpp.
References _light, KbLight::stopPreview(), and ui.
int AnimAddDialog::chosenPreset | ( | ) |
Definition at line 24 of file animadddialog.cpp.
References Ui_AnimAddDialog::presetBox, and ui.
Referenced by KbLightWidget::on_animButton_clicked().
const AnimScript * AnimAddDialog::chosenScript | ( | ) |
Definition at line 20 of file animadddialog.cpp.
References Ui_AnimAddDialog::animBox, scripts, and ui.
Referenced by on_animBox_activated(), KbLightWidget::on_animButton_clicked(), and on_presetBox_activated().
|
privateslot |
Definition at line 28 of file animadddialog.cpp.
References chosenScript(), on_presetBox_activated(), Ui_AnimAddDialog::presetBox, and ui.
Referenced by AnimAddDialog().
|
privateslot |
Definition at line 37 of file animadddialog.cpp.
References _keys, _light, chosenScript(), KbLight::previewAnim(), and showPreview.
Referenced by on_animBox_activated(), and on_previewBox_clicked().
|
privateslot |
Definition at line 43 of file animadddialog.cpp.
References _light, on_presetBox_activated(), Ui_AnimAddDialog::presetBox, showPreview, KbLight::stopPreview(), and ui.
|
private |
Definition at line 33 of file animadddialog.h.
Referenced by on_presetBox_activated().
|
private |
Definition at line 32 of file animadddialog.h.
Referenced by on_presetBox_activated(), on_previewBox_clicked(), and ~AnimAddDialog().
|
private |
Definition at line 30 of file animadddialog.h.
Referenced by AnimAddDialog(), and chosenScript().
|
private |
Definition at line 34 of file animadddialog.h.
Referenced by on_presetBox_activated(), and on_previewBox_clicked().
|
private |
Definition at line 29 of file animadddialog.h.
Referenced by AnimAddDialog(), chosenPreset(), chosenScript(), on_animBox_activated(), on_previewBox_clicked(), and ~AnimAddDialog().