1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE kcfg SYSTEM
"http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
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>
13 <entry name=
"UseSystemFont" type=
"Bool">
14 <label context=
"@label">Use system font
</label>
15 <default>true
</default>
17 <entry name=
"FontFamily" type=
"String">
18 <label context=
"@label">Font family
</label>
19 <default code=
"true">KGlobalSettings::generalFont().family()
</default>
21 <entry name=
"FontSize" type=
"Int">
22 <label context=
"@label">Font size
</label>
23 <default code=
"true">KGlobalSettings::generalFont().pointSize()
</default>
25 <entry name=
"ItalicFont" type=
"Bool">
26 <label context=
"@label Font style">Italic
</label>
27 <default>false
</default>
29 <entry name=
"FontWeight" type=
"Int">
30 <label context=
"@label">Font weight
</label>
33 <entry name=
"ItemHeight" type=
"Int">
34 <label context=
"@label">Item height
</label>
36 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
37 itemHeight += fontHeight * numberOfTextlines + 10;
39 <default code=
"true">KIconLoader::SizeMedium + QFontMetrics(KGlobalSettings::generalFont()).height() *
2 +
10</default>
41 <entry name=
"ItemWidth" type=
"Int">
42 <label context=
"@label">Item width
</label>
44 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
45 itemWidth = TopToBottomBase + textSizeIndex * TopToBottomInc;
49 <entry name=
"GridSpacing" type=
"Int">
50 <label context=
"@label">Grid spacing
</label>
53 <entry name=
"IconSize" type=
"Int">
54 <label context=
"@label">Icon size
</label>
55 <default code=
"true">KIconLoader::SizeMedium
</default>
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 /-->
62 <entry name=
"PreviewSize" type=
"Int">
63 <label context=
"@label">Preview size
</label>
64 <default code=
"true">KIconLoader::SizeHuge
</default>