1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE kcfg SYSTEM
"http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
3 <kcfg xmlns=
"http://www.kde.org/standards/kcfg/1.0"
4 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
5 xsi:
schemaLocation=
"http://www.kde.org/standards/kcfg/1.0
6 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
7 <include>kglobalsettings.h
</include>
8 <include>kiconloader.h
</include>
9 <include>QListView
</include>
10 <kcfgfile name=
"dolphinrc"/>
11 <group name=
"IconsMode">
12 <entry name=
"Arrangement" type=
"Int">
13 <label>Arrangement
</label>
14 <default code=
"true">QListView::TopToBottom
</default>
16 <entry name=
"UseSystemFont" type=
"Bool">
17 <label>Use system font
</label>
18 <default>true
</default>
20 <entry name=
"FontFamily" type=
"String">
21 <label>Font family
</label>
22 <default code=
"true">KGlobalSettings::generalFont().family()
</default>
24 <entry name=
"FontSize" type=
"Double">
25 <label>Font size
</label>
26 <default code=
"true">KGlobalSettings::generalFont().pointSizeF()
</default>
28 <entry name=
"ItalicFont" type=
"Bool">
30 <default>false
</default>
32 <entry name=
"FontWeight" type=
"Int">
33 <label>Font weight
</label>
36 <entry name=
"ItemHeight" type=
"Int">
37 <label>Item height
</label>
39 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
40 itemHeight += fontHeight * numberOfTextlines + 10;
42 <default code=
"true">KIconLoader::SizeMedium + QFontMetrics(KGlobalSettings::generalFont()).height() *
2 +
10</default>
44 <entry name=
"ItemWidth" type=
"Int">
45 <label>Item width
</label>
47 check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
48 itemWidth = TopToBottomBase + textSizeIndex * TopToBottomInc;
52 <entry name=
"GridSpacing" type=
"Int">
53 <label>Grid spacing
</label>
56 <entry name=
"IconSize" type=
"Int">
57 <label>Icon size
</label>
58 <default code=
"true">KIconLoader::SizeMedium
</default>
60 <entry name=
"NumberOfTextlines" type=
"Int">
61 <label>Number of textlines
</label>
62 <!-- don't forget adjusting the "ItemHeight" too when changing this value /-->
65 <entry name=
"PreviewSize" type=
"Int">
66 <label>Preview size
</label>
67 <default code=
"true">KIconLoader::SizeHuge
</default>