]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/BookmarksDialog.ui
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[PrivacyBrowserPC.git] / src / uis / BookmarksDialog.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>BookmarksDialog</class>
23
24     <customwidgets>
25         <customwidget>
26             <class>DraggableTreeView</class>
27             <extends>QTreeView</extends>
28             <header>widgets/DraggableTreeView.h</header>
29         </customwidget>
30     </customwidgets>
31
32     <widget class="QWidget">
33         <property name="geometry">
34             <rect>
35                 <x>0</x>
36                 <y>0</y>
37                 <height>1000</height>
38                 <width>1500</width>
39             </rect>
40         </property>
41
42         <layout class="QVBoxLayout">
43             <!-- Tree view. -->
44             <item>
45                 <widget class="DraggableTreeView" name="draggableTreeView" />
46             </item>
47
48             <!-- Buttons. -->
49             <item>
50                 <layout class="QHBoxLayout">
51                     <!-- Add bookmark button. -->
52                     <item>
53                         <widget class="QPushButton" name="addBookmarkButton">
54                             <property name="text">
55                                 <string>Add bookmark</string>
56                             </property>
57
58                             <property name="icon">
59                                 <iconset theme="list-add" />
60                             </property>
61                         </widget>
62                     </item>
63
64                     <!-- Add folder button. -->
65                     <item>
66                         <widget class="QPushButton" name="addFolderButton">
67                             <property name="text">
68                                 <string>Add folder</string>
69                             </property>
70
71                             <property name="icon">
72                                 <iconset theme="folder-add" />
73                             </property>
74                         </widget>
75                     </item>
76
77                     <!-- Edit button. -->
78                     <item>
79                         <widget class="QPushButton" name="editButton">
80                             <property name="text">
81                                 <string>Edit</string>
82                             </property>
83
84                             <property name="icon">
85                                 <iconset theme="document-edit" />
86                             </property>
87                         </widget>
88                     </item>
89
90                     <!-- Delete button. -->
91                     <item>
92                         <widget class="QPushButton" name="deleteItemsButton">
93                             <property name="text">
94                                 <string>Delete items</string>
95                             </property>
96
97                             <property name="icon">
98                                 <iconset theme="list-remove" />
99                             </property>
100                         </widget>
101                     </item>
102
103                     <!-- Close button - dialog button box. -->
104                     <item>
105                         <widget class="QDialogButtonBox" name="dialogButtonBox">
106                             <property name="standardButtons">
107                                 <set>QDialogButtonBox::Close</set>
108                             </property>
109                         </widget>
110                     </item>
111                 </layout>
112             </item>
113         </layout>
114     </widget>
115 </ui>