]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/mainview.ui
4865f6eacb46f2d6f8b0295f11c192e383ef7453
[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                     <item>
66                         <widget class="QPushButton" name="backButton">
67                             <property name="icon">
68                                 <iconset theme="arrow-left" />
69                             </property>
70
71                             <property name="iconSize">
72                                 <size>
73                                     <width>24</width>
74                                     <height>24</height>
75                                 </size>
76                             </property>
77
78                             <property name="flat">
79                                 <bool>true</bool>
80                             </property>
81                         </widget>
82                     </item>
83
84                     <item>
85                         <widget class="QPushButton" name="forwardButton">
86                             <property name="icon">
87                                 <iconset theme="arrow-right" />
88                             </property>
89
90                             <property name="iconSize">
91                                 <size>
92                                     <width>24</width>
93                                     <height>24</height>
94                                 </size>
95                             </property>
96
97                             <property name="flat">
98                                 <bool>true</bool>
99                             </property>
100                         </widget>
101                     </item>
102
103                     <item>
104                         <widget class="KLineEdit" name="urlLineEdit" />
105                     </item>
106                 </layout>
107             </item>
108
109             <item>
110                 <widget class="QWebEngineView" name="webEngineView" />
111             </item>
112         </layout>
113     </widget>
114 </ui>