-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
-
- This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
-
- Privacy Browser PC is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- Privacy Browser PC is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>. -->
-
-<ui version="4.0">
- <class>DomainSettingsDialog</class>
-
- <widget class="QWidget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <height>1000</height>
- <width>1500</width>
- </rect>
- </property>
-
- <!-- Main layout. -->
- <layout class="QHBoxLayout">
- <item>
- <layout class="QVBoxLayout">
- <!-- Domains list view. -->
- <item>
- <widget class="QListView" name="domainsListView"/>
- </item>
-
- <!-- Domain buttons. -->
- <item>
- <layout class="QHBoxLayout">
- <!-- Add domain button. -->
- <item>
- <widget class="QPushButton" name="addDomainButton">
- <property name="text">
- <string>Add domain</string>
- </property>
-
- <property name="icon">
- <iconset theme="list-add" />
- </property>
- </widget>
- </item>
-
- <!-- Delete domain button. -->
- <item>
- <widget class="QPushButton" name="deleteDomainButton">
- <property name="text">
- <string>Delete domain</string>
- </property>
-
- <property name="icon">
- <iconset theme="list-remove" />
- </property>
- </widget>
- </item>
-
- <!-- Spacer. -->
- <item>
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </item>
-
- <item>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QWidget" name="domainSettingsWidget">
- <!-- Domain settings form layout. -->
- <layout class="QFormLayout">
- <!-- Domain name. -->
- <item row="0" column="0">
- <widget class="QLabel" name="domainNameLabel">
- <property name="text">
- <string>Domain name</string>
- </property>
- </widget>
- </item>
-
- <item row="0" column="1">
- <widget class="KLineEdit" name="domainNameLineEdit">
- <property name="toolTip">
- <string>*. may be prepended to a domain to include all subdomains (eg. *.stoutner.com).</string>
- </property>
- </widget>
- </item>
-
- <!-- JavaScript. -->
- <item row="1" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>JavaScript</string>
- </property>
- </widget>
- </item>
-
- <item row="1" column="1">
- <widget class="QComboBox" name="javaScriptComboBox">
- <property name="toolTip">
- <string>JavaScript allows websites to run programs (scripts) on the device.</string>
- </property>
-
- <item>
- <property name="text">
- <string>System default</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>JavaScript disabled</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>JavaScript enabled</string>
- </property>
- </item>
- </widget>
- </item>
-
- <item row="2" column="1">
- <widget class="QLabel" name="javaScriptLabel">
- <property name="textFormat">
- <enum>Qt::RichText</enum>
- </property>
- </widget>
- </item>
-
- <!-- Local storage. -->
- <item row="3" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>Local storage</string>
- </property>
- </widget>
- </item>
-
- <item row="3" column="1">
- <widget class="QComboBox" name="localStorageComboBox">
- <property name="toolTip">
- <string>Local storage, sometimes also called DOM storage, is like cookies on steroids.</string>
- </property>
-
- <item>
- <property name="text">
- <string>System default</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Local storage disabled</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Local storage enabled</string>
- </property>
- </item>
- </widget>
- </item>
-
- <item row="4" column="1">
- <widget class="QLabel" name="localStorageLabel">
- <property name="textFormat">
- <enum>Qt::RichText</enum>
- </property>
- </widget>
- </item>
-
- <!-- User agent. -->
- <item row="5" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>User agent</string>
- </property>
- </widget>
- </item>
-
- <item row="5" column="1">
- <widget class="QComboBox" name="userAgentComboBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
-
- <property name="editable">
- <bool>true</bool>
- </property>
-
- <item>
- <property name="text">
- <string>System default</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Privacy Browser</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>WebEngine default</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Firefox on Linux</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Chromium on Linux</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Firefox on Windows</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Chrome on Windows</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Edge on Windows</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Safari on macOS</string>
- </property>
- </item>
- </widget>
- </item>
-
- <item row="6" column="1">
- <widget class="QLabel" name="userAgentLabel">
- <property name="textFormat">
- <enum>Qt::RichText</enum>
- </property>
- </widget>
- </item>
-
- <!-- Zoom factor. -->
- <item row="7" column="0">
- <widget class="QLabel">
- <property name="text">
- <string>Zoom factor</string>
- </property>
- </widget>
- </item>
-
- <item row="7" column="1">
- <widget class="QComboBox" name="zoomFactorComboBox">
- <item>
- <property name="text">
- <string>System default</string>
- </property>
- </item>
-
- <item>
- <property name="text">
- <string>Custom</string>
- </property>
- </item>
- </widget>
- </item>
-
- <item row="8" column="1">
- <widget class="QDoubleSpinBox" name="customZoomFactorSpinBox">
- <property name="toolTip">
- <string>Set the zoom factor between 0.25 and 5.00. The default is 1.00.</string>
- </property>
-
- <property name="minimum">
- <double>0.250000000000000</double>
- </property>
-
- <property name="maximum">
- <double>5.000000000000000</double>
- </property>
-
- <property name="singleStep">
- <double>0.250000000000000</double>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
-
- <!-- Spacer. -->
- <item>
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </spacer>
- </item>
-
- <!-- Dialog buttons. -->
- <item>
- <widget class="QDialogButtonBox" name="dialogButtonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Reset | QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
-</ui>