comparison main/PreferencesDialog.h @ 1837:9fbaf30a09ab plugin-path-config

Wire up plugin path settings logic (needs more testing)
author Chris Cannam
date Fri, 25 May 2018 16:09:40 +0100
parents 0fa6b7896968
children a94b289f0b93
comparison
equal deleted inserted replaced
1836:42f89437f70b 1837:9fbaf30a09ab
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _PREFERENCES_DIALOG_H_ 16 #ifndef SV_PREFERENCES_DIALOG_H
17 #define _PREFERENCES_DIALOG_H_ 17 #define SV_PREFERENCES_DIALOG_H
18 18
19 #include <QDialog> 19 #include <QDialog>
20 #include <QMap> 20 #include <QMap>
21 #include <QColor> 21 #include <QColor>
22 22
25 class WindowTypeSelector; 25 class WindowTypeSelector;
26 class QPushButton; 26 class QPushButton;
27 class QLineEdit; 27 class QLineEdit;
28 class QTabWidget; 28 class QTabWidget;
29 class QComboBox; 29 class QComboBox;
30 class PluginPathConfigurator;
30 31
31 class PreferencesDialog : public QDialog 32 class PreferencesDialog : public QDialog
32 { 33 {
33 Q_OBJECT 34 Q_OBJECT
34 35
78 void showSplashChanged(int state); 79 void showSplashChanged(int state);
79 void defaultTemplateChanged(int); 80 void defaultTemplateChanged(int);
80 void localeChanged(int); 81 void localeChanged(int);
81 void networkPermissionChanged(int state); 82 void networkPermissionChanged(int state);
82 void retinaChanged(int state); 83 void retinaChanged(int state);
84 void pluginPathsChanged();
83 85
84 void tempDirButtonClicked(); 86 void tempDirButtonClicked();
85 87
86 void okClicked(); 88 void okClicked();
87 void applyClicked(); 89 void applyClicked();
97 QLineEdit *m_tempDirRootEdit; 99 QLineEdit *m_tempDirRootEdit;
98 100
99 QComboBox *m_audioPlaybackDeviceCombo; 101 QComboBox *m_audioPlaybackDeviceCombo;
100 QComboBox *m_audioRecordDeviceCombo; 102 QComboBox *m_audioRecordDeviceCombo;
101 void rebuildDeviceCombos(); 103 void rebuildDeviceCombos();
104
105 PluginPathConfigurator *m_pluginPathConfigurator;
102 106
103 QString m_currentTemplate; 107 QString m_currentTemplate;
104 QStringList m_templates; 108 QStringList m_templates;
105 109
106 QString m_currentLocale; 110 QString m_currentLocale;