]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/FilterListsDialog.ui
Partial filter 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                 <layout class="QHBoxLayout">
39                     <!-- Left column. -->
40                     <item>
41                         <layout class="QVBoxLayout">
42                             <!-- Filter list combo box. -->
43                             <item>
44                                 <!-- The form layout lets the combo box shrink to the size of the contents. -->
45                                 <layout class="QFormLayout">
46                                     <item row="0" column="0">
47                                         <widget class="QComboBox" name="filterListComboBox" />
48                                     </item>
49                                 </layout>
50                             </item>
51
52                             <!-- Filter list text edit. -->
53                             <item>
54                                 <widget class="QTextEdit" name="filterListTextEdit">
55                                     <property name="readOnly">
56                                         <bool>true</bool>
57                                     </property>
58                                 </widget>
59                             </item>
60                         </layout>
61                     </item>
62
63                     <!-- Right column. -->
64                     <item>
65                         <layout class="QVBoxLayout">
66                             <!-- Sublist combo box. -->
67                             <item>
68                                 <!-- The form layout lets the combo box shrink to the size of the contents. -->
69                                 <layout class="QFormLayout">
70                                     <item row="0" column="0">
71                                         <widget class="QComboBox" name="sublistComboBox">
72                                             <property name="sizeAdjustPolicy">
73                                                 <enum>QComboBox::AdjustToContents</enum>
74                                             </property>
75                                         </widget>
76                                     </item>
77                                 </layout>
78                             </item>
79
80                             <!-- Sublist table. -->
81                             <item>
82                                 <widget class="QTableWidget" name="sublistTableWidget">
83                                     <property name="editTriggers">
84                                         <set>QAbstractItemView::NoEditTriggers</set>
85                                     </property>
86
87                                     <property name="horizontalScrollMode">
88                                         <enum>QAbstractItemView::ScrollPerPixel</enum>
89                                     </property>
90
91                                     <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
92                                         <bool>true</bool>
93                                     </attribute>
94
95                                     <attribute name="horizontalHeaderStretchLastSection">
96                                         <bool>true</bool>
97                                     </attribute>
98                                 </widget>
99                             </item>
100                         </layout>
101                     </item>
102                 </layout>
103             </item>
104
105             <!-- Buttons. -->
106             <item>
107                 <widget class="QDialogButtonBox" name="dialogButtonBox">
108                     <property name="standardButtons">
109                         <set>QDialogButtonBox::Close</set>
110                     </property>
111                 </widget>
112             </item>
113         </layout>
114     </widget>
115 </ui>