]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/TabWidget.ui
2aad7efd4d8b1e9bd860285b043e76a60f73d6ba
[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="styleSheet">
50                         <string notr="true">QTabBar::tab { width: 250px; }</string>
51                     </property>
52
53                     <property name="iconSize">
54                         <size>
55                             <height>24</height>
56                             <width>24</width>
57                         </size>
58                     </property>
59
60                     <property name="tabsClosable">
61                         <bool>true</bool>
62                     </property>
63
64                     <property name="movable">
65                         <bool>true</bool>
66                     </property>
67
68                     <property name="elideMode">
69                         <enum>Qt::ElideRight</enum>
70                     </property>
71                 </widget>
72             </item>
73         </layout>
74     </widget>
75 </ui>