diff widgets/PluginPathConfigurator.h @ 1287:2dd7f764c3a6 plugin-path-config

Better editing mechanism
author Chris Cannam
date Tue, 15 May 2018 13:56:26 +0100
parents e327bbf4bf57
children 4683b6ffb76a
line wrap: on
line diff
--- a/widgets/PluginPathConfigurator.h	Tue May 15 11:18:07 2018 +0100
+++ b/widgets/PluginPathConfigurator.h	Tue May 15 13:56:26 2018 +0100
@@ -21,6 +21,7 @@
 
 class QLabel;
 class QWidget;
+class QListWidget;
 
 class PluginPathConfigurator : public QFrame
 {
@@ -43,14 +44,12 @@
     
 private:
     QGridLayout *m_layout;
+    QListWidget *m_list;
 
     QStringList m_path;
     QString m_var;
-
-    QWidget *m_innerFrame;
-    std::vector<QLabel *> m_labels;
     
-    void populate();
+    void populate(int makeCurrent = 0);
 };
 
 #endif