]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/dolphin_directoryviewpropertysettings.kcfg
Merge remote-tracking branch 'fork/work/zakharafoniam/useful-groups'
[dolphin.git] / src / settings / dolphin_directoryviewpropertysettings.kcfg
index bae1f409fff62970168a5080a375f3364cbe557d..0044170a7e78f2f61cd01b6e4e23e9f8a32de6c1 100644 (file)
@@ -35,8 +35,8 @@
 
         <entry name="GroupedSorting" type="Bool" >
             <label context="@label">Grouped Sorting</label>
-            <whatsthis context="@info:whatsthis">When this option is enabled, the sorted items are categorized into groups.</whatsthis>
-            <default>false</default>
+            <whatsthis context="@info:whatsthis">When this option is enabled, the items are categorized into groups.</whatsthis>
+            <default>true</default>
         </entry>
 
         <entry name="SortRole" type="String" >
             <max code="true">Qt::DescendingOrder</max>
         </entry>
 
+        <entry name="GroupRole" type="String" >
+            <label context="@label">Group files by</label>
+            <whatsthis context="@info:whatsthis">This option defines which attribute (text, size, date, etc.) grouping is performed on.</whatsthis>
+            <default>none</default>
+        </entry>
+
+        <entry name="GroupOrder" type="Int" >
+            <label context="@label">Order in which to group files</label>
+            <default code="true">Qt::AscendingOrder</default>
+            <min code="true">Qt::AscendingOrder</min>
+            <max code="true">Qt::DescendingOrder</max>
+        </entry>
+
         <entry name="SortFoldersFirst" type="Bool" >
             <label context="@label">Show folders first when sorting files and folders</label>
             <default>true</default>
         </entry>
     </group>
 </kcfg>
-
-