summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileviewconfig.kcfg
blob: 489b48c3ef9d1053562fba26bf18bd1708235c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
<kcfg>
  <include>tqiconview.h</include>
  <kcfgfile name="gwenviewrc"/> 
  <group name="file widget">
    <entry name="showDirs" key="show dirs" type="Bool">
      <default>true</default>
    </entry>
    <entry name="loadMetadata" key="load metadata" type="Bool">
      <default>true</default>
    </entry>
    <entry name="showDotFiles" key="show dot files" type="Bool">
      <default>false</default>
    </entry>
    <entry name="startWithThumbnails" key="start with thumbnails" type="Bool">
      <default>true</default>
    </entry>
    <entry name="thumbnailTextPos" key="item text pos" type="Int">
      <default code="true">TQIconView::Right</default>
    </entry>
    <entry name="thumbnailSize" key="thumbnail size" type="Int">
      <default>48</default>
    </entry>
    <entry name="thumbnailMarginSize" key="margin size" type="Int">
      <default>5</default>
    </entry>
    <entry name="thumbnailDetails" key="item details" type="Int">
      <default>9</default>
      <description>
        This is a bit set of FileThumbnailView::ItemDetail:
        enum ItemDetail { FILENAME=1, FILESIZE=2, FILEDATE=4, IMAGESIZE=8 };
      </description>
    </entry>
    <entry name="filterMode" type="Enum">
      <default>All</default>
      <choices>
        <choice name="All"/>
        <choice name="ImagesOnly"/>
        <choice name="VideosOnly"/>
      </choices>
    </entry>
    <entry name="showFilterBar" type="Bool">
      <default>false</default>
    </entry>
    <entry name="nameFilter" type="String"></entry>
    <entry name="fromDateFilter" type="DateTime"></entry>
    <entry name="toDateFilter" type="DateTime"></entry>
  </group>


  <!-- thumbnail cache keys are really a mess :-( -->
  <group name="thumbnail loading">
    <entry name="storeThumbnailsInCache" key="path" type="Bool"> 
      <default>true</default>
    </entry>
  </group>
  <group name="main window">
    <entry name="deleteCacheOnExit" key="Delete Thumbnail Cache whe exit" type="Bool">
      <default>false</default>
    </entry>
  </group>


</kcfg>