]> cloud.milkyroute.net Git - dolphin.git/blob - src/dolphin_directoryviewpropertysettings.kcfg
don't overrun the array (CID 3278)
[dolphin.git] / src / dolphin_directoryviewpropertysettings.kcfg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
5 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
6 <include>kfileitemdelegate.h</include>
7
8 <kcfgfile arg="true" />
9 <group name="Settings">
10 <entry name="ShowHiddenFiles" key="ShowDotFiles" type="Bool" >
11 <label>Show hidden files</label>
12 <whatsthis>When this option is enabled hidden files, such as those starting with a '.', will be shown in the file view.</whatsthis>
13 <default>false</default>
14 </entry>
15 </group>
16
17 <group name="Dolphin">
18 <entry name="ViewMode" type="Int" >
19 <label>View Mode</label>
20 <whatsthis>This option controls the style of the view. Currently supported values include icons (0) and details (1) views.</whatsthis>
21 <default>DolphinView::IconsView</default>
22 <min>0</min>
23 <max code="true">DolphinView::MaxModeEnum</max>
24 </entry>
25
26 <entry name="ShowPreview" type="Bool" >
27 <label>Show preview</label>
28 <whatsthis>When this option is enabled, a preview of the file content is shown as icon.</whatsthis>
29 <default>false</default>
30 </entry>
31
32 <entry name="Sorting" type="Int" >
33 <label>Sort files by</label>
34 <whatsthis>This option defines which attribute (name, size, date, etc) sorting is performed on.</whatsthis>
35 <default code="true">DolphinView::SortByName</default>
36 <min>0</min>
37 <max code="true">DolphinView::MaxSortEnum</max>
38 </entry>
39
40 <entry name="SortOrder" type="Int" >
41 <label>Order to sort files in</label>
42 <default code="true">Qt::Ascending</default>
43 <min code="true">Qt::Ascending</min>
44 <max code="true">Qt::Descending</max>
45 </entry>
46
47 <entry name="AdditionalInfo" type="Int">
48 <label>Additional information</label>
49 <default code="true">KFileItemDelegate::NoInformation</default>
50 </entry>
51
52 <entry name="Timestamp" type="DateTime" >
53 <label>Properties last changed</label>
54 <whatsthis>The last time these properties were changed by the user.</whatsthis>
55 </entry>
56 </group>
57 </kcfg>
58
59