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
kbprofiledialog.h
Go to the documentation of this file.
1 #ifndef KBPROFILEDIALOG_H
2 #define KBPROFILEDIALOG_H
3 
4 #include <QDialog>
5 #include "kbwidget.h"
6 
7 namespace Ui {
8 class KbProfileDialog;
9 }
10 
11 class KbProfileDialog : public QDialog
12 {
13  Q_OBJECT
14 
15 public:
16  explicit KbProfileDialog(KbWidget *parent = 0);
18 
19 private slots:
20  void profileList_reordered();
21  void on_profileList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
22  void on_profileList_itemClicked(QListWidgetItem *item);
23  void on_profileList_itemChanged(QListWidgetItem *item);
24  void on_profileList_customContextMenuRequested(const QPoint &pos);
25 
26 private:
28 
30  const static int GUID = Qt::UserRole;
31  const static int NEW_FLAG = Qt::UserRole + 1;
32 
33  void repopulate();
34  void addNewProfileItem();
35 };
36 
37 #endif // KBPROFILEDIALOG_H
void on_profileList_customContextMenuRequested(const QPoint &pos)
rgb * current
Definition: main.c:46
Ui::KbProfileDialog * ui
void on_profileList_itemChanged(QListWidgetItem *item)
static const int NEW_FLAG
void profileList_reordered()
KbProfileDialog(KbWidget *parent=0)
void on_profileList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
Definition: kb.h:11
void on_profileList_itemClicked(QListWidgetItem *item)
static const int GUID