]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/SettingsGeneral.ui
38fcfd47318b3a8fc88b75da02fde079a9fc5809
[PrivacyBrowserPC.git] / src / uis / 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-pc>.
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="QVBoxLayout">
27             <item>
28                 <layout class="QFormLayout">
29                     <!-- Homepage. -->
30                     <item row="0" column="0">
31                         <widget class="QLabel" name="homepageLabel">
32                             <property name="text">
33                                 <string>Homepage</string>
34                             </property>
35
36                             <property name="toolTip">
37                                 <string>The default is https://www.mojeek.com/.</string>
38                             </property>
39                         </widget>
40                     </item>
41
42                     <item row="0" column="1">
43                         <widget class="KLineEdit" name="kcfg_homepage" />
44                     </item>
45
46                     <!-- Search engine. -->
47                     <item row="1" column="0">
48                         <widget class="QLabel">
49                             <property name="text">
50                                 <string>Search engine</string>
51                             </property>
52
53                             <property name="toolTip">
54                                 <string>The default is Mojeek.</string>
55                             </property>
56                         </widget>
57                     </item>
58
59                     <item row="1" column="1">
60                         <widget class="QComboBox" name="kcfg_searchEngine">
61                             <property name="sizePolicy">
62                                 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
63                                     <horstretch>0</horstretch>
64                                     <verstretch>0</verstretch>
65                                 </sizepolicy>
66                             </property>
67
68                             <property name="editable">
69                                 <bool>true</bool>
70                             </property>
71
72                             <item>
73                                 <property name="text">
74                                     <string>Mojeek</string>
75                                 </property>
76                             </item>
77
78                             <item>
79                                 <property name="text">
80                                     <string>Monocles</string>
81                                 </property>
82                             </item>
83
84                             <item>
85                                 <property name="text">
86                                     <string>MetaGer</string>
87                                 </property>
88                             </item>
89
90                             <item>
91                                 <property name="text">
92                                     <string>Google</string>
93                                 </property>
94                             </item>
95
96                             <item>
97                                 <property name="text">
98                                     <string>Bing</string>
99                                 </property>
100                             </item>
101
102                             <item>
103                                 <property name="text">
104                                     <string>Yahoo</string>
105                                 </property>
106                             </item>
107                         </widget>
108                     </item>
109
110                     <item row="2" column="1">
111                         <widget class="QLabel" name="searchEngineLabel">
112                             <property name="textInteractionFlags">
113                                 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
114                             </property>
115                         </widget>
116                     </item>
117
118                     <!-- Zoom factor. -->
119                     <item row="3" column="0">
120                         <widget class="QLabel" name="zoomFactorLabel">
121                             <property name="text">
122                                 <string>Zoom factor</string>
123                             </property>
124
125                             <property name="toolTip">
126                                 <string>Valid values for the zoom factor are between 0.25 and 5.00.  The default is 1.00.</string>
127                             </property>
128                         </widget>
129                     </item>
130
131                     <item row="3" column="1">
132                         <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
133                             <property name="minimum">
134                                 <double>0.250000000000000</double>
135                             </property>
136
137                             <property name="maximum">
138                                 <double>5.000000000000000</double>
139                             </property>
140
141                             <property name="singleStep">
142                                 <double>0.250000000000000</double>
143                             </property>
144                         </widget>
145                     </item>
146                 </layout>
147             </item>
148
149             <!-- Download location. -->
150             <item>
151                 <layout class="QHBoxLayout">
152                     <item>
153                         <widget class="QLabel">
154                             <property name="text">
155                                 <string>Download Location</string>
156                             </property>
157
158                             <property name="toolTip">
159                                 <string>The default is System Download Directory.</string>
160                             </property>
161                         </widget>
162                     </item>
163
164                     <item>
165                         <widget class="QComboBox" name="kcfg_downloadLocation">
166                             <property name="sizePolicy">
167                                 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
168                                     <horstretch>0</horstretch>
169                                     <verstretch>0</verstretch>
170                                 </sizepolicy>
171                             </property>
172
173                             <property name="editable">
174                                 <bool>true</bool>
175                             </property>
176
177                             <item>
178                                 <property name="text">
179                                     <string>System Download Directory</string>
180                                 </property>
181                             </item>
182                         </widget>
183                     </item>
184
185                     <item>
186                         <widget class="QPushButton" name="browseButton">
187                             <property name="text">
188                                 <string>Browse</string>
189                             </property>
190                         </widget>
191                     </item>
192                 </layout>
193             </item>
194
195             <!-- Tabs on top. -->
196             <item>
197                 <widget class="QCheckBox" name="kcfg_tabsOnTop">
198                     <property name="text">
199                         <string>Tabs on top</string>
200                     </property>
201
202                     <property name="toolTip">
203                         <string>Display the tabs at the top of the screen.  The default is enabled.</string>
204                     </property>
205                 </widget>
206             </item>
207
208             <!-- Full screen browsing. -->
209             <item>
210                 <widget class="QGroupBox">
211                     <property name="title">
212                         <string>Full Screen Browsing</string>
213                     </property>
214
215                     <layout class="QVBoxLayout">
216                         <!-- Hide menu bar. -->
217                         <item>
218                             <widget class="QCheckBox" name="kcfg_fullScreenHideMenuBar">
219                                 <property name="text">
220                                     <string>Hide menu bar</string>
221                                 </property>
222
223                                 <property name="toolTip">
224                                     <string>Hide the menu bar when browsing full screen. The default is enabled.</string>
225                                 </property>
226                             </widget>
227                         </item>
228
229                         <!-- Hide toolbars. -->
230                         <item>
231                             <widget class="QCheckBox" name="kcfg_fullScreenHideToolBars">
232                                 <property name="text">
233                                     <string>Hide toolbars</string>
234                                 </property>
235
236                                 <property name="toolTip">
237                                     <string>Hide the toolbars when browsing full screen.  The default is enabled.</string>
238                                 </property>
239                             </widget>
240                         </item>
241
242                         <!-- Hide tab bar. -->
243                         <item>
244                             <widget class="QCheckBox" name="kcfg_fullScreenHideTabBar">
245                                 <property name="text">
246                                     <string>Hide tab bar</string>
247                                 </property>
248
249                                 <property name="toolTip">
250                                     <string>Hide the tab bar when browsing full screen.  The default is enabled.</string>
251                                 </property>
252                             </widget>
253                         </item>
254
255                         <!-- Hide status bar. -->
256                         <item>
257                             <widget class="QCheckBox" name="kcfg_fullScreenHideStatusBar">
258                                 <property name="text">
259                                     <string>Hide status bar</string>
260                                 </property>
261
262                                 <property name="toolTip">
263                                     <string>Hide the status bar when browsing full screen.  The default is enabled.</string>
264                                 </property>
265                             </widget>
266                         </item>
267                     </layout>
268                 </widget>
269             </item>
270
271             <!-- Spacer. -->
272             <item>
273                 <spacer>
274                     <property name="orientation">
275                         <enum>Qt::Vertical</enum>
276                     </property>
277                 </spacer>
278             </item>
279         </layout>
280     </widget>
281 </ui>