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>
149 <property name="orientation">
150 <enum>Qt::Vertical</enum>
155 <!-- Dialog buttons. -->
157 <widget class="QDialogButtonBox" name="dialogButtonBox">
158 <property name="standardButtons">
159 <set>QDialogButtonBox::Reset | QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel</set>