3
* GUI related configuration.
9
* Copyright (C) 2013 Urs Fleisch
11
* This file is part of Kid3.
13
* Kid3 is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 2 of the License, or
16
* (at your option) any later version.
18
* Kid3 is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* You should have received a copy of the GNU General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
30
#include "generalconfig.h"
34
* GUI related configuration.
36
class KID3_CORE_EXPORT GuiConfig : public StoredConfig<GuiConfig>
50
* Persist configuration.
52
* @param config configuration
54
virtual void writeToConfig(ISettings* config) const;
57
* Read persisted configuration.
59
* @param config configuration
61
virtual void readFromConfig(ISettings* config);
63
/** true to automatically hide unused tags */
65
/** true to hide file controls */
67
/** true to hide ID3v1.1 controls */
69
/** true to hide ID3v2.3 controls */
71
/** true to hide picture preview */
73
/** true to play file on double click */
74
bool m_playOnDoubleClick;
75
/** size of splitter in main window */
76
QList<int> m_splitterSizes;
77
/** size of file/dirlist splitter */
78
QList<int> m_vSplitterSizes;
80
/** Index in configuration storage */