]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/SettingsPrivacy.ui
Partial filter list implementation.
[PrivacyBrowserPC.git] / src / uis / SettingsPrivacy.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2022-2024 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc/>.
7
8   Privacy Browser PC is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser PC is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ui version="4.0">
22     <!-- The name of the generated class. -->
23     <class>PrivacySettings</class>
24
25     <widget class="QWidget">
26         <layout class="QVBoxLayout">
27             <item>
28                 <layout class="QFormLayout">
29                     <!-- JavaScript. -->
30                     <item row="0" column="1">
31                         <widget class="QCheckBox" name="kcfg_javaScriptEnabled">
32                             <property name="text">
33                                 <string>JavaScript</string>
34                             </property>
35
36                             <property name="toolTip">
37                                 <string>JavaScript allows websites to run programs (scripts) on the device.  The default is disabled.</string>
38                             </property>
39                         </widget>
40                     </item>
41
42                     <!-- Cookies. -->
43                     <item row="1" column="1">
44                         <widget class="QCheckBox" name="kcfg_localStorageEnabled">
45                             <property name="text">
46                                 <string>Local storage</string>
47                             </property>
48
49                             <property name="toolTip">
50                                 <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>
51                             </property>
52                         </widget>
53                     </item>
54
55                     <!-- DOM storage. -->
56                     <item row="2" column="1">
57                         <widget class="QCheckBox" name="kcfg_domStorageEnabled">
58                             <property name="text">
59                                 <string>DOM storage</string>
60                             </property>
61
62                             <property name="toolTip">
63                                 <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>
64                             </property>
65
66                             <!-- Initially disable DOM storage. -->
67                             <property name="enabled">
68                                 <bool>false</bool>
69                             </property>
70                         </widget>
71                     </item>
72
73                     <!-- User agent. -->
74                     <item row="3" column="0">
75                         <widget class="QLabel">
76                             <property name="text">
77                                 <string>User agent</string>
78                             </property>
79
80                             <property name="toolTip">
81                                 <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>
82                             </property>
83                         </widget>
84                     </item>
85
86                     <item row="3" column="1">
87                         <widget class="QComboBox" name="kcfg_userAgent">
88                             <property name="sizePolicy">
89                                 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
90                                     <horstretch>0</horstretch>
91                                     <verstretch>0</verstretch>
92                                 </sizepolicy>
93                             </property>
94
95                             <property name="editable">
96                                 <bool>true</bool>
97                             </property>
98
99                             <item>
100                                 <property name="text">
101                                     <string>Privacy Browser</string>
102                                 </property>
103                             </item>
104
105                             <item>
106                                 <property name="text">
107                                     <string>WebEngine Default</string>
108                                 </property>
109                             </item>
110
111                             <item>
112                                 <property name="text">
113                                     <string>Firefox Linux</string>
114                                 </property>
115                             </item>
116
117                             <item>
118                                 <property name="text">
119                                     <string>Chromium Linux</string>
120                                 </property>
121                             </item>
122
123                             <item>
124                                 <property name="text">
125                                     <string>Firefox Windows</string>
126                                 </property>
127                             </item>
128
129                             <item>
130                                 <property name="text">
131                                     <string>Chrome Windows</string>
132                                 </property>
133                             </item>
134
135                             <item>
136                                 <property name="text">
137                                     <string>Edge Windows</string>
138                                 </property>
139                             </item>
140
141                             <item>
142                                 <property name="text">
143                                     <string>Safari macOS</string>
144                                 </property>
145                             </item>
146                         </widget>
147                     </item>
148
149                     <item row="4" column="1">
150                         <widget class="QLabel" name="userAgentLabel">
151                             <property name="textInteractionFlags">
152                                 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
153                             </property>
154                         </widget>
155                     </item>
156                 </layout>
157             </item>
158
159             <!-- Filter lists. -->
160             <item>
161                 <widget class="QGroupBox">
162                     <property name="title">
163                         <string>Filter lists</string>
164                     </property>
165
166                     <layout class="QVBoxLayout">
167                         <!-- UltraList. -->
168                         <item>
169                             <widget class="QCheckBox" name="kcfg_ultralist">
170                                 <property name="text">
171                                     <string>UltraList</string>
172                                 </property>
173
174                                 <property name="toolTip">
175                                     <string>Block a few important things that EasyList misses.  The default is enabled.</string>
176                                 </property>
177                             </widget>
178                         </item>
179
180                         <!-- UltraPrivacy. -->
181                         <item>
182                             <widget class="QCheckBox" name="kcfg_ultraprivacy">
183                                 <property name="text">
184                                     <string>UltraPrivacy</string>
185                                 </property>
186
187                                 <property name="toolTip">
188                                     <string>Block a few important things that EasyPrivacy misses.  The default is enabled.</string>
189                                 </property>
190                             </widget>
191                         </item>
192
193                         <!-- EasyList. -->
194                         <item>
195                             <widget class="QCheckBox" name="kcfg_easylist">
196                                 <property name="text">
197                                     <string>EasyList</string>
198                                 </property>
199
200                                 <property name="toolTip">
201                                     <string>Block advertisements.  The default is enabled.</string>
202                                 </property>
203                             </widget>
204                         </item>
205
206                         <!-- EasyPrivacy. -->
207                         <item>
208                             <widget class="QCheckBox" name="kcfg_easyprivacy">
209                                 <property name="text">
210                                     <string>EasyPrivacy</string>
211                                 </property>
212
213                                 <property name="toolTip">
214                                     <string>Block tracking.  The default is enabled.</string>
215                                 </property>
216                             </widget>
217                         </item>
218
219                         <!-- Fanboy's Annoyance List. -->
220                         <item>
221                             <widget class="QCheckBox" name="kcfg_fanboysAnnoyanceList">
222                                 <property name="text">
223                                     <string>Fanboy's Annoyance List</string>
224                                 </property>
225
226                                 <property name="toolTip">
227                                     <string>Block annoyances, like GDPR banners and social media buttons.  The default is enabled.</string>
228                                 </property>
229                             </widget>
230                         </item>
231                     </layout>
232                 </widget>
233             </item>
234
235
236             <!-- Spacer. -->
237             <item>
238                 <spacer>
239                     <property name="orientation">
240                         <enum>Qt::Vertical</enum>
241                     </property>
242                 </spacer>
243             </item>
244         </layout>
245     </widget>
246 </ui>