]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/DomainSettingsView.ui
Switch the Domain Settings implementation to a Dialog.
[PrivacyBrowserPC.git] / src / DomainSettingsView.ui
diff --git a/src/DomainSettingsView.ui b/src/DomainSettingsView.ui
deleted file mode 100644 (file)
index f847f3c..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?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>DomainSettingsView</class>
-
-    <widget class="QWidget" name="DomainSettingsView">
-        <!-- TODO.  Make this maximized by default. -->
-        <property name="geometry">
-            <rect>
-                <x>0</x>
-                <y>0</y>
-                <width>700</width>
-                <height>500</height>
-            </rect>
-        </property>
-
-        <!-- Main widget. -->
-        <layout class="QHBoxLayout">
-            <!-- Set the spacing between items to 0. -->
-            <property name="spacing">
-                <number>0</number>
-            </property>
-
-            <!-- Set the margins to 0. -->
-            <property name="topMargin">
-                <number>0</number>
-            </property>
-
-            <property name="bottomMargin">
-                <number>0</number>
-            </property>
-
-            <property name="leftMargin">
-                <number>0</number>
-            </property>
-
-            <property name="rightMargin">
-                <number>0</number>
-            </property>
-
-            <!-- Domains list view. -->
-            <item>
-                <widget class="QListView" name="domainsListView"/>
-            </item>
-
-            <!-- Domain settings form layout. -->
-            <item>
-                <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>
-                </layout>
-            </item>
-        </layout>
-    </widget>
-</ui>