]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/uis/SettingsSpellCheck.ui
Enable spell checking. https://redmine.stoutner.com/issues/840
[PrivacyBrowserPC.git] / src / uis / SettingsSpellCheck.ui
diff --git a/src/uis/SettingsSpellCheck.ui b/src/uis/SettingsSpellCheck.ui
new file mode 100644 (file)
index 0000000..eb16b6a
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
+
+  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
+
+  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">
+    <!-- The name of the generated class. -->
+    <class>SpellCheckSettings</class>
+
+    <widget class="QWidget">
+        <layout class="QVBoxLayout">
+            <!-- Instructions. -->
+            <item>
+                <widget class="QLabel" name="spellCheckInstructions">
+                    <property name="text">
+                        <string>Spell checking languages can be added by installing the Hunspell language packages.  One or more languages can be selected.  All selected languages will be applied simultaneously.</string>
+                    </property>
+
+                    <property name="wordWrap">
+                        <bool>true</bool>
+                    </property>
+                </widget>
+            </item>
+
+            <!-- Selection list. -->
+            <item>
+                <widget class="QListWidget" name="spellCheckListWidget">
+                    <property name="sizePolicy">
+                        <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
+                            <horstretch>0</horstretch>
+                            <verstretch>0</verstretch>
+                        </sizepolicy>
+                    </property>
+                </widget>
+            </item>
+        </layout>
+    </widget>
+</ui>