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