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-android>.
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="QLabel">
92 <property name="toolTip">
93 <string>Websites can restrict cookie access to subpath of their URL.</string>
96 <property name="text">
103 <widget class="QLineEdit" name="pathLineEdit">
104 <property name="text">
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>
123 <!-- Expiration date. -->
125 <widget class="QCheckBox" name="expirationCheckBox">
126 <property name="toolTip">
127 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
133 <widget class="QLabel">
134 <property name="toolTip">
135 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
138 <property name="text">
139 <string>Expiration date</string>
145 <widget class="QLabel">
146 <property name="textFormat">
147 <enum>Qt::RichText</enum>
150 <!-- Spacer label. -->
151 <property name="text">
152 <string>&nbsp;</string>
158 <widget class="QDateTimeEdit" name="expirationDateTimeEdit">
159 <property name="dateTime">
170 <property name="calendarPopup">
174 <property name="enabled">
181 <widget class="QLabel">
182 <property name="textFormat">
183 <enum>Qt::RichText</enum>
186 <!-- Spacer label. -->
187 <property name="text">
188 <string>&nbsp;&nbsp;&nbsp;</string>
195 <widget class="QCheckBox" name="httpOnlyCheckBox">
196 <property name="toolTip">
197 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
200 <property name="checked">
207 <widget class="QLabel">
208 <property name="toolTip">
209 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
212 <property name="text">
213 <string>HTTP only</string>
219 <widget class="QLabel">
220 <property name="textFormat">
221 <enum>Qt::RichText</enum>
224 <!-- Spacer label. -->
225 <property name="text">
226 <string>&nbsp;&nbsp;&nbsp;</string>
233 <widget class="QCheckBox" name="secureCheckBox">
234 <property name="toolTip">
235 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
238 <property name="checked">
245 <widget class="QLabel">
246 <property name="toolTip">
247 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
250 <property name="text">
251 <string>Secure</string>
260 <layout class="QHBoxLayout">
261 <property name="alignment">
262 <enum>Qt::AlignLeft</enum>
267 <widget class="QLabel">
268 <property name="toolTip">
269 <string>The value contains the cookie data.</string>
272 <property name="text">
273 <string>Value</string>
279 <widget class="QLineEdit" name="valueLineEdit" />
287 <property name="orientation">
288 <enum>Qt::Vertical</enum>
293 <!-- Dialog buttons. -->
295 <widget class="QDialogButtonBox" name="dialogButtonBox">
296 <property name="standardButtons">
297 <set>QDialogButtonBox::Save | QDialogButtonBox::Cancel</set>