]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/BrowserView.ui
d78eb203637643e975533f75ef3d422b2129813f
[PrivacyBrowserPC.git] / src / BrowserView.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     <class>BrowserView</class>
23
24     <widget class="QWidget" name="BrowserView">
25         <!-- TODO.  Make this maximized by default. -->
26         <property name="geometry">
27             <rect>
28                 <x>0</x>
29                 <y>0</y>
30                 <width>700</width>
31                 <height>500</height>
32             </rect>
33         </property>
34
35         <!-- Main widget. -->
36         <layout class="QVBoxLayout">
37             <!-- Set the spacing between items to 0. -->
38             <property name="spacing">
39                 <number>0</number>
40             </property>
41
42             <!-- Set the margins to 0. -->
43             <property name="topMargin">
44                 <number>0</number>
45             </property>
46
47             <property name="bottomMargin">
48                 <number>0</number>
49             </property>
50
51             <property name="leftMargin">
52                 <number>0</number>
53             </property>
54
55             <property name="rightMargin">
56                 <number>0</number>
57             </property>
58
59             <!-- WebEngine view. -->
60             <item>
61                 <widget class="QWebEngineView" name="webEngineView" />
62             </item>
63         </layout>
64     </widget>
65 </ui>