]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/SettingsGeneral.ui
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[PrivacyBrowserPC.git] / src / uis / SettingsGeneral.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2022-2023 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             <!-- Tabs on top. -->
150             <item>
151                 <widget class="QCheckBox" name="kcfg_tabsOnTop">
152                     <property name="text">
153                         <string>Tabs on top</string>
154                     </property>
155
156                     <property name="toolTip">
157                         <string>Display the tabs at the top of the screen.  The default is enabled.</string>
158                     </property>
159                 </widget>
160             </item>
161
162             <!-- Spatial navigation. -->
163             <item>
164                 <widget class="QCheckBox" name="kcfg_spatialNavigation">
165                     <property name="text">
166                         <string>Spatial navigation</string>
167                     </property>
168
169                     <property name="toolTip">
170                         <string>Allow moving between links and input fields using the keyboard arrow keys.  The default is enabled.</string>
171                     </property>
172                 </widget>
173             </item>
174
175             <!-- Download location. -->
176             <item>
177                 <widget class="QGroupBox">
178                     <property name="title">
179                         <string>Download Location</string>
180                     </property>
181
182                     <layout class="QVBoxLayout">
183                         <!-- Download directory. -->
184                         <item>
185                             <layout class="QHBoxLayout">
186                                 <item>
187                                     <widget class="QComboBox" name="kcfg_downloadDirectory">
188                                         <property name="sizePolicy">
189                                             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
190                                                 <horstretch>0</horstretch>
191                                                 <verstretch>0</verstretch>
192                                             </sizepolicy>
193                                         </property>
194
195                                         <property name="editable">
196                                             <bool>true</bool>
197                                         </property>
198
199                                         <item>
200                                             <property name="text">
201                                                 <string>System Download Directory</string>
202                                             </property>
203                                         </item>
204                                     </widget>
205                                 </item>
206
207                                 <item>
208                                     <widget class="QPushButton" name="browseButton">
209                                         <property name="text">
210                                             <string>Browse</string>
211                                         </property>
212                                     </widget>
213                                 </item>
214                             </layout>
215                         </item>
216
217                         <!-- Auto update download directory. -->
218                         <item>
219                             <widget class="QCheckBox" name="kcfg_autoUpateDownloadDirectory">
220                                 <property name="text">
221                                     <string>Auto update the download directory</string>
222                                 </property>
223
224                                 <property name="toolTip">
225                                     <string>Automatically update the download directory to be whatever was used for the last download. The default is enabled.</string>
226                                 </property>
227                             </widget>
228                         </item>
229                     </layout>
230                 </widget>
231             </item>
232
233             <!-- Full screen browsing. -->
234             <item>
235                 <widget class="QGroupBox">
236                     <property name="title">
237                         <string>Full Screen Browsing</string>
238                     </property>
239
240                     <layout class="QVBoxLayout">
241                         <!-- Hide menu bar. -->
242                         <item>
243                             <widget class="QCheckBox" name="kcfg_fullScreenHideMenuBar">
244                                 <property name="text">
245                                     <string>Hide menu bar</string>
246                                 </property>
247
248                                 <property name="toolTip">
249                                     <string>Hide the menu bar when browsing full screen. The default is enabled.</string>
250                                 </property>
251                             </widget>
252                         </item>
253
254                         <!-- Hide toolbars. -->
255                         <item>
256                             <widget class="QCheckBox" name="kcfg_fullScreenHideToolBars">
257                                 <property name="text">
258                                     <string>Hide toolbars</string>
259                                 </property>
260
261                                 <property name="toolTip">
262                                     <string>Hide the toolbars when browsing full screen.  The default is enabled.</string>
263                                 </property>
264                             </widget>
265                         </item>
266
267                         <!-- Hide tab bar. -->
268                         <item>
269                             <widget class="QCheckBox" name="kcfg_fullScreenHideTabBar">
270                                 <property name="text">
271                                     <string>Hide tab bar</string>
272                                 </property>
273
274                                 <property name="toolTip">
275                                     <string>Hide the tab bar when browsing full screen.  The default is enabled.</string>
276                                 </property>
277                             </widget>
278                         </item>
279
280                         <!-- Hide status bar. -->
281                         <item>
282                             <widget class="QCheckBox" name="kcfg_fullScreenHideStatusBar">
283                                 <property name="text">
284                                     <string>Hide status bar</string>
285                                 </property>
286
287                                 <property name="toolTip">
288                                     <string>Hide the status bar when browsing full screen.  The default is enabled.</string>
289                                 </property>
290                             </widget>
291                         </item>
292                     </layout>
293                 </widget>
294             </item>
295
296             <!-- Spacer. -->
297             <item>
298                 <spacer>
299                     <property name="orientation">
300                         <enum>Qt::Vertical</enum>
301                     </property>
302                 </spacer>
303             </item>
304         </layout>
305     </widget>
306 </ui>