]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/FilterListsDialog.ui
Finish block list implementation.
[PrivacyBrowserPC.git] / src / uis / FilterListsDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2024 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc/>.
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>FilterListsDialog</class>
23
24     <widget class="QWidget">
25         <property name="geometry">
26             <rect>
27                 <x>0</x>
28                 <y>0</y>
29                 <height>1500</height>
30                 <width>2500</width>
31             </rect>
32         </property>
33
34         <!-- Main layout. -->
35         <layout class="QVBoxLayout">
36             <!-- Main content. -->
37             <item>
38                 <widget class="QSplitter">
39                     <property name="orientation">
40                         <enum>Qt::Horizontal</enum>
41                     </property>
42
43                     <property name="handleWidth">
44                         <number>5</number>
45                     </property>
46
47                     <!-- Left column. -->
48                     <widget class="QWidget">
49                         <layout class="QVBoxLayout">
50                             <!-- Filter list combo box. -->
51                             <item>
52                                 <!-- The form layout lets the combo box shrink to the size of the contents. -->
53                                 <layout class="QFormLayout">
54                                     <item row="0" column="0">
55                                         <widget class="QComboBox" name="filterListComboBox" />
56                                     </item>
57                                 </layout>
58                             </item>
59
60                             <!-- Filter list text edit. -->
61                             <item>
62                                 <widget class="QTextEdit" name="filterListTextEdit">
63                                     <property name="readOnly">
64                                         <bool>true</bool>
65                                     </property>
66
67                                     <property name="lineWrapMode">
68                                         <enum>QTextEdit::NoWrap</enum>
69                                     </property>
70                                 </widget>
71                             </item>
72                         </layout>
73                     </widget>
74
75                     <!-- Right column. -->
76                     <widget class="QWidget">
77                         <layout class="QVBoxLayout">
78                             <!-- Sublist combo box. -->
79                             <item>
80                                 <!-- The form layout lets the combo box shrink to the size of the contents. -->
81                                 <layout class="QFormLayout">
82                                     <item row="0" column="0">
83                                         <widget class="QComboBox" name="sublistComboBox">
84                                             <property name="sizeAdjustPolicy">
85                                                 <enum>QComboBox::AdjustToContents</enum>
86                                             </property>
87                                         </widget>
88                                     </item>
89                                 </layout>
90                             </item>
91
92                             <!-- Sublist table. -->
93                             <item>
94                                 <widget class="QTableWidget" name="sublistTableWidget">
95                                     <property name="horizontalScrollMode">
96                                         <enum>QAbstractItemView::ScrollPerPixel</enum>
97                                     </property>
98
99                                     <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
100                                         <bool>true</bool>
101                                     </attribute>
102
103                                     <attribute name="horizontalHeaderStretchLastSection">
104                                         <bool>true</bool>
105                                     </attribute>
106                                 </widget>
107                             </item>
108                         </layout>
109                     </widget>
110                 </widget>
111             </item>
112
113             <!-- Buttons. -->
114             <item>
115                 <widget class="QDialogButtonBox" name="dialogButtonBox">
116                     <property name="standardButtons">
117                         <set>QDialogButtonBox::Close</set>
118                     </property>
119                 </widget>
120             </item>
121         </layout>
122     </widget>
123 </ui>