]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/EditFolderDialog.ui
545ed3cf3465bba6786bb9b0c30c42786dedb7e0
[PrivacyBrowserPC.git] / src / uis / EditFolderDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2023 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>EditFolderDialog</class>
23
24     <widget class="QWidget">
25         <layout class="QVBoxLayout">
26             <!-- Dialog body. -->
27             <item>
28                 <layout class="QHBoxLayout">
29                     <!-- Favorite icon column. -->
30                     <item>
31                         <layout class="QVBoxLayout">
32                             <property name="rightMargin">
33                                 <number>10</number>
34                             </property>
35
36                             <!-- First row, current folder icon. -->
37                             <item>
38                                 <widget class="QRadioButton" name="currentFolderIconRadioButton">
39                                     <property name="text">
40                                         <string>Default folder icon</string>
41                                     </property>
42
43                                     <property name="checked">
44                                         <bool>true</bool>
45                                     </property>
46
47                                     <property name="iconSize">
48                                         <size>
49                                             <height>32</height>
50                                             <width>32</width>
51                                         </size>
52                                     </property>
53                                 </widget>
54                             </item>
55
56                             <!-- Second row, current website favorite icon. -->
57                             <item>
58                                 <widget class="QRadioButton" name="currentWebsiteFavoriteIconRadioButton">
59                                     <property name="text">
60                                         <string>Current website favorite icon</string>
61                                     </property>
62
63                                     <property name="iconSize">
64                                         <size>
65                                             <height>32</height>
66                                             <width>32</width>
67                                         </size>
68                                     </property>
69                                 </widget>
70                             </item>
71
72                             <!-- Third row, custom folder icon. -->
73                             <item>
74                                 <widget class="QRadioButton" name="customFolderIconRadioButton">
75                                     <property name="text">
76                                         <string>Custom folder icon</string>
77                                     </property>
78
79                                     <property name="icon">
80                                         <iconset theme="folder-symbolic"/>
81                                     </property>
82
83                                     <property name="iconSize">
84                                         <size>
85                                             <height>32</height>
86                                             <width>32</width>
87                                         </size>
88                                     </property>
89                                 </widget>
90                             </item>
91
92                             <!-- Spacer. -->
93                             <item>
94                                 <spacer>
95                                     <property name="orientation">
96                                         <enum>Qt::Vertical</enum>
97                                     </property>
98                                 </spacer>
99                             </item>
100                         </layout>
101                     </item>
102
103                     <!-- Parent folder and name column. -->
104                     <item>
105                         <layout class="QVBoxLayout">
106                             <!-- First row. -->
107                             <item>
108                                 <layout class="QHBoxLayout">
109                                     <property name="alignment">
110                                         <enum>Qt::AlignLeft</enum>
111                                     </property>
112
113                                     <!-- Parent folder.  -->
114                                     <item>
115                                         <widget class="QTreeWidget" name="parentFolderTreeWidget">
116                                             <property name="minimumSize">
117                                                 <size>
118                                                     <width>1000</width>
119                                                     <height>700</height>
120                                                 </size>
121                                             </property>
122                                         </widget>
123                                     </item>
124                                 </layout>
125                             </item>
126
127                             <!-- Second row. -->
128                             <item>
129                                 <layout class="QHBoxLayout">
130                                     <property name="alignment">
131                                         <enum>Qt::AlignLeft</enum>
132                                     </property>
133
134                                     <!-- Folder name. -->
135                                     <item>
136                                         <widget class="QLabel">
137                                             <property name="toolTip">
138                                                 <string>The folder name.</string>
139                                             </property>
140
141                                             <property name="text">
142                                                 <string>Folder name</string>
143                                             </property>
144                                         </widget>
145                                     </item>
146
147                                     <item>
148                                         <widget class="QLineEdit" name="folderNameLineEdit" />
149                                     </item>
150                                 </layout>
151                             </item>
152                         </layout>
153                     </item>
154                 </layout>
155             </item>
156
157             <!-- Buttons. -->
158             <item>
159                 <layout class="QHBoxLayout">
160                     <!-- Browse button. -->
161                     <item>
162                         <widget class="QPushButton" name="browseButton">
163                             <property name="text">
164                                 <string>Browse</string>
165                             </property>
166
167                             <property name="icon">
168                                 <iconset theme="insert-image" />
169                             </property>
170                         </widget>
171                     </item>
172
173                     <!-- Cancel button - dialog button box. -->
174                     <item>
175                         <widget class="QDialogButtonBox" name="dialogButtonBox">
176                             <property name="standardButtons">
177                                 <set>QDialogButtonBox::Save | QDialogButtonBox::Cancel</set>
178                             </property>
179                         </widget>
180                     </item>
181                 </layout>
182             </item>
183         </layout>
184     </widget>
185 </ui>