diff options
author | daniel-Jones <daniel@danieljon.es> | 2016-07-01 22:59:30 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2016-07-01 22:59:30 +0930 |
commit | 3b7cb85d384ca231fb6f25493dbc4e476987beae (patch) | |
tree | 6ffe4f6648a0d32644fe2485467990e5c66873db /qt/RGBController/controllerwindow.h | |
parent | 963bfd49550f8ec555174ce236f4f0bfa2d370f3 (diff) | |
download | RGB-Controller-3b7cb85d384ca231fb6f25493dbc4e476987beae.tar.gz RGB-Controller-3b7cb85d384ca231fb6f25493dbc4e476987beae.zip |
Added the ability to delete presets, removed the hardcoded preset file location - that was dumb on my behalf.
Diffstat (limited to 'qt/RGBController/controllerwindow.h')
-rwxr-xr-x | qt/RGBController/controllerwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/RGBController/controllerwindow.h b/qt/RGBController/controllerwindow.h index 690b52d..9f73749 100755 --- a/qt/RGBController/controllerwindow.h +++ b/qt/RGBController/controllerwindow.h @@ -29,6 +29,7 @@ class controllerWindow : public QMainWindow void populate_serial_list(); void load_presets(); void save_preset(QString name); + void delete_preset(QString name); void serial_rgb_change(int r, int g, int b); void show_msgbox(QString message); /*public variables */ @@ -71,6 +72,8 @@ class controllerWindow : public QMainWindow void on_preset_save_button_clicked(); + void on_preset_delete_button_clicked(); + private: Ui::controllerWindow *ui; /* serial communication object */ |