]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/ui/SettingsPrivacy.ui
Add controls for local storage. https://redmine.stoutner.com/issues/830
[PrivacyBrowserPC.git] / src / ui / SettingsPrivacy.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
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_javaScript">
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             <!-- Local storage. -->
41             <item row="1" column="1">
42                 <widget class="QCheckBox" name="kcfg_localStorage">
43                     <property name="text">
44                         <string>Local storage</string>
45                     </property>
46
47                     <property name="toolTip">
48                         <string>Local storage, sometimes also called DOM storage, is like cookies on steroids.</string>
49                     </property>
50                 </widget>
51             </item>
52
53             <!-- User agent. -->
54             <item row="2" column="0">
55                 <widget class="QLabel">
56                     <property name="text">
57                         <string>User agent</string>
58                     </property>
59                 </widget>
60             </item>
61
62             <item row="2" column="1">
63                 <widget class="QComboBox" name="kcfg_userAgent">
64                     <property name="sizePolicy">
65                         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
66                             <horstretch>0</horstretch>
67                             <verstretch>0</verstretch>
68                         </sizepolicy>
69                     </property>
70
71                     <property name="toolTip">
72                         <string>The default is Privacy Browser.</string>
73                     </property>
74
75                     <property name="editable">
76                         <bool>true</bool>
77                     </property>
78
79                     <item>
80                         <property name="text">
81                             <string>Privacy Browser</string>
82                         </property>
83                     </item>
84
85                     <item>
86                         <property name="text">
87                             <string>Firefox Linux</string>
88                         </property>
89                     </item>
90
91                     <item>
92                         <property name="text">
93                             <string>Chromium Linux</string>
94                         </property>
95                     </item>
96
97                     <item>
98                         <property name="text">
99                             <string>Firefox Windows</string>
100                         </property>
101                     </item>
102
103                     <item>
104                         <property name="text">
105                             <string>Chrome Windows</string>
106                         </property>
107                     </item>
108
109                     <item>
110                         <property name="text">
111                             <string>Edge Windows</string>
112                         </property>
113                     </item>
114
115                     <item>
116                         <property name="text">
117                             <string>Safari macOS</string>
118                         </property>
119                     </item>
120                 </widget>
121             </item>
122
123             <item row="3" column="1">
124                 <widget class="QLabel" name="userAgentLabel">
125                     <property name="textInteractionFlags">
126                         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
127                     </property>
128                 </widget>
129             </item>
130         </layout>
131     </widget>
132 </ui>