1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
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.
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.
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/>. -->
22 <class>AddOrEditCookieDialog</class>
24 <widget class="QWidget">
25 <layout class="QVBoxLayout">
28 <layout class="QHBoxLayout">
29 <property name="alignment">
30 <enum>Qt::AlignLeft</enum>
35 <widget class="QLabel">
36 <property name="toolTip">
37 <string>Cookies prepended by a period are accessible to all subdomains.</string>
40 <property name="text">
41 <string>Domain</string>
47 <widget class="QLineEdit" name="domainLineEdit" />
51 <widget class="QLabel">
52 <property name="textFormat">
53 <enum>Qt::RichText</enum>
56 <!-- Spacer label. -->
57 <property name="text">
58 <string>&nbsp;&nbsp;&nbsp;</string>
65 <widget class="QLabel">
66 <property name="toolTip">
67 <string>The name identifies the cookie. Each cookie has a unique combination of domain, name, and path.</string>
70 <property name="text">
77 <widget class="QLineEdit" name="nameLineEdit" />
84 <layout class="QHBoxLayout">
85 <property name="alignment">
86 <enum>Qt::AlignLeft</enum>
91 <widget class="QCheckBox" name="durableCheckBox">
92 <property name="toolTip">
93 <string>Durable cookies pursist across restarts, irrespective of the expiration date. All other cookies are deleted when Privacy Browser closes, irrespective of the expiration date.</string>
99 <widget class="QLabel">
100 <property name="text">
101 <string>Durable</string>
104 <property name="toolTip">
105 <string>Durable cookies pursist across restarts, irrespective of the expiration date. All other cookies are deleted when Privacy Browser closes, irrespective of the expiration date.</string>
111 <widget class="QLabel">
112 <property name="textFormat">
113 <enum>Qt::RichText</enum>
116 <!-- Spacer label. -->
117 <property name="text">
118 <string>&nbsp;&nbsp;&nbsp;</string>
125 <widget class="QLabel">
126 <property name="toolTip">
127 <string>Websites can restrict cookie access to subpath of their URL.</string>
130 <property name="text">
131 <string>Path</string>
137 <widget class="QLineEdit" name="pathLineEdit">
138 <property name="text">
145 <widget class="QLabel">
146 <property name="textFormat">
147 <enum>Qt::RichText</enum>
150 <!-- Spacer label. -->
151 <property name="text">
152 <string>&nbsp;&nbsp;&nbsp;</string>
157 <!-- Expiration date. -->
159 <widget class="QCheckBox" name="expirationCheckBox">
160 <property name="toolTip">
161 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
167 <widget class="QLabel">
168 <property name="text">
169 <string>Expiration date</string>
172 <property name="toolTip">
173 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
179 <widget class="QLabel">
180 <property name="textFormat">
181 <enum>Qt::RichText</enum>
184 <!-- Spacer label. -->
185 <property name="text">
186 <string>&nbsp;</string>
192 <widget class="QDateTimeEdit" name="expirationDateTimeEdit">
193 <property name="dateTime">
204 <property name="calendarPopup">
208 <property name="enabled">
215 <widget class="QLabel">
216 <property name="textFormat">
217 <enum>Qt::RichText</enum>
220 <!-- Spacer label. -->
221 <property name="text">
222 <string>&nbsp;&nbsp;&nbsp;</string>
229 <widget class="QCheckBox" name="httpOnlyCheckBox">
230 <property name="toolTip">
231 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
234 <property name="checked">
241 <widget class="QLabel">
242 <property name="text">
243 <string>HTTP only</string>
246 <property name="toolTip">
247 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
253 <widget class="QLabel">
254 <property name="textFormat">
255 <enum>Qt::RichText</enum>
258 <!-- Spacer label. -->
259 <property name="text">
260 <string>&nbsp;&nbsp;&nbsp;</string>
267 <widget class="QCheckBox" name="secureCheckBox">
268 <property name="toolTip">
269 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
272 <property name="checked">
279 <widget class="QLabel">
280 <property name="text">
281 <string>Secure</string>
284 <property name="toolTip">
285 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
294 <layout class="QHBoxLayout">
295 <property name="alignment">
296 <enum>Qt::AlignLeft</enum>
301 <widget class="QLabel">
302 <property name="toolTip">
303 <string>The value contains the cookie data.</string>
306 <property name="text">
307 <string>Value</string>
313 <widget class="QLineEdit" name="valueLineEdit" />
321 <property name="orientation">
322 <enum>Qt::Vertical</enum>
327 <!-- Dialog buttons. -->
329 <widget class="QDialogButtonBox" name="dialogButtonBox">
330 <property name="standardButtons">
331 <set>QDialogButtonBox::Save | QDialogButtonBox::Cancel</set>