]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/mainview.ui
Create a home icon.
[PrivacyBrowserPC.git] / src / mainview.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>MainView</class>
23
24     <widget class="QWidget" name="MainView">
25         <!-- TODO.  Make this maximized by default. -->
26         <property name="geometry">
27             <rect>
28                 <x>0</x>
29                 <y>0</y>
30                 <width>315</width>
31                 <height>233</height>
32             </rect>
33         </property>
34
35         <layout class="QVBoxLayout">
36             <!-- Set the spacing between items to 0. -->
37             <property name="spacing">
38                 <number>0</number>
39             </property>
40
41             <!-- Set the margins to 0. -->
42             <property name="topMargin">
43                 <number>0</number>
44             </property>
45
46             <property name="bottomMargin">
47                 <number>0</number>
48             </property>
49
50             <property name="leftMargin">
51                 <number>0</number>
52             </property>
53
54             <property name="rightMargin">
55                 <number>0</number>
56             </property>
57
58             <item>
59                 <layout class="QHBoxLayout">
60                     <!-- Set the spacing between items to 0. -->
61                     <property name="spacing">
62                         <number>0</number>
63                     </property>
64
65                     <!-- The back button. -->
66                     <item>
67                         <widget class="QPushButton" name="backButton">
68                             <property name="icon">
69                                 <iconset theme="arrow-left" />
70                             </property>
71
72                             <property name="iconSize">
73                                 <size>
74                                     <height>24</height>
75                                     <width>24</width>
76                                 </size>
77                             </property>
78
79                             <property name="flat">
80                                 <bool>true</bool>
81                             </property>
82                         </widget>
83                     </item>
84
85                     <!-- The forward button. -->
86                     <item>
87                         <widget class="QPushButton" name="forwardButton">
88                             <property name="icon">
89                                 <iconset theme="arrow-right" />
90                             </property>
91
92                             <property name="iconSize">
93                                 <size>
94                                     <height>24</height>
95                                     <width>24</width>
96                                 </size>
97                             </property>
98
99                             <property name="flat">
100                                 <bool>true</bool>
101                             </property>
102                         </widget>
103                     </item>
104
105                     <!-- The home button. -->
106                     <item>
107                         <widget class="QPushButton" name="homeButton">
108                             <property name="icon">
109                                 <iconset theme="home" />
110                             </property>
111
112                             <property name="iconSize">
113                                 <size>
114                                     <height>24</height>
115                                     <width>24</width>
116                                 </size>
117                             </property>
118
119                             <property name="flat">
120                                 <bool>true</bool>
121                             </property>
122                         </widget>
123                     </item>
124
125                     <!-- The URL line edit.-->
126                     <item>
127                         <widget class="KLineEdit" name="urlLineEdit" />
128                     </item>
129                 </layout>
130             </item>
131
132             <!-- The WebEngine view. -->
133             <item>
134                 <widget class="QWebEngineView" name="webEngineView" />
135             </item>
136         </layout>
137     </widget>
138 </ui>