ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/extrasettingswidget.h>
Public Member Functions | |
ExtraSettingsWidget (QWidget *parent=0) | |
~ExtraSettingsWidget () | |
void | pollUpdates () |
Private Slots | |
void | on_trayBox_clicked (bool checked) |
void | on_brightnessBox_clicked (bool checked) |
void | on_animScanButton_clicked () |
void | on_fpsBox_valueChanged (int arg1) |
void | on_ditherBox_clicked (bool checked) |
void | on_mAccelBox_clicked (bool checked) |
void | on_sAccelBox_clicked (bool checked) |
void | on_sSpeedBox_valueChanged (int arg1) |
void | on_delayBox_clicked (bool checked) |
Private Attributes | |
Ui::ExtraSettingsWidget * | ui |
Definition at line 10 of file extrasettingswidget.h.
|
explicit |
Read Macro Delay setting, update UI and Kb-internal flag
Definition at line 10 of file extrasettingswidget.cpp.
References Ui_ExtraSettingsWidget::animPathLabel, Ui_ExtraSettingsWidget::brightnessBox, Ui_ExtraSettingsWidget::delayBox, Kb::dither(), Ui_ExtraSettingsWidget::ditherBox, Ui_ExtraSettingsWidget::fpsBox, Ui_ExtraSettingsWidget::fpsWarnLabel, Kb::frameRate(), lastSharedDimming, Ui_ExtraSettingsWidget::mAccelBox, Kb::macroDelay(), KbLight::MAX_DIM, Kb::mouseAccel(), on_animScanButton_clicked(), Ui_ExtraSettingsWidget::osxLabel, Ui_ExtraSettingsWidget::osxLine, AnimScript::path(), Ui_ExtraSettingsWidget::sAccelBox, Kb::scrollSpeed(), Ui_ExtraSettingsWidget::setupUi(), KbLight::shareDimming(), Ui_ExtraSettingsWidget::sSpeedBox, Ui_ExtraSettingsWidget::sSpeedWidget, Ui_ExtraSettingsWidget::trayBox, ui, and CkbSettings::value().
ExtraSettingsWidget::~ExtraSettingsWidget | ( | ) |
|
privateslot |
Definition at line 87 of file extrasettingswidget.cpp.
References Ui_ExtraSettingsWidget::animCountLabel, AnimScript::count(), AnimScript::scan(), and ui.
Referenced by ExtraSettingsWidget().
|
privateslot |
Definition at line 82 of file extrasettingswidget.cpp.
References pollUpdates(), and KbLight::shareDimming().
|
privateslot |
Definition at line 143 of file extrasettingswidget.cpp.
References Kb::macroDelay(), and CkbSettings::set().
|
privateslot |
Definition at line 110 of file extrasettingswidget.cpp.
References Kb::dither(), and CkbSettings::set().
|
privateslot |
Definition at line 98 of file extrasettingswidget.cpp.
References Ui_ExtraSettingsWidget::fpsWarnLabel, Kb::frameRate(), CkbSettings::setValue(), and ui.
|
privateslot |
Definition at line 124 of file extrasettingswidget.cpp.
References Kb::mouseAccel(), and CkbSettings::set().
|
privateslot |
Definition at line 129 of file extrasettingswidget.cpp.
References Kb::scrollSpeed(), CkbSettings::set(), Ui_ExtraSettingsWidget::sSpeedBox, Ui_ExtraSettingsWidget::sSpeedWidget, and ui.
|
privateslot |
Definition at line 138 of file extrasettingswidget.cpp.
References Ui_ExtraSettingsWidget::sAccelBox, Kb::scrollSpeed(), CkbSettings::set(), and ui.
|
privateslot |
Definition at line 77 of file extrasettingswidget.cpp.
References MainWindow::mainWindow, CkbSettings::set(), and MainWindow::toggleTrayIcon().
void ExtraSettingsWidget::pollUpdates | ( | ) |
Definition at line 115 of file extrasettingswidget.cpp.
References CkbSettings::isBusy(), lastSharedDimming, CkbSettings::set(), and KbLight::shareDimming().
Referenced by on_brightnessBox_clicked(), and SettingsWidget::pollUpdates().
|
private |
Definition at line 33 of file extrasettingswidget.h.
Referenced by ExtraSettingsWidget(), on_animScanButton_clicked(), on_fpsBox_valueChanged(), on_sAccelBox_clicked(), on_sSpeedBox_valueChanged(), and ~ExtraSettingsWidget().