Mercurial > hg > sonic-visualiser
comparison main/PreferencesDialog.h @ 180:98ba77e0d897
* Merge from sv-match-alignment branch (excluding alignment-specific document).
- add aggregate wave model (not yet complete enough to be added as a true
model in a layer, but there's potential)
- add play solo mode
- add alignment model -- unused in plain SV
- fix two plugin leaks
- add m3u playlist support (opens all files at once, potentially hazardous)
- fix retrieval of pre-encoded URLs
- add ability to resample audio files on import, so as to match rates with
other files previously loaded; add preference for same
- add preliminary support in transform code for range and rate of transform
input
- reorganise preferences dialog, move dark-background option to preferences,
add option for temporary directory location
author | Chris Cannam |
---|---|
date | Fri, 28 Sep 2007 13:56:38 +0000 |
parents | 652b22dcd4ed |
children | d7ded015af32 fc542303eda2 |
comparison
equal
deleted
inserted
replaced
179:dab257bd9d2d | 180:98ba77e0d897 |
---|---|
20 | 20 |
21 #include "base/Window.h" | 21 #include "base/Window.h" |
22 | 22 |
23 class WindowTypeSelector; | 23 class WindowTypeSelector; |
24 class QPushButton; | 24 class QPushButton; |
25 class QLineEdit; | |
25 | 26 |
26 class PreferencesDialog : public QDialog | 27 class PreferencesDialog : public QDialog |
27 { | 28 { |
28 Q_OBJECT | 29 Q_OBJECT |
29 | 30 |
38 void windowTypeChanged(WindowType type); | 39 void windowTypeChanged(WindowType type); |
39 void spectrogramSmoothingChanged(int state); | 40 void spectrogramSmoothingChanged(int state); |
40 void propertyLayoutChanged(int layout); | 41 void propertyLayoutChanged(int layout); |
41 void tuningFrequencyChanged(double freq); | 42 void tuningFrequencyChanged(double freq); |
42 void resampleQualityChanged(int quality); | 43 void resampleQualityChanged(int quality); |
44 void resampleOnLoadChanged(int state); | |
45 void tempDirRootChanged(QString root); | |
46 void backgroundModeChanged(int mode); | |
47 | |
48 void tempDirButtonClicked(); | |
43 | 49 |
44 void okClicked(); | 50 void okClicked(); |
45 void applyClicked(); | 51 void applyClicked(); |
46 void cancelClicked(); | 52 void cancelClicked(); |
47 | 53 |
48 protected: | 54 protected: |
49 WindowTypeSelector *m_windowTypeSelector; | 55 WindowTypeSelector *m_windowTypeSelector; |
50 QPushButton *m_applyButton; | 56 QPushButton *m_applyButton; |
57 | |
58 QLineEdit *m_tempDirRootEdit; | |
51 | 59 |
52 WindowType m_windowType; | 60 WindowType m_windowType; |
53 int m_spectrogramSmoothing; | 61 int m_spectrogramSmoothing; |
54 int m_propertyLayout; | 62 int m_propertyLayout; |
55 float m_tuningFrequency; | 63 float m_tuningFrequency; |
56 int m_resampleQuality; | 64 int m_resampleQuality; |
65 bool m_resampleOnLoad; | |
66 QString m_tempDirRoot; | |
67 int m_backgroundMode; | |
68 | |
69 bool m_changesOnRestart; | |
57 }; | 70 }; |
58 | 71 |
59 #endif | 72 #endif |