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>AddCookieDialog</class>
24 <widget class="QWidget">
25 <layout class="QVBoxLayout">
27 <layout class="QHBoxLayout">
28 <property name="alignment">
29 <enum>Qt::AlignLeft</enum>
34 <widget class="QLabel">
35 <property name="toolTip">
36 <string>Cookies prepended by a period are accessible to all subdomains.</string>
39 <property name="textFormat">
40 <enum>Qt::RichText</enum>
43 <property name="text">
44 <string>Domain&nbsp;</string>
50 <widget class="QLineEdit" name="domainLineEdit">
51 <property name="toolTip">
52 <string>Cookies prepended by a period are accessible to all subdomains.</string>
59 <widget class="QLabel">
60 <property name="toolTip">
61 <string>The identifier of the cookie, which is unique when combined with the domain and the path.</string>
64 <property name="textFormat">
65 <enum>Qt::RichText</enum>
68 <property name="text">
69 <string>&nbsp;&nbsp;&nbsp;&nbsp;Name&nbsp;</string>
75 <widget class="QLineEdit" name="nameLineEdit">
76 <property name="toolTip">
77 <string>The identifier of the cookie, which is unique when combined with the domain and the path.</string>
85 <layout class="QHBoxLayout">
86 <property name="alignment">
87 <enum>Qt::AlignLeft</enum>
90 <!-- Expiration date. -->
92 <widget class="QCheckBox" name="expirationCheckBox">
93 <property name="toolTip">
94 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
100 <widget class="QLabel">
101 <property name="toolTip">
102 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
105 <property name="textFormat">
106 <enum>Qt::RichText</enum>
109 <property name="text">
110 <string>Expiration date&nbsp;</string>
116 <widget class="QDateTimeEdit" name="expirationDateTimeEdit">
117 <property name="toolTip">
118 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
121 <property name="dateTime">
132 <property name="calendarPopup">
136 <property name="enabled">
144 <widget class="QLabel">
145 <property name="toolTip">
146 <string>Websites can restrict cookie access to subpath of their URL.</string>
149 <property name="textFormat">
150 <enum>Qt::RichText</enum>
153 <property name="text">
154 <string>&nbsp;&nbsp;&nbsp;&nbsp;Path&nbsp;</string>
160 <widget class="QLineEdit" name="pathLineEdit">
161 <property name="toolTip">
162 <string>Websites can restrict cookie access to subpath of their URL.</string>
165 <property name="text">
171 <!-- A spacer label. Necessary to add space before the check box. -->
173 <widget class="QLabel">
174 <property name="textFormat">
175 <enum>Qt::RichText</enum>
178 <property name="text">
179 <string>&nbsp;&nbsp;&nbsp;&nbsp;</string>
186 <widget class="QCheckBox" name="httpOnlyCheckBox">
187 <property name="toolTip">
188 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
191 <property name="checked">
198 <widget class="QLabel">
199 <property name="toolTip">
200 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
203 <property name="textFormat">
204 <enum>Qt::RichText</enum>
207 <property name="text">
208 <string>HTTP only&nbsp;&nbsp;&nbsp;&nbsp;</string>
215 <widget class="QCheckBox" name="secureCheckBox">
216 <property name="toolTip">
217 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
220 <property name="checked">
227 <widget class="QLabel">
228 <property name="toolTip">
229 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
232 <property name="text">
233 <string>Secure</string>
241 <layout class="QHBoxLayout">
242 <property name="alignment">
243 <enum>Qt::AlignLeft</enum>
248 <widget class="QLabel">
249 <property name="toolTip">
250 <string>The value contains the cookie data.</string>
253 <property name="textFormat">
254 <enum>Qt::RichText</enum>
257 <property name="text">
258 <string>Value&nbsp;</string>
264 <widget class="QLineEdit" name="valueLineEdit">
265 <property name="toolTip">
266 <string>The value contains the cookie data.</string>
276 <property name="orientation">
277 <enum>Qt::Vertical</enum>
282 <!-- Dialog buttons. -->
284 <widget class="QDialogButtonBox" name="dialogButtonBox">
285 <property name="standardButtons">
286 <set>QDialogButtonBox::Save | QDialogButtonBox::Cancel</set>