comparison main/PreferencesDialog.h @ 1861:8c4df1f3fef7

Merge from branch plugin-path-config
author Chris Cannam
date Mon, 11 Jun 2018 14:42:56 +0100
parents 9fbaf30a09ab
children a94b289f0b93
comparison
equal deleted inserted replaced
1849:4af1e71eaa3f 1861:8c4df1f3fef7
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
39 enum Tab { 40 enum Tab {
40 GeneralTab, 41 GeneralTab,
41 AudioIOTab, 42 AudioIOTab,
42 AppearanceTab, 43 AppearanceTab,
43 AnalysisTab, 44 AnalysisTab,
44 TemplateTab 45 TemplateTab,
46 PluginTab
45 }; 47 };
46 void switchToTab(Tab tab); 48 void switchToTab(Tab tab);
47 49
48 signals: 50 signals:
49 void audioDeviceChanged(); 51 void audioDeviceChanged();
77 void showSplashChanged(int state); 79 void showSplashChanged(int state);
78 void defaultTemplateChanged(int); 80 void defaultTemplateChanged(int);
79 void localeChanged(int); 81 void localeChanged(int);
80 void networkPermissionChanged(int state); 82 void networkPermissionChanged(int state);
81 void retinaChanged(int state); 83 void retinaChanged(int state);
84 void pluginPathsChanged();
82 85
83 void tempDirButtonClicked(); 86 void tempDirButtonClicked();
84 87
85 void okClicked(); 88 void okClicked();
86 void applyClicked(); 89 void applyClicked();
96 QLineEdit *m_tempDirRootEdit; 99 QLineEdit *m_tempDirRootEdit;
97 100
98 QComboBox *m_audioPlaybackDeviceCombo; 101 QComboBox *m_audioPlaybackDeviceCombo;
99 QComboBox *m_audioRecordDeviceCombo; 102 QComboBox *m_audioRecordDeviceCombo;
100 void rebuildDeviceCombos(); 103 void rebuildDeviceCombos();
104
105 PluginPathConfigurator *m_pluginPathConfigurator;
101 106
102 QString m_currentTemplate; 107 QString m_currentTemplate;
103 QStringList m_templates; 108 QStringList m_templates;
104 109
105 QString m_currentLocale; 110 QString m_currentLocale;