]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/EditBookmarkDialog.ui
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[PrivacyBrowserPC.git] / src / uis / EditBookmarkDialog.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>EditBookmarkDialog</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 favorite icon. -->
37                             <item>
38                                 <widget class="QRadioButton" name="currentFavoriteIconRadioButton">
39                                     <property name="text">
40                                         <string>Current favorite 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 favorite icon. -->
73                             <item>
74                                 <widget class="QRadioButton" name="customFavoriteIconRadioButton">
75                                     <property name="text">
76                                         <string>Custom favorite icon</string>
77                                     </property>
78
79                                     <property name="iconSize">
80                                         <size>
81                                             <height>32</height>
82                                             <width>32</width>
83                                         </size>
84                                     </property>
85                                 </widget>
86                             </item>
87
88                             <!-- Spacer. -->
89                             <item>
90                                 <spacer>
91                                     <property name="orientation">
92                                         <enum>Qt::Vertical</enum>
93                                     </property>
94                                 </spacer>
95                             </item>
96                         </layout>
97                     </item>
98
99                     <!-- Parent folder, name and URL column. -->
100                     <item>
101                         <layout class="QVBoxLayout">
102                             <!-- First row. -->
103                             <item>
104                                 <layout class="QHBoxLayout">
105                                     <property name="alignment">
106                                         <enum>Qt::AlignLeft</enum>
107                                     </property>
108
109                                     <!-- Parent folder.  -->
110                                     <item>
111                                         <widget class="QTreeWidget" name="parentFolderTreeWidget">
112                                             <property name="minimumSize">
113                                                 <size>
114                                                     <width>1000</width>
115                                                     <height>700</height>
116                                                 </size>
117                                             </property>
118                                         </widget>
119                                     </item>
120                                 </layout>
121                             </item>
122
123                             <!-- Second row. -->
124                             <item>
125                                 <layout class="QHBoxLayout">
126                                     <property name="alignment">
127                                         <enum>Qt::AlignLeft</enum>
128                                     </property>
129
130                                     <!-- Bookmark name.  -->
131                                     <item>
132                                         <widget class="QLabel">
133                                             <property name="toolTip">
134                                                 <string>The name of the bookmark.</string>
135                                             </property>
136
137                                             <property name="text">
138                                                 <string>Bookmark name</string>
139                                             </property>
140                                         </widget>
141                                     </item>
142
143                                     <item>
144                                         <widget class="QLineEdit" name="bookmarkNameLineEdit" />
145                                     </item>
146                                 </layout>
147                             </item>
148
149                             <!-- Second row. -->
150                             <item>
151                                 <layout class="QHBoxLayout">
152                                     <property name="alignment">
153                                         <enum>Qt::AlignLeft</enum>
154                                     </property>
155
156                                     <!-- Bookmark URL. -->
157                                     <item>
158                                         <widget class="QLabel">
159                                             <property name="toolTip">
160                                                 <string>The URL of the bookmark.</string>
161                                             </property>
162
163                                             <property name="text">
164                                                 <string>Bookmark URL</string>
165                                             </property>
166                                         </widget>
167                                     </item>
168
169                                     <item>
170                                         <widget class="QLineEdit" name="bookmarkUrlLineEdit">
171                                             <property name="sizePolicy">
172                                                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
173                                                     <horstretch>0</horstretch>
174                                                     <verstretch>0</verstretch>
175                                                 </sizepolicy>
176                                             </property>
177
178                                             <property name="minimumSize">
179                                                 <size>
180                                                     <width>700</width>
181                                                     <height>0</height>
182                                                 </size>
183                                             </property>
184                                         </widget>
185                                     </item>
186                                 </layout>
187                             </item>
188                         </layout>
189                     </item>
190                 </layout>
191             </item>
192
193             <!-- Buttons. -->
194             <item>
195                 <layout class="QHBoxLayout">
196                     <!-- Browse button. -->
197                     <item>
198                         <widget class="QPushButton" name="browseButton">
199                             <property name="text">
200                                 <string>Browse</string>
201                             </property>
202
203                             <property name="icon">
204                                 <iconset theme="insert-image" />
205                             </property>
206                         </widget>
207                     </item>
208
209                     <!-- Cancel button - dialog button box. -->
210                     <item>
211                         <widget class="QDialogButtonBox" name="dialogButtonBox">
212                             <property name="standardButtons">
213                                 <set>QDialogButtonBox::Save | QDialogButtonBox::Cancel</set>
214                             </property>
215                         </widget>
216                     </item>
217                 </layout>
218             </item>
219         </layout>
220     </widget>
221 </ui>