ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/kbbindwidget.h>
Public Member Functions | |
KbBindWidget (QWidget *parent=0) | |
~KbBindWidget () | |
void | setBind (KbBind *newBind, KbProfile *newProfile) |
Private Slots | |
void | updateBind () |
void | newLayout () |
void | newSelection (QStringList selection) |
void | updateSelDisplay () |
void | on_resetButton_clicked () |
void | on_copyButton_clicked () |
Private Attributes | |
Ui::KbBindWidget * | ui |
KbBind * | bind |
KbProfile * | profile |
QStringList | currentSelection |
Definition at line 12 of file kbbindwidget.h.
|
explicit |
Definition at line 7 of file kbbindwidget.cpp.
References Ui_KbBindWidget::keyWidget, newSelection(), KeyWidget::rgbMode(), Ui_KbBindWidget::setupUi(), and ui.
KbBindWidget::~KbBindWidget | ( | ) |
Definition at line 16 of file kbbindwidget.cpp.
References ui.
|
privateslot |
Definition at line 50 of file kbbindwidget.cpp.
References bind, Ui_KbBindWidget::keyWidget, KeyWidget::map(), KbBind::map(), profile, Ui_KbBindWidget::rbWidget, RebindWidget::setBind(), ui, and updateSelDisplay().
Referenced by setBind().
|
privateslot |
Definition at line 56 of file kbbindwidget.cpp.
References currentSelection, Ui_KbBindWidget::rbWidget, RebindWidget::setSelection(), ui, and updateSelDisplay().
Referenced by KbBindWidget(), and setBind().
|
privateslot |
Definition at line 103 of file kbbindwidget.cpp.
References KbBind::action(), bind, KbMode::bind(), KeyMap::count(), KbProfile::currentMode(), currentSelection, KbBind::isMouse(), KeyMap::keys(), KbBind::map(), KbProfile::modes(), profile, ModeSelectDialog::selection(), KbBind::setAction(), and KeyAction::type().
|
privateslot |
Definition at line 82 of file kbbindwidget.cpp.
References bind, KeyMap::count(), currentSelection, KbBind::isMouse(), KeyMap::keys(), KbBind::map(), KbBind::resetAction(), KeyAction::type(), and updateBind().
Definition at line 20 of file kbbindwidget.cpp.
References bind, KeyWidget::clearSelection(), Ui_KbBindWidget::keyWidget, newLayout(), newSelection(), profile, Ui_KbBindWidget::rbWidget, RebindWidget::setBind(), ui, and updateBind().
Referenced by KbWidget::modeChanged().
|
privateslot |
Definition at line 39 of file kbbindwidget.cpp.
References KbBind::action(), bind, KeyWidget::bindMap(), currentSelection, KeyMap::keys(), Ui_KbBindWidget::keyWidget, KbBind::map(), Ui_KbBindWidget::rbWidget, RebindWidget::setSelection(), ui, and updateSelDisplay().
Referenced by on_resetButton_clicked(), and setBind().
|
privateslot |
Definition at line 62 of file kbbindwidget.cpp.
References bind, currentSelection, KbBind::friendlyActionName(), Key::friendlyName(), KbBind::isMouse(), KbBind::map(), Ui_KbBindWidget::selectLabel, and ui.
Referenced by newLayout(), newSelection(), and updateBind().
|
private |
Definition at line 34 of file kbbindwidget.h.
Referenced by newLayout(), on_copyButton_clicked(), on_resetButton_clicked(), setBind(), updateBind(), and updateSelDisplay().
|
private |
Definition at line 36 of file kbbindwidget.h.
Referenced by newSelection(), on_copyButton_clicked(), on_resetButton_clicked(), updateBind(), and updateSelDisplay().
|
private |
Definition at line 35 of file kbbindwidget.h.
Referenced by newLayout(), on_copyButton_clicked(), and setBind().
|
private |
Definition at line 32 of file kbbindwidget.h.
Referenced by KbBindWidget(), newLayout(), newSelection(), setBind(), updateBind(), updateSelDisplay(), and ~KbBindWidget().