#include <PreferencesDialog.h>

Inheritance diagram for PreferencesDialog:
Inheritance graph
Collaboration diagram for PreferencesDialog:
Collaboration graph

Public Types

enum  Tab {
  GeneralTab, AudioIOTab, AppearanceTab, AnalysisTab,
  TemplateTab, PluginTab
}
 

Public Slots

void applicationClosing (bool quickly)
 

Signals

void audioDeviceChanged ()
 
void coloursChanged ()
 

Public Member Functions

 PreferencesDialog (QWidget *parent=0)
 
virtual ~PreferencesDialog ()
 
void switchToTab (Tab tab)
 

Protected Slots

void windowTypeChanged (WindowType type)
 
void spectrogramSmoothingChanged (int state)
 
void spectrogramXSmoothingChanged (int state)
 
void spectrogramGColourChanged (int state)
 
void spectrogramMColourChanged (int state)
 
void colour3DColourChanged (int state)
 
void overviewColourChanged (int state)
 
void propertyLayoutChanged (int layout)
 
void tuningFrequencyChanged (double freq)
 
void audioImplementationChanged (int impl)
 
void audioPlaybackDeviceChanged (int device)
 
void audioRecordDeviceChanged (int device)
 
void resampleOnLoadChanged (int state)
 
void gaplessModeChanged (int state)
 
void vampProcessSeparationChanged (int state)
 
void tempDirRootChanged (QString root)
 
void backgroundModeChanged (int mode)
 
void timeToTextModeChanged (int mode)
 
void showHMSChanged (int state)
 
void octaveSystemChanged (int system)
 
void viewFontSizeChanged (int sz)
 
void showSplashChanged (int state)
 
void defaultTemplateChanged (int)
 
void localeChanged (int)
 
void networkPermissionChanged (int state)
 
void retinaChanged (int state)
 
void pluginPathsChanged ()
 
void tempDirButtonClicked ()
 
void okClicked ()
 
void applyClicked ()
 
void cancelClicked ()
 

Protected Member Functions

void rebuildDeviceCombos ()
 

Protected Attributes

WindowTypeSelector * m_windowTypeSelector
 
QPushButton * m_applyButton
 
QTabWidget * m_tabs
 
QMap< Tab, int > m_tabOrdering
 
QLineEdit * m_tempDirRootEdit
 
ColourComboBox * m_overviewColourCombo
 
QComboBox * m_audioPlaybackDeviceCombo
 
QComboBox * m_audioRecordDeviceCombo
 
PluginPathConfigurator * m_pluginPathConfigurator
 
QString m_currentTemplate
 
QStringList m_templates
 
QString m_currentLocale
 
QStringList m_locales
 
WindowType m_windowType
 
int m_spectrogramSmoothing
 
int m_spectrogramXSmoothing
 
int m_spectrogramGColour
 
int m_spectrogramMColour
 
int m_colour3DColour
 
bool m_overviewColourIsSet
 
QColor m_overviewColour
 
int m_propertyLayout
 
double m_tuningFrequency
 
int m_audioImplementation
 
int m_audioPlaybackDevice
 
int m_audioRecordDevice
 
bool m_resampleOnLoad
 
bool m_gapless
 
bool m_runPluginsInProcess
 
bool m_networkPermission
 
bool m_retina
 
QString m_tempDirRoot
 
int m_backgroundMode
 
int m_timeToTextMode
 
bool m_showHMS
 
int m_octaveSystem
 
int m_viewFontSize
 
bool m_showSplash
 
bool m_audioDeviceChanged
 
bool m_coloursChanged
 
bool m_changesOnRestart
 

Detailed Description

Definition at line 33 of file PreferencesDialog.h.

Member Enumeration Documentation

Enumerator
GeneralTab 
AudioIOTab 
AppearanceTab 
AnalysisTab 
TemplateTab 
PluginTab 

Definition at line 41 of file PreferencesDialog.h.

Constructor & Destructor Documentation

PreferencesDialog::PreferencesDialog ( QWidget *  parent = 0)

Definition at line 55 of file PreferencesDialog.cpp.

References AnalysisTab, AppearanceTab, applyClicked(), audioImplementationChanged(), AudioIOTab, audioPlaybackDeviceChanged(), audioRecordDeviceChanged(), backgroundModeChanged(), cancelClicked(), colour3DColourChanged(), defaultTemplateChanged(), gaplessModeChanged(), GeneralTab, localeChanged(), m_applyButton, m_audioDeviceChanged, m_audioImplementation, m_audioPlaybackDeviceCombo, m_audioRecordDeviceCombo, m_backgroundMode, m_colour3DColour, m_currentLocale, m_currentTemplate, m_gapless, m_locales, m_networkPermission, m_octaveSystem, m_overviewColour, m_overviewColourCombo, m_overviewColourIsSet, m_pluginPathConfigurator, m_propertyLayout, m_resampleOnLoad, m_retina, m_runPluginsInProcess, m_showHMS, m_showSplash, m_spectrogramGColour, m_spectrogramMColour, m_spectrogramSmoothing, m_spectrogramXSmoothing, m_tabOrdering, m_tabs, m_tempDirRoot, m_tempDirRootEdit, m_templates, m_timeToTextMode, m_tuningFrequency, m_viewFontSize, m_windowType, m_windowTypeSelector, networkPermissionChanged(), octaveSystemChanged(), okClicked(), overviewColourChanged(), pluginPathsChanged(), PluginTab, propertyLayoutChanged(), rebuildDeviceCombos(), resampleOnLoadChanged(), retinaChanged(), showHMSChanged(), showSplashChanged(), spectrogramGColourChanged(), spectrogramMColourChanged(), spectrogramSmoothingChanged(), spectrogramXSmoothingChanged(), tempDirButtonClicked(), TemplateTab, timeToTextModeChanged(), tuningFrequencyChanged(), vampProcessSeparationChanged(), viewFontSizeChanged(), and windowTypeChanged().

PreferencesDialog::~PreferencesDialog ( )
virtual

Definition at line 644 of file PreferencesDialog.cpp.

Member Function Documentation

void PreferencesDialog::switchToTab ( Tab  tab)

Definition at line 701 of file PreferencesDialog.cpp.

References m_tabOrdering, and m_tabs.

void PreferencesDialog::audioDeviceChanged ( )
signal

Referenced by applyClicked().

void PreferencesDialog::coloursChanged ( )
signal

Referenced by applyClicked().

void PreferencesDialog::applicationClosing ( bool  quickly)
slot

Definition at line 1072 of file PreferencesDialog.cpp.

References applyClicked(), and m_applyButton.

void PreferencesDialog::windowTypeChanged ( WindowType  type)
protectedslot

Definition at line 709 of file PreferencesDialog.cpp.

References m_applyButton, and m_windowType.

Referenced by PreferencesDialog().

void PreferencesDialog::spectrogramSmoothingChanged ( int  state)
protectedslot

Definition at line 716 of file PreferencesDialog.cpp.

References m_applyButton, and m_spectrogramSmoothing.

Referenced by PreferencesDialog().

void PreferencesDialog::spectrogramXSmoothingChanged ( int  state)
protectedslot

Definition at line 723 of file PreferencesDialog.cpp.

References m_applyButton, and m_spectrogramXSmoothing.

Referenced by PreferencesDialog().

void PreferencesDialog::spectrogramGColourChanged ( int  state)
protectedslot

Definition at line 730 of file PreferencesDialog.cpp.

References m_applyButton, m_coloursChanged, and m_spectrogramGColour.

Referenced by PreferencesDialog().

void PreferencesDialog::spectrogramMColourChanged ( int  state)
protectedslot

Definition at line 738 of file PreferencesDialog.cpp.

References m_applyButton, m_coloursChanged, and m_spectrogramMColour.

Referenced by PreferencesDialog().

void PreferencesDialog::colour3DColourChanged ( int  state)
protectedslot

Definition at line 746 of file PreferencesDialog.cpp.

References m_applyButton, m_colour3DColour, and m_coloursChanged.

Referenced by PreferencesDialog().

void PreferencesDialog::overviewColourChanged ( int  state)
protectedslot
void PreferencesDialog::propertyLayoutChanged ( int  layout)
protectedslot

Definition at line 765 of file PreferencesDialog.cpp.

References m_applyButton, and m_propertyLayout.

Referenced by PreferencesDialog().

void PreferencesDialog::tuningFrequencyChanged ( double  freq)
protectedslot

Definition at line 772 of file PreferencesDialog.cpp.

References m_applyButton, and m_tuningFrequency.

Referenced by PreferencesDialog().

void PreferencesDialog::audioImplementationChanged ( int  impl)
protectedslot
void PreferencesDialog::audioPlaybackDeviceChanged ( int  device)
protectedslot

Definition at line 790 of file PreferencesDialog.cpp.

References m_applyButton, m_audioDeviceChanged, and m_audioPlaybackDevice.

Referenced by PreferencesDialog().

void PreferencesDialog::audioRecordDeviceChanged ( int  device)
protectedslot

Definition at line 800 of file PreferencesDialog.cpp.

References m_applyButton, m_audioDeviceChanged, and m_audioRecordDevice.

Referenced by PreferencesDialog().

void PreferencesDialog::resampleOnLoadChanged ( int  state)
protectedslot

Definition at line 810 of file PreferencesDialog.cpp.

References m_applyButton, m_changesOnRestart, and m_resampleOnLoad.

Referenced by PreferencesDialog().

void PreferencesDialog::gaplessModeChanged ( int  state)
protectedslot

Definition at line 818 of file PreferencesDialog.cpp.

References m_applyButton, and m_gapless.

Referenced by PreferencesDialog().

void PreferencesDialog::vampProcessSeparationChanged ( int  state)
protectedslot

Definition at line 825 of file PreferencesDialog.cpp.

References m_applyButton, m_changesOnRestart, and m_runPluginsInProcess.

Referenced by PreferencesDialog().

void PreferencesDialog::tempDirRootChanged ( QString  root)
protectedslot

Definition at line 872 of file PreferencesDialog.cpp.

References m_applyButton, and m_tempDirRoot.

Referenced by tempDirButtonClicked().

void PreferencesDialog::backgroundModeChanged ( int  mode)
protectedslot
void PreferencesDialog::timeToTextModeChanged ( int  mode)
protectedslot

Definition at line 921 of file PreferencesDialog.cpp.

References m_applyButton, and m_timeToTextMode.

Referenced by PreferencesDialog().

void PreferencesDialog::showHMSChanged ( int  state)
protectedslot

Definition at line 928 of file PreferencesDialog.cpp.

References m_applyButton, and m_showHMS.

Referenced by PreferencesDialog().

void PreferencesDialog::octaveSystemChanged ( int  system)
protectedslot

Definition at line 935 of file PreferencesDialog.cpp.

References m_applyButton, and m_octaveSystem.

Referenced by PreferencesDialog().

void PreferencesDialog::viewFontSizeChanged ( int  sz)
protectedslot

Definition at line 942 of file PreferencesDialog.cpp.

References m_applyButton, and m_viewFontSize.

Referenced by PreferencesDialog().

void PreferencesDialog::showSplashChanged ( int  state)
protectedslot

Definition at line 849 of file PreferencesDialog.cpp.

References m_applyButton, m_changesOnRestart, and m_showSplash.

Referenced by PreferencesDialog().

void PreferencesDialog::defaultTemplateChanged ( int  i)
protectedslot

Definition at line 857 of file PreferencesDialog.cpp.

References m_applyButton, m_currentTemplate, and m_templates.

Referenced by PreferencesDialog().

void PreferencesDialog::localeChanged ( int  i)
protectedslot

Definition at line 864 of file PreferencesDialog.cpp.

References m_applyButton, m_changesOnRestart, m_currentLocale, and m_locales.

Referenced by PreferencesDialog().

void PreferencesDialog::networkPermissionChanged ( int  state)
protectedslot

Definition at line 833 of file PreferencesDialog.cpp.

References m_applyButton, m_changesOnRestart, and m_networkPermission.

Referenced by PreferencesDialog().

void PreferencesDialog::retinaChanged ( int  state)
protectedslot

Definition at line 841 of file PreferencesDialog.cpp.

References m_applyButton, and m_retina.

Referenced by PreferencesDialog().

void PreferencesDialog::pluginPathsChanged ( )
protectedslot

Definition at line 949 of file PreferencesDialog.cpp.

References m_applyButton, and m_changesOnRestart.

Referenced by PreferencesDialog().

void PreferencesDialog::tempDirButtonClicked ( )
protectedslot
void PreferencesDialog::okClicked ( )
protectedslot

Definition at line 956 of file PreferencesDialog.cpp.

References applyClicked().

Referenced by PreferencesDialog().

void PreferencesDialog::cancelClicked ( )
protectedslot

Definition at line 1066 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog().

void PreferencesDialog::rebuildDeviceCombos ( )
protected

Member Data Documentation

WindowTypeSelector* PreferencesDialog::m_windowTypeSelector
protected

Definition at line 94 of file PreferencesDialog.h.

Referenced by PreferencesDialog().

QTabWidget* PreferencesDialog::m_tabs
protected

Definition at line 97 of file PreferencesDialog.h.

Referenced by PreferencesDialog(), and switchToTab().

QMap<Tab, int> PreferencesDialog::m_tabOrdering
protected

Definition at line 98 of file PreferencesDialog.h.

Referenced by PreferencesDialog(), and switchToTab().

QLineEdit* PreferencesDialog::m_tempDirRootEdit
protected

Definition at line 100 of file PreferencesDialog.h.

Referenced by PreferencesDialog(), and tempDirButtonClicked().

ColourComboBox* PreferencesDialog::m_overviewColourCombo
protected

Definition at line 102 of file PreferencesDialog.h.

Referenced by backgroundModeChanged(), and PreferencesDialog().

QComboBox* PreferencesDialog::m_audioPlaybackDeviceCombo
protected

Definition at line 103 of file PreferencesDialog.h.

Referenced by PreferencesDialog(), and rebuildDeviceCombos().

QComboBox* PreferencesDialog::m_audioRecordDeviceCombo
protected

Definition at line 104 of file PreferencesDialog.h.

Referenced by PreferencesDialog(), and rebuildDeviceCombos().

PluginPathConfigurator* PreferencesDialog::m_pluginPathConfigurator
protected

Definition at line 107 of file PreferencesDialog.h.

Referenced by applyClicked(), and PreferencesDialog().

QString PreferencesDialog::m_currentTemplate
protected

Definition at line 109 of file PreferencesDialog.h.

Referenced by applyClicked(), defaultTemplateChanged(), and PreferencesDialog().

QStringList PreferencesDialog::m_templates
protected

Definition at line 110 of file PreferencesDialog.h.

Referenced by defaultTemplateChanged(), and PreferencesDialog().

QString PreferencesDialog::m_currentLocale
protected

Definition at line 112 of file PreferencesDialog.h.

Referenced by applyClicked(), localeChanged(), and PreferencesDialog().

QStringList PreferencesDialog::m_locales
protected

Definition at line 113 of file PreferencesDialog.h.

Referenced by localeChanged(), and PreferencesDialog().

WindowType PreferencesDialog::m_windowType
protected

Definition at line 115 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and windowTypeChanged().

int PreferencesDialog::m_spectrogramSmoothing
protected
int PreferencesDialog::m_spectrogramXSmoothing
protected
int PreferencesDialog::m_spectrogramGColour
protected

Definition at line 118 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and spectrogramGColourChanged().

int PreferencesDialog::m_spectrogramMColour
protected

Definition at line 119 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and spectrogramMColourChanged().

int PreferencesDialog::m_colour3DColour
protected

Definition at line 120 of file PreferencesDialog.h.

Referenced by applyClicked(), colour3DColourChanged(), and PreferencesDialog().

bool PreferencesDialog::m_overviewColourIsSet
protected

Definition at line 121 of file PreferencesDialog.h.

Referenced by applyClicked(), overviewColourChanged(), and PreferencesDialog().

QColor PreferencesDialog::m_overviewColour
protected

Definition at line 122 of file PreferencesDialog.h.

Referenced by applyClicked(), overviewColourChanged(), and PreferencesDialog().

int PreferencesDialog::m_propertyLayout
protected

Definition at line 123 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and propertyLayoutChanged().

double PreferencesDialog::m_tuningFrequency
protected

Definition at line 124 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and tuningFrequencyChanged().

int PreferencesDialog::m_audioImplementation
protected
int PreferencesDialog::m_audioPlaybackDevice
protected
int PreferencesDialog::m_audioRecordDevice
protected
bool PreferencesDialog::m_resampleOnLoad
protected

Definition at line 128 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and resampleOnLoadChanged().

bool PreferencesDialog::m_gapless
protected

Definition at line 129 of file PreferencesDialog.h.

Referenced by applyClicked(), gaplessModeChanged(), and PreferencesDialog().

bool PreferencesDialog::m_runPluginsInProcess
protected
bool PreferencesDialog::m_networkPermission
protected

Definition at line 131 of file PreferencesDialog.h.

Referenced by applyClicked(), networkPermissionChanged(), and PreferencesDialog().

bool PreferencesDialog::m_retina
protected

Definition at line 132 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and retinaChanged().

QString PreferencesDialog::m_tempDirRoot
protected
int PreferencesDialog::m_backgroundMode
protected

Definition at line 134 of file PreferencesDialog.h.

Referenced by applyClicked(), backgroundModeChanged(), and PreferencesDialog().

int PreferencesDialog::m_timeToTextMode
protected

Definition at line 135 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and timeToTextModeChanged().

bool PreferencesDialog::m_showHMS
protected

Definition at line 136 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and showHMSChanged().

int PreferencesDialog::m_octaveSystem
protected

Definition at line 137 of file PreferencesDialog.h.

Referenced by applyClicked(), octaveSystemChanged(), and PreferencesDialog().

int PreferencesDialog::m_viewFontSize
protected

Definition at line 138 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and viewFontSizeChanged().

bool PreferencesDialog::m_showSplash
protected

Definition at line 139 of file PreferencesDialog.h.

Referenced by applyClicked(), PreferencesDialog(), and showSplashChanged().

bool PreferencesDialog::m_audioDeviceChanged
protected
bool PreferencesDialog::m_coloursChanged
protected

The documentation for this class was generated from the following files: