]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/TabWidget.ui
ad6a5a0cfce0724c6778f0e1f508ef2b43018b63
[PrivacyBrowserPC.git] / src / uis / TabWidget.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>TabWidget</class>
23
24     <!-- Tab QWidget. -->
25     <widget class="QWidget">
26
27         <!-- Main layout. -->
28         <layout class="QVBoxLayout">
29             <!-- Set the margins to 0. -->
30             <property name="topMargin">
31                 <number>0</number>
32             </property>
33
34             <property name="bottomMargin">
35                 <number>0</number>
36             </property>
37
38             <property name="leftMargin">
39                 <number>0</number>
40             </property>
41
42             <property name="rightMargin">
43                 <number>0</number>
44             </property>
45
46             <!-- Tab widget. -->
47             <item>
48                 <widget class="QTabWidget" name="tabWidget" >
49                     <property name="iconSize">
50                         <size>
51                             <width>24</width>
52                             <height>24</height>
53                         </size>
54                     </property>
55
56                     <property name="tabsClosable">
57                         <bool>true</bool>
58                     </property>
59
60                     <property name="movable">
61                         <bool>true</bool>
62                     </property>
63
64                     <property name="elideMode">
65                         <enum>Qt::ElideRight</enum>
66                     </property>
67                 </widget>
68             </item>
69         </layout>
70     </widget>
71 </ui>