aboutsummaryrefslogtreecommitdiff
path: root/src/dialogs/settingsdialog.ui
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2020-12-30 16:38:06 +1100
committerFelix Queißner <felix@ib-queissner.de>2020-12-30 11:10:54 +0100
commite5814f2bae65e9b757a26e8b263d5e868dbb2f41 (patch)
tree0d6963b254b7ad8bd2bf4f1e5210104d0fb92dfc /src/dialogs/settingsdialog.ui
parent3854701237560d1655bcf713bdd5a3f91f3a075b (diff)
downloadkristall-e5814f2bae65e9b757a26e8b263d5e868dbb2f41.tar.gz
Add preference to show hidden files in directory listings
also improved listing code so that files and dirs with spaces now display and function properly
Diffstat (limited to 'src/dialogs/settingsdialog.ui')
-rw-r--r--src/dialogs/settingsdialog.ui47
1 files changed, 40 insertions, 7 deletions
diff --git a/src/dialogs/settingsdialog.ui b/src/dialogs/settingsdialog.ui
index 2de52d3..8a84c5f 100644
--- a/src/dialogs/settingsdialog.ui
+++ b/src/dialogs/settingsdialog.ui
@@ -242,37 +242,68 @@
</layout>
</item>
<item row="7" column="0">
+ <widget class="QLabel" name="label_23">
+ <property name="text">
+ <string>Hidden files in file:// directories</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_8">
+ <item>
+ <widget class="QRadioButton" name="show_hidden_files">
+ <property name="text">
+ <string>Show</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">hiddenFilesBtnGroup</string>
+ </attribute>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="hide_hidden_files">
+ <property name="text">
+ <string>Hide</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">hiddenFilesBtnGroup</string>
+ </attribute>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="8" column="0">
<widget class="QLabel" name="label_26">
<property name="text">
<string>Max. Number of Redirections</string>
</property>
</widget>
</item>
- <item row="7" column="1">
+ <item row="8" column="1">
<widget class="QSpinBox" name="max_redirects">
<property name="value">
<number>5</number>
</property>
</widget>
</item>
- <item row="8" column="0">
+ <item row="9" column="0">
<widget class="QLabel" name="label_27">
<property name="text">
<string>Redirection Handling</string>
</property>
</widget>
</item>
- <item row="8" column="1">
+ <item row="9" column="1">
<widget class="QComboBox" name="redirection_mode"/>
</item>
- <item row="9" column="0">
+ <item row="10" column="0">
<widget class="QLabel" name="label_28">
<property name="text">
<string>Network Timeout</string>
</property>
</widget>
</item>
- <item row="9" column="1">
+ <item row="10" column="1">
<widget class="QSpinBox" name="network_timeout">
<property name="suffix">
<string> ms</string>
@@ -285,14 +316,14 @@
</property>
</widget>
</item>
- <item row="10" column="0">
+ <item row="11" column="0">
<widget class="QLabel" name="label_29">
<property name="text">
<string>Additional toolbar buttons</string>
</property>
</widget>
</item>
- <item row="10" column="1">
+ <item row="11" column="1">
<widget class="QCheckBox" name="enable_home_btn">
<property name="text">
<string>Home</string>
@@ -921,6 +952,8 @@
<tabstop>gophermap_text</tabstop>
<tabstop>scheme_os_default</tabstop>
<tabstop>scheme_error</tabstop>
+ <tabstop>show_hidden_files</tabstop>
+ <tabstop>hide_hidden_files</tabstop>
<tabstop>max_redirects</tabstop>
<tabstop>redirection_mode</tabstop>
<tabstop>network_timeout</tabstop>