Mercurial > hg > sonic-visualiser
diff 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 |
line wrap: on
line diff
--- a/main/PreferencesDialog.h Fri Sep 21 09:13:11 2007 +0000 +++ b/main/PreferencesDialog.h Fri Sep 28 13:56:38 2007 +0000 @@ -22,6 +22,7 @@ class WindowTypeSelector; class QPushButton; +class QLineEdit; class PreferencesDialog : public QDialog { @@ -40,6 +41,11 @@ void propertyLayoutChanged(int layout); void tuningFrequencyChanged(double freq); void resampleQualityChanged(int quality); + void resampleOnLoadChanged(int state); + void tempDirRootChanged(QString root); + void backgroundModeChanged(int mode); + + void tempDirButtonClicked(); void okClicked(); void applyClicked(); @@ -48,12 +54,19 @@ protected: WindowTypeSelector *m_windowTypeSelector; QPushButton *m_applyButton; + + QLineEdit *m_tempDirRootEdit; WindowType m_windowType; - int m_spectrogramSmoothing; - int m_propertyLayout; + int m_spectrogramSmoothing; + int m_propertyLayout; float m_tuningFrequency; - int m_resampleQuality; + int m_resampleQuality; + bool m_resampleOnLoad; + QString m_tempDirRoot; + int m_backgroundMode; + + bool m_changesOnRestart; }; #endif