ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/animsettingdialog.h>
Public Member Functions | |
AnimSettingDialog (QWidget *parent, KbAnim *anim) | |
~AnimSettingDialog () | |
QString | name () const |
Private Slots | |
void | newDuration (double duration) |
void | updateStops () |
void | angleDialChanged (QString name) |
void | angleSpinnerChanged (QString name) |
void | updateParam (QString name) |
void | on_delayBox_valueChanged (double arg1) |
void | on_repeatBox_valueChanged (double arg1) |
void | on_kpDelayBox_valueChanged (double arg1) |
void | on_kpRepeatBox_valueChanged (double arg1) |
void | on_kpReleaseBox_stateChanged (int arg1) |
Private Member Functions | |
QFrame * | hLine () |
Private Attributes | |
Ui::AnimSettingDialog * | ui |
QCheckBox * | stopCheck |
QCheckBox * | kpStopCheck |
bool | hasRepeat |
KbAnim * | _anim |
double | lastDuration |
QMap< QString, QWidget * > | settingWidgets |
QSignalMapper | updateMapper |
QMap< QString, QSpinBox * > | angleSpinners |
QSignalMapper | angleDialMapper |
QSignalMapper | angleSpinnerMapper |
Definition at line 15 of file animsettingdialog.h.
Definition at line 19 of file animsettingdialog.cpp.
References AnimScript::Param::AGRADIENT, AnimScript::Param::ANGLE, angleDialChanged(), angleDialMapper, angleFlip(), angleSpinnerChanged(), angleSpinnerMapper, angleSpinners, Ui_AnimSettingDialog::animName, AnimScript::Param::ARGB, AnimScript::author(), AnimScript::Param::BOOL, Ui_AnimSettingDialog::delayBox, AnimScript::description(), AnimScript::Param::DOUBLE, AnimScript::Param::GRADIENT, AnimScript::hasKeypress(), AnimScript::hasParam(), KbAnim::hasParameter(), hasRepeat, hLine(), Ui_AnimSettingDialog::kpDelayBox, Ui_AnimSettingDialog::kpModeStopBox, Ui_AnimSettingDialog::kpReleaseBox, Ui_AnimSettingDialog::kpRepeatBox, Ui_AnimSettingDialog::kpRepeatLabel, Ui_AnimSettingDialog::kpRepeatLabel_2, kpStopCheck, AnimScript::Param::LABEL, lastDuration, AnimScript::license(), AnimScript::Param::LONG, AnimScript::Param::maximum, AnimScript::Param::minimum, AnimScript::Param::name, AnimScript::name(), KbAnim::name(), newDuration(), KbAnim::parameter(), AnimScript::paramIterator(), AnimScript::Param::postfix, AnimScript::Param::prefix, Ui_AnimSettingDialog::repeatBox, Ui_AnimSettingDialog::repeatLabel, Ui_AnimSettingDialog::repeatLabel_2, AnimScript::Param::RGB, Ui_AnimSettingDialog::sAuthorLabel, KbAnim::script(), KbAnim::scriptName(), Ui_AnimSettingDialog::sDescLabel, Ui_AnimSettingDialog::settingsGrid, settingWidgets, Ui_AnimSettingDialog::setupUi(), Ui_AnimSettingDialog::sLicenseLabel, Ui_AnimSettingDialog::sNameLabel, stopCheck, AnimScript::Param::STRING, Ui_AnimSettingDialog::sVerLabel, Ui_AnimSettingDialog::sYearLabel, Ui_AnimSettingDialog::timeGrid, AnimScript::Param::type, ui, updateMapper, updateParam(), updateStops(), AnimScript::version(), and AnimScript::year().
AnimSettingDialog::~AnimSettingDialog | ( | ) |
|
privateslot |
Definition at line 389 of file animsettingdialog.cpp.
References angleFlip(), angleSpinners, name(), settingWidgets, and updateParam().
Referenced by AnimSettingDialog().
|
privateslot |
Definition at line 395 of file animsettingdialog.cpp.
References angleFlip(), angleSpinners, settingWidgets, and updateParam().
Referenced by AnimSettingDialog().
|
private |
Definition at line 480 of file animsettingdialog.cpp.
References frame.
Referenced by AnimSettingDialog().
QString AnimSettingDialog::name | ( | ) | const |
Definition at line 472 of file animsettingdialog.cpp.
References Ui_AnimSettingDialog::animName, and ui.
Referenced by angleDialChanged(), and KbAnimWidget::on_propertyButton_clicked().
|
privateslot |
Definition at line 361 of file animsettingdialog.cpp.
References lastDuration, settingWidgets, and updateParam().
Referenced by AnimSettingDialog().
|
privateslot |
Definition at line 487 of file animsettingdialog.cpp.
References updateParam().
|
privateslot |
Definition at line 495 of file animsettingdialog.cpp.
References updateParam().
|
privateslot |
Definition at line 503 of file animsettingdialog.cpp.
References updateParam().
|
privateslot |
Definition at line 499 of file animsettingdialog.cpp.
References updateParam().
|
privateslot |
Definition at line 491 of file animsettingdialog.cpp.
References updateParam().
|
privateslot |
Definition at line 401 of file animsettingdialog.cpp.
References _anim, AnimScript::Param::AGRADIENT, AnimScript::Param::ANGLE, angleFlip(), AnimScript::Param::ARGB, AnimScript::Param::BOOL, ColorButton::color(), AnimScript::Param::DOUBLE, AnimScript::Param::GRADIENT, AnimScript::hasKeypress(), hasRepeat, kpStopCheck, AnimScript::Param::LONG, AnimScript::param(), KbAnim::parameter(), AnimScript::Param::RGB, KbAnim::script(), settingWidgets, stopCheck, AnimScript::Param::STRING, GradientButton::toString(), and AnimScript::Param::type.
Referenced by angleDialChanged(), angleSpinnerChanged(), AnimSettingDialog(), newDuration(), on_delayBox_valueChanged(), on_kpDelayBox_valueChanged(), on_kpReleaseBox_stateChanged(), on_kpRepeatBox_valueChanged(), on_repeatBox_valueChanged(), and updateStops().
|
privateslot |
Definition at line 375 of file animsettingdialog.cpp.
References hasRepeat, kpStopCheck, settingWidgets, stopCheck, and updateParam().
Referenced by AnimSettingDialog().
|
private |
Definition at line 32 of file animsettingdialog.h.
Referenced by updateParam().
|
private |
Definition at line 38 of file animsettingdialog.h.
Referenced by AnimSettingDialog().
|
private |
Definition at line 38 of file animsettingdialog.h.
Referenced by AnimSettingDialog().
|
private |
Definition at line 37 of file animsettingdialog.h.
Referenced by angleDialChanged(), angleSpinnerChanged(), and AnimSettingDialog().
|
private |
Definition at line 30 of file animsettingdialog.h.
Referenced by AnimSettingDialog(), updateParam(), and updateStops().
|
private |
Definition at line 29 of file animsettingdialog.h.
Referenced by AnimSettingDialog(), updateParam(), and updateStops().
|
private |
Definition at line 33 of file animsettingdialog.h.
Referenced by AnimSettingDialog(), and newDuration().
|
private |
Definition at line 34 of file animsettingdialog.h.
Referenced by angleDialChanged(), angleSpinnerChanged(), AnimSettingDialog(), newDuration(), updateParam(), and updateStops().
|
private |
Definition at line 29 of file animsettingdialog.h.
Referenced by AnimSettingDialog(), updateParam(), and updateStops().
|
private |
Definition at line 28 of file animsettingdialog.h.
Referenced by AnimSettingDialog(), name(), and ~AnimSettingDialog().
|
private |
Definition at line 35 of file animsettingdialog.h.
Referenced by AnimSettingDialog().