comparison main/PreferencesDialog.h @ 1448:11484141d969 3.0-integration

Add overview colour preference
author Chris Cannam
date Fri, 16 Dec 2016 19:26:21 +0000
parents a9c30afdbbfe
children 0fa6b7896968
comparison
equal deleted inserted replaced
1447:68abc2ea47aa 1448:11484141d969
16 #ifndef _PREFERENCES_DIALOG_H_ 16 #ifndef _PREFERENCES_DIALOG_H_
17 #define _PREFERENCES_DIALOG_H_ 17 #define _PREFERENCES_DIALOG_H_
18 18
19 #include <QDialog> 19 #include <QDialog>
20 #include <QMap> 20 #include <QMap>
21 #include <QColor>
21 22
22 #include "base/Window.h" 23 #include "base/Window.h"
23 24
24 class WindowTypeSelector; 25 class WindowTypeSelector;
25 class QPushButton; 26 class QPushButton;
44 }; 45 };
45 void switchToTab(Tab tab); 46 void switchToTab(Tab tab);
46 47
47 signals: 48 signals:
48 void audioDeviceChanged(); 49 void audioDeviceChanged();
50 void coloursChanged();
49 51
50 public slots: 52 public slots:
51 void applicationClosing(bool quickly); 53 void applicationClosing(bool quickly);
52 54
53 protected slots: 55 protected slots:
55 void spectrogramSmoothingChanged(int state); 57 void spectrogramSmoothingChanged(int state);
56 void spectrogramXSmoothingChanged(int state); 58 void spectrogramXSmoothingChanged(int state);
57 void spectrogramGColourChanged(int state); 59 void spectrogramGColourChanged(int state);
58 void spectrogramMColourChanged(int state); 60 void spectrogramMColourChanged(int state);
59 void colour3DColourChanged(int state); 61 void colour3DColourChanged(int state);
62 void overviewColourChanged(int state);
60 void propertyLayoutChanged(int layout); 63 void propertyLayoutChanged(int layout);
61 void tuningFrequencyChanged(double freq); 64 void tuningFrequencyChanged(double freq);
62 void audioImplementationChanged(int impl); 65 void audioImplementationChanged(int impl);
63 void audioPlaybackDeviceChanged(int device); 66 void audioPlaybackDeviceChanged(int device);
64 void audioRecordDeviceChanged(int device); 67 void audioRecordDeviceChanged(int device);
106 int m_spectrogramSmoothing; 109 int m_spectrogramSmoothing;
107 int m_spectrogramXSmoothing; 110 int m_spectrogramXSmoothing;
108 int m_spectrogramGColour; 111 int m_spectrogramGColour;
109 int m_spectrogramMColour; 112 int m_spectrogramMColour;
110 int m_colour3DColour; 113 int m_colour3DColour;
114 QColor m_overviewColour;
111 int m_propertyLayout; 115 int m_propertyLayout;
112 double m_tuningFrequency; 116 double m_tuningFrequency;
113 int m_audioImplementation; 117 int m_audioImplementation;
114 int m_audioPlaybackDevice; 118 int m_audioPlaybackDevice;
115 int m_audioRecordDevice; 119 int m_audioRecordDevice;
125 int m_octaveSystem; 129 int m_octaveSystem;
126 int m_viewFontSize; 130 int m_viewFontSize;
127 bool m_showSplash; 131 bool m_showSplash;
128 132
129 bool m_audioDeviceChanged; 133 bool m_audioDeviceChanged;
134 bool m_coloursChanged;
130 bool m_changesOnRestart; 135 bool m_changesOnRestart;
131 }; 136 };
132 137
133 #endif 138 #endif