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
animadddialog.h
Go to the documentation of this file.
1 #ifndef ANIMADDDIALOG_H
2 #define ANIMADDDIALOG_H
3 
4 #include <QDialog>
5 #include "animscript.h"
6 #include "kblight.h"
7 
8 namespace Ui {
9 class AnimAddDialog;
10 }
11 
12 class AnimAddDialog : public QDialog
13 {
14  Q_OBJECT
15 
16 public:
17  explicit AnimAddDialog(QWidget *parent, KbLight* light, const QStringList& keys);
19 
20  const AnimScript* chosenScript();
21  int chosenPreset();
22 
23 private slots:
24  void on_animBox_activated(int index);
25  void on_presetBox_activated(int index);
26  void on_previewBox_clicked(bool checked);
27 
28 private:
30  QList<const AnimScript*> scripts;
31 
33  QStringList _keys;
35 };
36 
37 #endif // ANIMADDDIALOG_H
Ui::AnimAddDialog * ui
Definition: animadddialog.h:29
AnimAddDialog(QWidget *parent, KbLight *light, const QStringList &keys)
void on_animBox_activated(int index)
QList< const AnimScript * > scripts
Definition: animadddialog.h:30
QStringList _keys
Definition: animadddialog.h:33
const AnimScript * chosenScript()
KbLight * _light
Definition: animadddialog.h:32
void on_previewBox_clicked(bool checked)
void on_presetBox_activated(int index)