ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/settingswidget.h>
Public Member Functions | |
SettingsWidget (QWidget *parent=0) | |
~SettingsWidget () | |
void | setVersion (const QString &version) |
void | setStatus (const QString &text) |
void | pollUpdates () |
Private Slots | |
void | on_pushButton_clicked () |
void | on_capsBox_activated (int index) |
void | on_shiftBox_activated (int index) |
void | on_ctrlBox_activated (int index) |
void | on_altBox_activated (int index) |
void | on_winBox_activated (int index) |
void | on_autoFWBox_clicked (bool checked) |
void | on_loginItemBox_clicked (bool checked) |
void | on_layoutBox_activated (int index) |
void | showLayoutDialog () |
void | on_extraButton_clicked () |
Private Member Functions | |
void | updateModifiers () |
Private Attributes | |
Ui::SettingsWidget * | ui |
ExtraSettingsWidget * | extra |
Friends | |
class | MainWindow |
Definition at line 11 of file settingswidget.h.
|
explicit |
Definition at line 15 of file settingswidget.cpp.
References Ui_SettingsWidget::altBox, Ui_SettingsWidget::autoFWBox, AutoRun::available(), Ui_SettingsWidget::capsBox, Ui_SettingsWidget::ctrlBox, AutoRun::enable(), extra, KeyMap::getLayout(), KbBind::globalRemap(), AutoRun::isEnabled(), Kb::layout(), Ui_SettingsWidget::layoutBox, KeyMap::layoutNames(), KbBind::loadGlobalRemap(), KeyMap::locale(), Ui_SettingsWidget::loginItemBox, modKeys, modNames, KeyMap::NO_LAYOUT, AutoRun::once(), CkbSettings::remove(), Ui_SettingsWidget::setupUi(), CkbSettings::setValue(), Ui_SettingsWidget::shiftBox, showLayoutDialog(), ui, updateModifiers(), CkbSettings::value(), and Ui_SettingsWidget::winBox.
SettingsWidget::~SettingsWidget | ( | ) |
Definition at line 94 of file settingswidget.cpp.
References ui.
|
privateslot |
Definition at line 155 of file settingswidget.cpp.
References updateModifiers().
|
privateslot |
Definition at line 163 of file settingswidget.cpp.
References CkbSettings::set().
|
privateslot |
Definition at line 143 of file settingswidget.cpp.
References updateModifiers().
|
privateslot |
Definition at line 151 of file settingswidget.cpp.
References updateModifiers().
|
privateslot |
|
privateslot |
Definition at line 174 of file settingswidget.cpp.
References KeyMap::getLayout(), Kb::layout(), and CkbSettings::set().
Referenced by showLayoutDialog().
|
privateslot |
Definition at line 167 of file settingswidget.cpp.
References AutoRun::disable(), and AutoRun::enable().
|
privateslot |
Definition at line 139 of file settingswidget.cpp.
|
privateslot |
Definition at line 147 of file settingswidget.cpp.
References updateModifiers().
|
privateslot |
Definition at line 159 of file settingswidget.cpp.
References updateModifiers().
void SettingsWidget::pollUpdates | ( | ) |
Definition at line 106 of file settingswidget.cpp.
References extra, and ExtraSettingsWidget::pollUpdates().
Referenced by MainWindow::timerTick().
void SettingsWidget::setStatus | ( | const QString & | text | ) |
Definition at line 110 of file settingswidget.cpp.
References Ui_SettingsWidget::devicesLabel, and ui.
Referenced by MainWindow::MainWindow(), and MainWindow::updateVersion().
void SettingsWidget::setVersion | ( | const QString & | version | ) |
Definition at line 114 of file settingswidget.cpp.
References ui, and Ui_SettingsWidget::versionLabel.
Referenced by MainWindow::MainWindow().
|
privateslot |
Definition at line 98 of file settingswidget.cpp.
References Ui_SettingsWidget::layoutBox, on_layoutBox_activated(), LayoutDialog::selected(), and ui.
Referenced by SettingsWidget().
|
private |
Definition at line 124 of file settingswidget.cpp.
References Ui_SettingsWidget::altBox, Ui_SettingsWidget::capsBox, Ui_SettingsWidget::ctrlBox, modKeys, right(), KbBind::saveGlobalRemap(), KbBind::setGlobalRemap(), Ui_SettingsWidget::shiftBox, ui, and Ui_SettingsWidget::winBox.
Referenced by on_altBox_activated(), on_capsBox_activated(), on_ctrlBox_activated(), on_shiftBox_activated(), on_winBox_activated(), and SettingsWidget().
|
friend |
Definition at line 44 of file settingswidget.h.
|
private |
Definition at line 46 of file settingswidget.h.
Referenced by on_extraButton_clicked(), pollUpdates(), and SettingsWidget().
|
private |
Definition at line 43 of file settingswidget.h.
Referenced by setStatus(), SettingsWidget(), setVersion(), showLayoutDialog(), updateModifiers(), and ~SettingsWidget().