diff widgets/PluginPathConfigurator.h @ 1288:4683b6ffb76a plugin-path-config

Grey-out meaningless buttons
author Chris Cannam
date Tue, 15 May 2018 15:25:04 +0100
parents 2dd7f764c3a6
children ed04d3666d33
line wrap: on
line diff
--- a/widgets/PluginPathConfigurator.h	Tue May 15 13:56:26 2018 +0100
+++ b/widgets/PluginPathConfigurator.h	Tue May 15 15:25:04 2018 +0100
@@ -16,12 +16,13 @@
 #define SV_PLUGIN_PATH_CONFIGURATOR_H
 
 #include <QFrame>
-#include <QGridLayout>
 #include <QStringList>
 
 class QLabel;
 class QWidget;
 class QListWidget;
+class QPushButton;
+class QGridLayout;
 
 class PluginPathConfigurator : public QFrame
 {
@@ -41,10 +42,14 @@
     void upClicked();
     void downClicked();
     void deleteClicked();
+    void currentLocationChanged(int);
     
 private:
     QGridLayout *m_layout;
     QListWidget *m_list;
+    QPushButton *m_up;
+    QPushButton *m_down;
+    QPushButton *m_delete;
 
     QStringList m_path;
     QString m_var;