ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kbbindwidget.h
Go to the documentation of this file.
1 #ifndef KBBINDWIDGET_H
2 #define KBBINDWIDGET_H
3 
4 #include <QWidget>
5 #include "kbbind.h"
6 #include "kbprofile.h"
7 
8 namespace Ui {
9 class KbBindWidget;
10 }
11 
12 class KbBindWidget : public QWidget
13 {
14  Q_OBJECT
15 
16 public:
17  explicit KbBindWidget(QWidget *parent = 0);
18  ~KbBindWidget();
19 
20  void setBind(KbBind* newBind, KbProfile* newProfile);
21 
22 private slots:
23  void updateBind();
24  void newLayout();
25  void newSelection(QStringList selection);
26  void updateSelDisplay();
27 
29  void on_copyButton_clicked();
30 
31 private:
33 
36  QStringList currentSelection;
37 };
38 
39 #endif // KBBINDWIDGET_H
KbProfile * profile
Definition: kbbindwidget.h:35
void on_copyButton_clicked()
KbBind * bind
Definition: kbbindwidget.h:34
KbBindWidget(QWidget *parent=0)
Definition: kbbindwidget.cpp:7
void setBind(KbBind *newBind, KbProfile *newProfile)
void updateSelDisplay()
void newLayout()
Definition: kbbind.h:20
void on_resetButton_clicked()
Ui::KbBindWidget * ui
Definition: kbbindwidget.h:32
void newSelection(QStringList selection)
QStringList currentSelection
Definition: kbbindwidget.h:36
void updateBind()