<!--
Copyright 2022-2024 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
+ 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>PrivacySettings</class>
<widget class="QWidget">
- <layout class="QFormLayout">
- <!-- JavaScript. -->
- <item row="0" column="1">
- <widget class="QCheckBox" name="kcfg_javaScriptEnabled">
- <property name="text">
- <string>JavaScript</string>
- </property>
-
- <property name="toolTip">
- <string>JavaScript allows websites to run programs (scripts) on the device. The default is disabled.</string>
- </property>
- </widget>
- </item>
-
- <!-- Cookies. -->
- <item row="1" column="1">
- <widget class="QCheckBox" name="kcfg_localStorageEnabled">
- <property name="text">
- <string>Local storage</string>
- </property>
-
- <property name="toolTip">
- <string>Local storage includes cookies, DOM storage, IndexedDB, service workers, and the filesystem API. DOM storage also requires a separate control to be enabled. Local storage is disabled by default.</string>
- </property>
- </widget>
- </item>
-
- <!-- DOM storage. -->
- <item row="2" column="1">
- <widget class="QCheckBox" name="kcfg_domStorageEnabled">
- <property name="text">
- <string>DOM storage</string>
- </property>
-
- <property name="toolTip">
- <string>DOM storage, sometimes called web storage, is like cookies on steroids. To function, it requires that both JavaScript and local storage be enabled. It is disabled by default.</string>
- </property>
-
- <!-- Initially disable DOM storage. -->
- <property name="enabled">
- <bool>false</bool>
- </property>
- </widget>
- </item>
-
- <!-- User agent. -->
- <item row="3" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>User agent</string>
- </property>
-
- <property name="toolTip">
- <string>The user agent identifies the browser to the web server. It serves no useful purpose, but many web servers refuse to return the web page if they don't see a user agent they like. The default is Privacy Browser.</string>
- </property>
- </widget>
- </item>
-
- <item row="3" column="1">
- <widget class="QComboBox" name="kcfg_userAgent">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
-
- <property name="editable">
- <bool>true</bool>
- </property>
-
- <item>
- <property name="text">
- <string>Privacy Browser</string>
- </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QFormLayout">
+ <!-- JavaScript. -->
+ <item row="0" column="1">
+ <widget class="QCheckBox" name="kcfg_javaScriptEnabled">
+ <property name="text">
+ <string>JavaScript</string>
+ </property>
+
+ <property name="toolTip">
+ <string>JavaScript allows websites to run programs (scripts) on the device. The default is disabled.</string>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>WebEngine Default</string>
- </property>
+ <!-- Cookies. -->
+ <item row="1" column="1">
+ <widget class="QCheckBox" name="kcfg_localStorageEnabled">
+ <property name="text">
+ <string>Local storage</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Local storage includes cookies, DOM storage, IndexedDB, service workers, and the filesystem API. DOM storage also requires a separate control to be enabled. Local storage is disabled by default.</string>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Firefox Linux</string>
- </property>
+ <!-- DOM storage. -->
+ <item row="2" column="1">
+ <widget class="QCheckBox" name="kcfg_domStorageEnabled">
+ <property name="text">
+ <string>DOM storage</string>
+ </property>
+
+ <property name="toolTip">
+ <string>DOM storage, sometimes called web storage, is like cookies on steroids. To function, it requires that both JavaScript and local storage be enabled. It is disabled by default.</string>
+ </property>
+
+ <!-- Initially disable DOM storage. -->
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Chromium Linux</string>
- </property>
+ <!-- User agent. -->
+ <item row="3" column="0">
+ <widget class="QLabel">
+ <property name="text">
+ <string>User agent</string>
+ </property>
+
+ <property name="toolTip">
+ <string>The user agent identifies the browser to the web server. It serves no useful purpose, but many web servers refuse to return the web page if they don't see a user agent they like. The default is Privacy Browser.</string>
+ </property>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Firefox Windows</string>
- </property>
+ <item row="3" column="1">
+ <widget class="QComboBox" name="kcfg_userAgent">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+
+ <item>
+ <property name="text">
+ <string>Privacy Browser</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>WebEngine Default</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Firefox Linux</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Chromium Linux</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Firefox Windows</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Chrome Windows</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Edge Windows</string>
+ </property>
+ </item>
+
+ <item>
+ <property name="text">
+ <string>Safari macOS</string>
+ </property>
+ </item>
+ </widget>
</item>
- <item>
- <property name="text">
- <string>Chrome Windows</string>
- </property>
+ <item row="4" column="1">
+ <widget class="QLabel" name="userAgentLabel">
+ <property name="textInteractionFlags">
+ <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+ </property>
+ </widget>
</item>
+ </layout>
+ </item>
- <item>
- <property name="text">
- <string>Edge Windows</string>
- </property>
- </item>
+ <!-- Filter lists. -->
+ <item>
+ <widget class="QGroupBox">
+ <property name="title">
+ <string>Filter lists</string>
+ </property>
- <item>
- <property name="text">
- <string>Safari macOS</string>
- </property>
- </item>
+ <layout class="QVBoxLayout">
+ <!-- UltraPrivacy. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_ultraPrivacyEnabled">
+ <property name="text">
+ <string>UltraPrivacy</string>
+ </property>
+
+ <property name="toolTip">
+ <string>UltraPrivacy blocks a few important things that EasyPrivacy misses. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- UltraList. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_ultraListEnabled">
+ <property name="text">
+ <string>UltraList</string>
+ </property>
+
+ <property name="toolTip">
+ <string>UltraList blocks a few important things that EasyList misses. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- EasyPrivacy. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_easyPrivacyEnabled">
+ <property name="text">
+ <string>EasyPrivacy</string>
+ </property>
+
+ <property name="toolTip">
+ <string>EasyPrivacy blocks tracking. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- EasyList. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_easyListEnabled">
+ <property name="text">
+ <string>EasyList</string>
+ </property>
+
+ <property name="toolTip">
+ <string>EasyList blocks advertisements. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+
+ <!-- Fanboy's Annoyance List. -->
+ <item>
+ <widget class="QCheckBox" name="kcfg_fanboysAnnoyanceListEnabled">
+ <property name="text">
+ <string>Fanboy’s Annoyance List</string>
+ </property>
+
+ <property name="toolTip">
+ <string>Fanboy’s Annoyance List blocks annoyances, like GDPR banners and social media buttons. The default is enabled.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
- <item row="4" column="1">
- <widget class="QLabel" name="userAgentLabel">
- <property name="textInteractionFlags">
- <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+
+ <!-- Spacer. -->
+ <item>
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- </widget>
+ </spacer>
</item>
</layout>
</widget>