comparison base/Preferences.h @ 354:048b21bc9891

* Make font size in panes configurable, with a smaller default * Add [ and ] to select prev/next pane
author Chris Cannam
date Tue, 11 Dec 2007 14:58:29 +0000
parents c022976d18e8
children d31b4ccb7ddb
comparison
equal deleted inserted replaced
353:1c6816220185 354:048b21bc9891
52 VerticallyStacked, 52 VerticallyStacked,
53 Layered 53 Layered
54 }; 54 };
55 PropertyBoxLayout getPropertyBoxLayout() const { return m_propertyBoxLayout; } 55 PropertyBoxLayout getPropertyBoxLayout() const { return m_propertyBoxLayout; }
56 56
57 int getViewFontSize() const { return m_viewFontSize; }
58
57 bool getOmitTempsFromRecentFiles() const { return m_omitRecentTemps; } 59 bool getOmitTempsFromRecentFiles() const { return m_omitRecentTemps; }
58 60
59 QString getTemporaryDirectoryRoot() const { return m_tempDirRoot; } 61 QString getTemporaryDirectoryRoot() const { return m_tempDirRoot; }
60 62
61 bool getResampleOnLoad() const { return m_resampleOnLoad; } 63 bool getResampleOnLoad() const { return m_resampleOnLoad; }
77 void setResampleQuality(int quality); 79 void setResampleQuality(int quality);
78 void setOmitTempsFromRecentFiles(bool omit); 80 void setOmitTempsFromRecentFiles(bool omit);
79 void setTemporaryDirectoryRoot(QString tempDirRoot); 81 void setTemporaryDirectoryRoot(QString tempDirRoot);
80 void setResampleOnLoad(bool); 82 void setResampleOnLoad(bool);
81 void setBackgroundMode(BackgroundMode mode); 83 void setBackgroundMode(BackgroundMode mode);
84 void setViewFontSize(int size);
82 85
83 private: 86 private:
84 Preferences(); // may throw DirectoryCreationFailed 87 Preferences(); // may throw DirectoryCreationFailed
85 virtual ~Preferences(); 88 virtual ~Preferences();
86 89
92 WindowType m_windowType; 95 WindowType m_windowType;
93 int m_resampleQuality; 96 int m_resampleQuality;
94 bool m_omitRecentTemps; 97 bool m_omitRecentTemps;
95 QString m_tempDirRoot; 98 QString m_tempDirRoot;
96 bool m_resampleOnLoad; 99 bool m_resampleOnLoad;
100 int m_viewFontSize;
97 BackgroundMode m_backgroundMode; 101 BackgroundMode m_backgroundMode;
98 }; 102 };
99 103
100 #endif 104 #endif