Add User Agent to Domain Settings.
[PrivacyBrowserPC.git] / src / SettingsGeneral.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
7
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.
12
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.
17
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/>. -->
20
21 <ui version="4.0">
22     <!-- The name of the generated class. -->
23     <class>GeneralSettings</class>
24
25     <widget class="QWidget">
26         <layout class="QFormLayout">
27             <!-- Homepage. -->
28             <item row="0" column="0">
29                 <widget class="QLabel" name="homepageLabel">
30                     <property name="text">
31                         <string>Homepage</string>
32                     </property>
33                 </widget>
34             </item>
35
36             <item row="0" column="1">
37                 <widget class="KLineEdit" name="kcfg_homepage">
38                     <property name="toolTip">
39                         <string>The default is https://www.mojeek.com/.</string>
40                     </property>
41                 </widget>
42             </item>
43
44             <!-- Search engine. -->
45             <item row="1" column="0">
46                 <widget class="QLabel">
47                     <property name="text">
48                         <string>Search engine</string>
49                     </property>
50                 </widget>
51             </item>
52
53             <item row="1" column="1">
54                 <widget class="QComboBox" name="kcfg_searchEngine">
55                     <property name="sizePolicy">
56                         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
57                             <horstretch>0</horstretch>
58                             <verstretch>0</verstretch>
59                         </sizepolicy>
60                     </property>
61
62                     <property name="toolTip">
63                         <string>The default is Mojeek.</string>
64                     </property>
65
66                     <property name="editable">
67                         <bool>true</bool>
68                     </property>
69
70                     <item>
71                         <property name="text">
72                             <string>Mojeek</string>
73                         </property>
74                     </item>
75
76                     <item>
77                         <property name="text">
78                             <string>Monocles</string>
79                         </property>
80                     </item>
81
82                     <item>
83                         <property name="text">
84                             <string>MetaGer</string>
85                         </property>
86                     </item>
87
88                     <item>
89                         <property name="text">
90                             <string>Google</string>
91                         </property>
92                     </item>
93
94                     <item>
95                         <property name="text">
96                             <string>Bing</string>
97                         </property>
98                     </item>
99
100                     <item>
101                         <property name="text">
102                             <string>Yahoo</string>
103                         </property>
104                     </item>
105                 </widget>
106             </item>
107
108             <item row="2" column="1">
109                 <widget class="QLabel" name="searchEngineLabel">
110                     <property name="textInteractionFlags">
111                         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
112                     </property>
113                 </widget>
114             </item>
115
116             <!-- Zoom factor. -->
117             <item row="3" column="0">
118                 <widget class="QLabel" name="zoomFactorLabel">
119                     <property name="text">
120                         <string>Zoom factor</string>
121                     </property>
122                 </widget>
123             </item>
124
125             <item row="3" column="1">
126                 <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
127                     <property name="toolTip">
128                         <string>Set the zoom factor between 0.25 and 5.00.  The default is 1.00.</string>
129                     </property>
130
131                     <property name="minimum">
132                         <double>0.250000000000000</double>
133                     </property>
134
135                     <property name="maximum">
136                         <double>5.000000000000000</double>
137                     </property>
138
139                     <property name="singleStep">
140                         <double>0.250000000000000</double>
141                     </property>
142                 </widget>
143             </item>
144         </layout>
145     </widget>
146 </ui>