comparison 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
comparison
equal deleted inserted replaced
1286:e327bbf4bf57 1287:2dd7f764c3a6
19 #include <QGridLayout> 19 #include <QGridLayout>
20 #include <QStringList> 20 #include <QStringList>
21 21
22 class QLabel; 22 class QLabel;
23 class QWidget; 23 class QWidget;
24 class QListWidget;
24 25
25 class PluginPathConfigurator : public QFrame 26 class PluginPathConfigurator : public QFrame
26 { 27 {
27 Q_OBJECT 28 Q_OBJECT
28 29
41 void downClicked(); 42 void downClicked();
42 void deleteClicked(); 43 void deleteClicked();
43 44
44 private: 45 private:
45 QGridLayout *m_layout; 46 QGridLayout *m_layout;
47 QListWidget *m_list;
46 48
47 QStringList m_path; 49 QStringList m_path;
48 QString m_var; 50 QString m_var;
49
50 QWidget *m_innerFrame;
51 std::vector<QLabel *> m_labels;
52 51
53 void populate(); 52 void populate(int makeCurrent = 0);
54 }; 53 };
55 54
56 #endif 55 #endif
57 56
58 57