]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/SettingsPrivacy.ui
Set the default window size.
[PrivacyBrowserPC.git] / src / 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="0">
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             <!-- User agent. -->
41             <item row="1" column="0">
42                 <widget class="QLabel">
43                     <property name="text">
44                         <string>User agent</string>
45                     </property>
46                 </widget>
47             </item>
48
49             <item row="1" column="1">
50                 <widget class="QComboBox" name="kcfg_userAgent">
51                     <property name="sizePolicy">
52                         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
53                             <horstretch>0</horstretch>
54                             <verstretch>0</verstretch>
55                         </sizepolicy>
56                     </property>
57
58                     <property name="toolTip">
59                         <string>The default is Privacy Browser.</string>
60                     </property>
61
62                     <property name="editable">
63                         <bool>true</bool>
64                     </property>
65
66                     <item>
67                         <property name="text">
68                             <string>Privacy Browser</string>
69                         </property>
70                     </item>
71
72                     <item>
73                         <property name="text">
74                             <string>Firefox Linux</string>
75                         </property>
76                     </item>
77
78                     <item>
79                         <property name="text">
80                             <string>Chromium Linux</string>
81                         </property>
82                     </item>
83
84                     <item>
85                         <property name="text">
86                             <string>Firefox Windows</string>
87                         </property>
88                     </item>
89
90                     <item>
91                         <property name="text">
92                             <string>Chrome Windows</string>
93                         </property>
94                     </item>
95
96                     <item>
97                         <property name="text">
98                             <string>Edge Windows</string>
99                         </property>
100                     </item>
101
102                     <item>
103                         <property name="text">
104                             <string>Safari macOS</string>
105                         </property>
106                     </item>
107                 </widget>
108             </item>
109
110             <item row="2" column="1">
111                 <widget class="QLabel" name="userAgentLabel">
112                     <property name="textInteractionFlags">
113                         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
114                     </property>
115                 </widget>
116             </item>
117         </layout>
118     </widget>
119 </ui>