1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
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.
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.
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/>. -->
22 <class>DomainSettingsDialog</class>
24 <widget class="QWidget" name="DomainSettingsDialog">
25 <property name="geometry">
35 <layout class="QHBoxLayout">
37 <layout class="QVBoxLayout">
38 <!-- Domains list view. -->
40 <widget class="QListView" name="domainsListView"/>
43 <!-- Domain buttons. -->
45 <layout class="QHBoxLayout">
46 <!-- Add domain button. -->
48 <widget class="QPushButton" name="addDomainButton">
49 <property name="text">
50 <string>Add Domain</string>
53 <property name="icon">
54 <iconset theme="list-add"/>
59 <!-- Delete domain button. -->
61 <widget class="QPushButton" name="deleteDomainButton">
62 <property name="text">
63 <string>Delete domain</string>
66 <property name="icon">
67 <iconset theme="list-remove"/>
75 <property name="orientation">
76 <enum>Qt::Horizontal</enum>
86 <layout class="QVBoxLayout">
88 <widget class="QWidget" name="domainSettingsWidget">
89 <!-- Domain settings form layout. -->
90 <layout class="QFormLayout">
92 <item row="0" column="0">
93 <widget class="QLabel" name="domainNameLabel">
94 <property name="text">
95 <string>Domain name</string>
100 <item row="0" column="1">
101 <widget class="KLineEdit" name="domainNameLineEdit">
102 <property name="toolTip">
103 <string>*. may be prepended to a domain to include all subdomains (eg. *.stoutner.com).</string>
109 <item row="1" column="0">
110 <widget class="QLabel">
111 <property name="text">
112 <string>JavaScript</string>
117 <item row="1" column="1">
118 <widget class="QComboBox" name="javaScriptComboBox">
119 <property name="toolTip">
120 <string>JavaScript allows websites to run programs (scripts) on the device.</string>
124 <property name="text">
125 <string>System default</string>
130 <property name="text">
131 <string>JavaScript disabled</string>
136 <property name="text">
137 <string>JavaScript enabled</string>
143 <item row="2" column="1">
144 <widget class="QLabel" name="javaScriptLabel">
145 <property name="textFormat">
146 <enum>Qt::RichText</enum>
152 <item row="3" column="0">
153 <widget class="QLabel">
154 <property name="text">
155 <string>User Agent</string>
160 <item row="3" column="1">
161 <widget class="QComboBox" name="userAgentComboBox">
162 <property name="sizePolicy">
163 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
164 <horstretch>0</horstretch>
165 <verstretch>0</verstretch>
169 <property name="editable">
174 <property name="text">
175 <string>System default</string>
180 <property name="text">
181 <string>Privacy Browser</string>
186 <property name="text">
187 <string>Firefox on Linux</string>
192 <property name="text">
193 <string>Chromium on Linux</string>
198 <property name="text">
199 <string>Firefox on Windows</string>
204 <property name="text">
205 <string>Chrome on Windows</string>
210 <property name="text">
211 <string>Edge on Windows</string>
216 <property name="text">
217 <string>Safari on macOS</string>
223 <item row="4" column="1">
224 <widget class="QLabel" name="userAgentLabel">
225 <property name="textFormat">
226 <enum>Qt::RichText</enum>
231 <!-- Zoom factor. -->
232 <item row="5" column="0">
233 <widget class="QLabel">
234 <property name="text">
235 <string>Zoom factor</string>
240 <item row="5" column="1">
241 <widget class="QComboBox" name="zoomFactorComboBox">
243 <property name="text">
244 <string>System default</string>
249 <property name="text">
250 <string>Custom</string>
256 <item row="6" column="1">
257 <widget class="QDoubleSpinBox" name="customZoomFactorSpinBox">
258 <property name="toolTip">
259 <string>Set the zoom factor between 0.25 and 5.00. The default is 1.00.</string>
262 <property name="minimum">
263 <double>0.250000000000000</double>
266 <property name="maximum">
267 <double>5.000000000000000</double>
270 <property name="singleStep">
271 <double>0.250000000000000</double>
282 <property name="orientation">
283 <enum>Qt::Vertical</enum>
288 <!-- Dialog buttons. -->
290 <widget class="QDialogButtonBox" name="dialogButtonBox">
291 <property name="standardButtons">
292 <set>QDialogButtonBox::Reset | QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel</set>