add more spacing
[personal-kdebase.git] / apps / dolphin / src / settings / dolphin_iconsmodesettings.kcfg
blob1311f6d20eda79705da7a8b9d40a9c49acc743ed
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
3 <kcfg>
4 <kcfgfile name="dolphinrc"/>
5 <include>kglobalsettings.h</include>
6 <include>kiconloader.h</include>
7 <include>QListView</include>
8 <group name="IconsMode">
9 <entry name="Arrangement" type="Int">
10 <label context="@label">Arrangement</label>
11 <default code="true">QListView::TopToBottom</default>
12 </entry>
13 <entry name="UseSystemFont" type="Bool">
14 <label context="@label">Use system font</label>
15 <default>true</default>
16 </entry>
17 <entry name="FontFamily" type="String">
18 <label context="@label">Font family</label>
19 <default code="true">KGlobalSettings::generalFont().family()</default>
20 </entry>
21 <entry name="FontSize" type="Int">
22 <label context="@label">Font size</label>
23 <default code="true">KGlobalSettings::generalFont().pointSize()</default>
24 </entry>
25 <entry name="ItalicFont" type="Bool">
26 <label context="@label Font style">Italic</label>
27 <default>false</default>
28 </entry>
29 <entry name="FontWeight" type="Int">
30 <label context="@label">Font weight</label>
31 <default>0</default>
32 </entry>
33 <entry name="ItemHeight" type="Int">
34 <label context="@label">Item height</label>
35 <!--
36 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
37 itemHeight += fontHeight * numberOfTextlines + 10;
38 /-->
39 <default code="true">KIconLoader::SizeMedium + QFontMetrics(KGlobalSettings::generalFont()).height() * 2 + 10</default>
40 </entry>
41 <entry name="ItemWidth" type="Int">
42 <label context="@label">Item width</label>
43 <!--
44 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
45 itemWidth = TopToBottomBase + textSizeIndex * TopToBottomInc;
46 /-->
47 <default>96</default>
48 </entry>
49 <entry name="GridSpacing" type="Int">
50 <label context="@label">Grid spacing</label>
51 <default>8</default>
52 </entry>
53 <entry name="IconSize" type="Int">
54 <label context="@label">Icon size</label>
55 <default code="true">KIconLoader::SizeMedium</default>
56 </entry>
57 <entry name="NumberOfTextlines" type="Int">
58 <label context="@label">Number of textlines</label>
59 <!-- don't forget adjusting the "ItemHeight" too when changing this value /-->
60 <default>2</default>
61 </entry>
62 <entry name="PreviewSize" type="Int">
63 <label context="@label">Preview size</label>
64 <default code="true">KIconLoader::SizeHuge</default>
65 </entry>
66 </group>
67 </kcfg>