<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+ Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
+ This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
Privacy Browser PC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
<class>GeneralSettings</class>
<widget class="QWidget">
- <layout class="QFormLayout">
- <!-- Homepage. -->
- <item row="0" column="0">
- <widget class="QLabel" name="homepageLabel">
- <property name="text">
- <string>Homepage</string>
- </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QFormLayout">
+ <!-- Homepage. -->
+ <item row="0" column="0">
+ <widget class="QLabel" name="homepageLabel">
+ <property name="text">
+ <string>Homepage</string>
+ </property>
- <property name="toolTip">
- <string>The default is https://www.mojeek.com/.</string>
- </property>
- </widget>
- </item>
+ <property name="toolTip">
+ <string>The default is https://www.mojeek.com/.</string>
+ </property>
+ </widget>
+ </item>
- <item row="0" column="1">
- <widget class="KLineEdit" name="kcfg_homepage" />
- </item>
+ <item row="0" column="1">
+ <widget class="KLineEdit" name="kcfg_homepage" />
+ </item>
- <!-- Search engine. -->
- <item row="1" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>Search engine</string>
- </property>
+ <!-- Search engine. -->
+ <item row="1" column="0">
+ <widget class="QLabel">
+ <property name="text">
+ <string>Search engine</string>
+ </property>
- <property name="toolTip">
- <string>The default is Mojeek.</string>
- </property>
- </widget>
- </item>
+ <property name="toolTip">
+ <string>The default is Mojeek.</string>
+ </property>
+ </widget>
+ </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="kcfg_searchEngine">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="kcfg_searchEngine">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
- <property name="editable">
- <bool>true</bool>
- </property>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
- <item>
- <property name="text">
- <string>Mojeek</string>
- </property>
- </item>
+ <item>
+ <property name="text">
+ <string>Mojeek</string>
+ </property>
+ </item>
- <item>
- <property name="text">
- <string>Monocles</string>
- </property>
- </item>
+ <item>
+ <property name="text">
+ <string>Monocles</string>
+ </property>
+ </item>
- <item>
- <property name="text">
- <string>MetaGer</string>
- </property>
+ <item>
+ <property name="text">
+ <string>MetaGer</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Google</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Bing</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Yahoo</string>
+ </property>
+ </item>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Google</string>
- </property>
+ <item row="2" column="1">
+ <widget class="QLabel" name="searchEngineLabel">
+ <property name="textInteractionFlags">
+ <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Bing</string>
- </property>
+ <!-- Zoom factor. -->
+ <item row="3" column="0">
+ <widget class="QLabel" name="zoomFactorLabel">
+ <property name="text">
+ <string>Zoom factor</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Valid values for the zoom factor are between 0.25 and 5.00. The default is 1.00.</string>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Yahoo</string>
- </property>
+ <item row="3" column="1">
+ <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
+ <property name="minimum">
+ <double>0.250000000000000</double>
+ </property>
+
+ <property name="maximum">
+ <double>5.000000000000000</double>
+ </property>
+
+ <property name="singleStep">
+ <double>0.250000000000000</double>
+ </property>
+ </widget>
</item>
- </widget>
+ </layout>
</item>
- <item row="2" column="1">
- <widget class="QLabel" name="searchEngineLabel">
- <property name="textInteractionFlags">
- <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+ <!-- Tabs on top. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_tabsOnTop">
+ <property name="text">
+ <string>Tabs on top</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Display the tabs at the top of the screen. The default is enabled.</string>
</property>
</widget>
</item>
- <!-- Zoom factor. -->
- <item row="3" column="0">
- <widget class="QLabel" name="zoomFactorLabel">
+ <!-- Spatial navigation. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_spatialNavigation">
<property name="text">
- <string>Zoom factor</string>
+ <string>Spatial navigation</string>
</property>
<property name="toolTip">
- <string>Valid values for the zoom factor are between 0.25 and 5.00. The default is 1.00.</string>
+ <string>Allow moving between links and input fields using the keyboard arrow keys. The default is enabled.</string>
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
-
- <property name="minimum">
- <double>0.250000000000000</double>
+ <!-- Download location. -->
+ <item>
+ <widget class="QGroupBox">
+ <property name="title">
+ <string>Download Location</string>
</property>
- <property name="maximum">
- <double>5.000000000000000</double>
- </property>
+ <layout class="QVBoxLayout">
+ <!-- Download directory. -->
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QComboBox" name="kcfg_downloadDirectory">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
- <property name="singleStep">
- <double>0.250000000000000</double>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+
+ <item>
+ <property name="text">
+ <string>System Download Directory</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+
+ <item>
+ <widget class="QPushButton" name="browseButton">
+ <property name="text">
+ <string>Browse</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+
+ <!-- Auto update download directory. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_autoUpateDownloadDirectory">
+ <property name="text">
+ <string>Auto update the download directory</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Automatically update the download directory to be whatever was used for the last download. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+
+ <!-- Full screen browsing. -->
+ <item>
+ <widget class="QGroupBox">
+ <property name="title">
+ <string>Full Screen Browsing</string>
</property>
+
+ <layout class="QVBoxLayout">
+ <!-- Hide menu bar. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_fullScreenHideMenuBar">
+ <property name="text">
+ <string>Hide menu bar</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Hide the menu bar when browsing full screen. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- Hide toolbars. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_fullScreenHideToolBars">
+ <property name="text">
+ <string>Hide toolbars</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Hide the toolbars when browsing full screen. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- Hide tab bar. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_fullScreenHideTabBar">
+ <property name="text">
+ <string>Hide tab bar</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Hide the tab bar when browsing full screen. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- Hide status bar. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_fullScreenHideStatusBar">
+ <property name="text">
+ <string>Hide status bar</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Hide the status bar when browsing full screen. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
+
+ <!-- Spacer. -->
+ <item>
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
</ui>