summaryrefslogtreecommitdiffstats
path: root/konqueror/listview/konq_listview.kcfg
diff options
context:
space:
mode:
authorVincent Reher <[email protected]>2021-11-02 09:11:34 -0700
committerMichele Calgaro <[email protected]>2021-12-17 21:45:37 +0900
commit9cd504156b4fff688cd427af7244f6522f2e5da8 (patch)
treed514e92ec9441bca8b84aa31a1ee293a31d07186 /konqueror/listview/konq_listview.kcfg
parent76fe6863ce1338d0e1dd0a9bc84630187a21ed11 (diff)
downloadtdebase-9cd504156b4fff688cd427af7244f6522f2e5da8.tar.gz
tdebase-9cd504156b4fff688cd427af7244f6522f2e5da8.zip
Introduce additional sorting / grouping options and actions for Konqueror
listviews, available through new submenu: View => Sort Options: (1) "Group Directories First" - Toggle on/off option to group directories before non-directories. Comparable to iconview's "Folders First" option. (2) "Group Hidden First" - Toggle on/off option to group hidden entities (aka dotfiles) before non-hidden. Option-related settings are stored in config/konqlistviewrc Actions: (1) "Reverse Sort Order" - Toggle sort order of the current sort column. Action bound to key Ctrl+R. (2) "Alternate Sort Order" - Toggle sorting between 2 most recent sort columns selected by mouse click. The existing sort order for the sort columns is preserved. Action bound to key Ctrl+S. Action-related settings are stored in config/konquerorrc/[Listview_file] Signed-off-by: Vincent Reher <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/listview/konq_listview.kcfg')
-rw-r--r--konqueror/listview/konq_listview.kcfg32
1 files changed, 30 insertions, 2 deletions
diff --git a/konqueror/listview/konq_listview.kcfg b/konqueror/listview/konq_listview.kcfg
index bce9798a6..5c31c5cea 100644
--- a/konqueror/listview/konq_listview.kcfg
+++ b/konqueror/listview/konq_listview.kcfg
@@ -7,7 +7,6 @@
<kcfgfile name="konquerorrc">
<parameter name="Protocol" />
</kcfgfile>
-
<group name="ListView_$(Protocol)">
<entry key="SortBy" type="String">
<default>FileName</default>
@@ -19,6 +18,36 @@
<label>Sort Order</label>
<whatsthis></whatsthis>
</entry>
+ <entry key="PrimarySortCol" type="String">
+ <default>TBD</default>
+ <label>Primary sort column name</label>
+ <whatsthis></whatsthis>
+ </entry>
+ <entry key="PrimarySortIndex" type="Int">
+ <default>-1</default>
+ <label>Primary sort column offset</label>
+ <whatsthis></whatsthis>
+ </entry>
+ <entry key="PrimarySortOrder" type="Bool">
+ <default>true</default>
+ <label>Primary sort column sorting order</label>
+ <whatsthis></whatsthis>
+ </entry>
+ <entry key="AlternateSortCol" type="String">
+ <default>TBD</default>
+ <label>Alternate sort column name</label>
+ <whatsthis></whatsthis>
+ </entry>
+ <entry key="AlternateSortIndex" type="Int">
+ <default>-1</default>
+ <label>Alternate sort column offset</label>
+ <whatsthis></whatsthis>
+ </entry>
+ <entry key="AlternateSortOrder" type="Bool">
+ <default>true</default>
+ <label>Alternate sort column sorting order</label>
+ <whatsthis></whatsthis>
+ </entry>
<entry key="FileNameColumnWidth" type="Int">
<default code="true">25 * TDEApplication::kApplication()->fontMetrics().width( "m" )</default>
<label>Width of the FileName Column</label>
@@ -33,5 +62,4 @@
<whatsthis></whatsthis>
</entry>
</group>
-
</kcfg> \ No newline at end of file