]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/DurableCookiesDialog.ui
Enable downloading of files that require login cookies. https://redmine.stoutner...
[PrivacyBrowserPC.git] / src / uis / DurableCookiesDialog.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-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>DurableCookiesDialog</class>
23
24     <widget class="QWidget">
25         <property name="geometry">
26             <rect>
27                 <x>0</x>
28                 <y>0</y>
29                 <height>900</height>
30                 <width>1400</width>
31             </rect>
32         </property>
33
34         <layout class="QVBoxLayout">
35             <!-- Table view. -->
36             <item>
37                 <widget class="QTableView" name="tableView">
38                     <property name="selectionMode">
39                         <enum>QAbstractItemView::SingleSelection</enum>
40                     </property>
41
42                     <property name="selectionBehavior">
43                         <enum>QAbstractItemView::SelectRows</enum>
44                     </property>
45                 </widget>
46             </item>
47
48             <!-- Buttons. -->
49             <item>
50                 <layout class="QHBoxLayout">
51                     <!-- Add cookie button.-->
52                     <item>
53                         <widget class="QPushButton" name="addCookieButton">
54                             <property name="text">
55                                 <string>&amp;Add cookie</string>
56                             </property>
57
58                             <property name="icon">
59                                 <iconset theme="list-add" />
60                             </property>
61                         </widget>
62                     </item>
63
64                     <!-- Delete cookie button. -->
65                     <item>
66                         <widget class="QPushButton" name="deleteCookieButton">
67                             <property name="text">
68                                 <string>&amp;Delete cookie</string>
69                             </property>
70
71                             <property name="icon">
72                                 <iconset theme="list-remove" />
73                             </property>
74                         </widget>
75                     </item>
76
77                     <!-- Delete all cookies button. -->
78                     <item>
79                         <widget class="QPushButton" name="deleteAllCookiesButton">
80                             <property name="text">
81                                 <string>Delete &amp;all</string>
82                             </property>
83
84                             <property name="icon">
85                                 <iconset theme="delete" />
86                             </property>
87                         </widget>
88                     </item>
89
90                     <!-- Spacer. -->
91                     <item>
92                         <spacer>
93                             <property name="orientation">
94                                 <enum>Qt::Horizontal</enum>
95                             </property>
96                         </spacer>
97                     </item>
98
99                     <!-- Dialog button box - reset, OK, apply and close. -->
100                     <item>
101                         <widget class="QDialogButtonBox" name="dialogButtonBox">
102                             <property name="standardButtons">
103                                 <set>QDialogButtonBox::Reset | QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel</set>
104                             </property>
105                         </widget>
106                     </item>
107                 </layout>
108             </item>
109         </layout>
110     </widget>
111 </ui>