Implement manual adding of cookies.
[PrivacyBrowserPC.git] / src / ui / CookiesDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
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>CookiesDialog</class>
23
24
25     <widget class="QWidget">
26         <property name="geometry">
27             <rect>
28                 <x>0</x>
29                 <y>0</y>
30                 <height>1000</height>
31                 <width>1500</width>
32             </rect>
33         </property>
34
35         <layout class="QVBoxLayout">
36             <item>
37                 <!-- Scroll area. -->
38                 <widget class="QScrollArea" name="scrollArea">
39                     <property name="widgetResizable">
40                         <bool>true</bool>
41                     </property>
42                 </widget>
43             </item>
44
45             <item>
46                 <layout class="QHBoxLayout">
47                     <!-- Add cookie button. -->
48                     <item>
49                         <widget class="QPushButton" name="addCookieButton">
50                             <property name="text">
51                                 <string>Add cookie</string>
52                             </property>
53
54                             <property name="icon">
55                                 <iconset theme="list-add" />
56                             </property>
57                         </widget>
58                     </item>
59
60                     <!-- Edit cookie button. -->
61                     <item>
62                         <widget class="QPushButton" name="editDomainButton">
63                             <property name="text">
64                                 <string>Edit cookie</string>
65                             </property>
66
67                             <property name="icon">
68                                 <iconset theme="edit-entry" />
69                             </property>
70                         </widget>
71                     </item>
72
73                     <!-- Delete domain button. -->
74                     <item>
75                         <widget class="QPushButton" name="deleteDomainButton">
76                             <property name="text">
77                                 <string>Delete cookie</string>
78                             </property>
79
80                             <property name="icon">
81                                 <iconset theme="list-remove" />
82                             </property>
83                         </widget>
84                     </item>
85
86                     <!-- Close button. -->
87                     <item>
88                         <widget class="QDialogButtonBox" name="dialogButtonBox">
89                             <property name="standardButtons">
90                                 <set>QDialogButtonBox::Close</set>
91                             </property>
92                         </widget>
93                     </item>
94                 </layout>
95             </item>
96         </layout>
97     </widget>
98 </ui>