Mercurial > hg > svcore
comparison base/Preferences.h @ 694:2c4aca969c24 toggle
Option added in the preference menu to be able to start the application in minimal mode
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Wed, 20 Jul 2011 16:30:07 +0100 |
parents | 75f154085a4d |
children |
comparison
equal
deleted
inserted
replaced
693:682101331278 | 694:2c4aca969c24 |
---|---|
86 }; | 86 }; |
87 TimeToTextMode getTimeToTextMode() const { return m_timeToTextMode; } | 87 TimeToTextMode getTimeToTextMode() const { return m_timeToTextMode; } |
88 | 88 |
89 bool getShowSplash() const { return m_showSplash; } | 89 bool getShowSplash() const { return m_showSplash; } |
90 | 90 |
91 bool getStartInMiniMode() const { return m_startInMiniMode; } | |
92 | |
91 public slots: | 93 public slots: |
92 virtual void setProperty(const PropertyName &, int); | 94 virtual void setProperty(const PropertyName &, int); |
93 | 95 |
94 void setSpectrogramSmoothing(SpectrogramSmoothing smoothing); | 96 void setSpectrogramSmoothing(SpectrogramSmoothing smoothing); |
95 void setSpectrogramXSmoothing(SpectrogramXSmoothing smoothing); | 97 void setSpectrogramXSmoothing(SpectrogramXSmoothing smoothing); |
102 void setResampleOnLoad(bool); | 104 void setResampleOnLoad(bool); |
103 void setBackgroundMode(BackgroundMode mode); | 105 void setBackgroundMode(BackgroundMode mode); |
104 void setTimeToTextMode(TimeToTextMode mode); | 106 void setTimeToTextMode(TimeToTextMode mode); |
105 void setViewFontSize(int size); | 107 void setViewFontSize(int size); |
106 void setShowSplash(bool); | 108 void setShowSplash(bool); |
109 | |
110 void setStartInMiniMode(bool); | |
107 | 111 |
108 private: | 112 private: |
109 Preferences(); // may throw DirectoryCreationFailed | 113 Preferences(); // may throw DirectoryCreationFailed |
110 virtual ~Preferences(); | 114 virtual ~Preferences(); |
111 | 115 |
122 bool m_resampleOnLoad; | 126 bool m_resampleOnLoad; |
123 int m_viewFontSize; | 127 int m_viewFontSize; |
124 BackgroundMode m_backgroundMode; | 128 BackgroundMode m_backgroundMode; |
125 TimeToTextMode m_timeToTextMode; | 129 TimeToTextMode m_timeToTextMode; |
126 bool m_showSplash; | 130 bool m_showSplash; |
131 | |
132 bool m_startInMiniMode; | |
127 }; | 133 }; |
128 | 134 |
129 #endif | 135 #endif |