]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/SettingsPrivacy.ui
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[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="QFormLayout">
27             <!-- JavaScript. -->
28             <item row="0" column="1">
29                 <widget class="QCheckBox" name="kcfg_javaScriptEnabled">
30                     <property name="text">
31                         <string>JavaScript</string>
32                     </property>
33
34                     <property name="toolTip">
35                         <string>JavaScript allows websites to run programs (scripts) on the device.  The default is disabled.</string>
36                     </property>
37                 </widget>
38             </item>
39
40             <!-- Cookies. -->
41             <item row="1" column="1">
42                 <widget class="QCheckBox" name="kcfg_localStorageEnabled">
43                     <property name="text">
44                         <string>Local storage</string>
45                     </property>
46
47                     <property name="toolTip">
48                         <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>
49                     </property>
50                 </widget>
51             </item>
52
53             <!-- DOM storage. -->
54             <item row="2" column="1">
55                 <widget class="QCheckBox" name="kcfg_domStorageEnabled">
56                     <property name="text">
57                         <string>DOM storage</string>
58                     </property>
59
60                     <property name="toolTip">
61                         <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>
62                     </property>
63
64                     <!-- Initially disable DOM storage. -->
65                     <property name="enabled">
66                         <bool>false</bool>
67                     </property>
68                 </widget>
69             </item>
70
71             <!-- User agent. -->
72             <item row="3" column="0">
73                 <widget class="QLabel">
74                     <property name="text">
75                         <string>User agent</string>
76                     </property>
77
78                     <property name="toolTip">
79                         <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>
80                     </property>
81                 </widget>
82             </item>
83
84             <item row="3" column="1">
85                 <widget class="QComboBox" name="kcfg_userAgent">
86                     <property name="sizePolicy">
87                         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
88                             <horstretch>0</horstretch>
89                             <verstretch>0</verstretch>
90                         </sizepolicy>
91                     </property>
92
93                     <property name="editable">
94                         <bool>true</bool>
95                     </property>
96
97                     <item>
98                         <property name="text">
99                             <string>Privacy Browser</string>
100                         </property>
101                     </item>
102
103                     <item>
104                         <property name="text">
105                             <string>WebEngine Default</string>
106                         </property>
107                     </item>
108
109                     <item>
110                         <property name="text">
111                             <string>Firefox Linux</string>
112                         </property>
113                     </item>
114
115                     <item>
116                         <property name="text">
117                             <string>Chromium Linux</string>
118                         </property>
119                     </item>
120
121                     <item>
122                         <property name="text">
123                             <string>Firefox Windows</string>
124                         </property>
125                     </item>
126
127                     <item>
128                         <property name="text">
129                             <string>Chrome Windows</string>
130                         </property>
131                     </item>
132
133                     <item>
134                         <property name="text">
135                             <string>Edge Windows</string>
136                         </property>
137                     </item>
138
139                     <item>
140                         <property name="text">
141                             <string>Safari macOS</string>
142                         </property>
143                     </item>
144                 </widget>
145             </item>
146
147             <item row="4" column="1">
148                 <widget class="QLabel" name="userAgentLabel">
149                     <property name="textInteractionFlags">
150                         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
151                     </property>
152                 </widget>
153             </item>
154         </layout>
155     </widget>
156 </ui>