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>CookieDisplayWidget</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><font size="+1">Domain:&nbsp;</font></string>
50 <widget class="QLabel" name="domainLabel">
51 <property name="toolTip">
52 <string>Cookies prepended by a period are accessible to all subdomains.</string>
55 <property name="textFormat">
56 <enum>Qt::RichText</enum>
59 <property name="textInteractionFlags">
60 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
67 <widget class="QLabel">
68 <property name="toolTip">
69 <string>The identifier of the cookie, which is unique when combined with the domain and the path.</string>
72 <property name="textFormat">
73 <enum>Qt::RichText</enum>
76 <property name="text">
77 <string><font size="+1">&nbsp;&nbsp;&nbsp;&nbsp;Name:&nbsp;</font></string>
83 <widget class="QLabel" name="nameLabel">
84 <property name="toolTip">
85 <string>The identifier of the cookie, which is unique when combined with the domain and the path.</string>
88 <property name="textFormat">
89 <enum>Qt::RichText</enum>
92 <property name="textInteractionFlags">
93 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
101 <layout class="QHBoxLayout">
102 <property name="alignment">
103 <enum>Qt::AlignLeft</enum>
106 <!-- Expiration date. -->
108 <widget class="QLabel">
109 <property name="toolTip">
110 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
113 <property name="textFormat">
114 <enum>Qt::RichText</enum>
117 <property name="text">
118 <string>Expiration date:&nbsp;</string>
124 <widget class="QLabel" name="expirationDateLabel">
125 <property name="toolTip">
126 <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
129 <property name="textFormat">
130 <enum>Qt::RichText</enum>
133 <property name="textInteractionFlags">
134 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
141 <widget class="QLabel">
142 <property name="toolTip">
143 <string>Websites can restrict cookie access to a subpath of their URL.</string>
146 <property name="textFormat">
147 <enum>Qt::RichText</enum>
150 <property name="text">
151 <string>&nbsp;&nbsp;&nbsp;&nbsp;Path:&nbsp;</string>
157 <widget class="QLabel" name="pathLabel">
158 <property name="toolTip">
159 <string>Websites can restrict cookie access to a subpath of their URL.</string>
162 <property name="textFormat">
163 <enum>Qt::RichText</enum>
166 <property name="textInteractionFlags">
167 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
172 <!-- A spacer label. Necessary to add space before the check box. -->
174 <widget class="QLabel">
175 <property name="textFormat">
176 <enum>Qt::RichText</enum>
179 <property name="text">
180 <string>&nbsp;&nbsp;&nbsp;&nbsp;</string>
187 <widget class="QCheckBox" name="httpOnlyCheckBox">
188 <property name="toolTip">
189 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
192 <property name="enabled">
199 <widget class="QLabel">
200 <property name="toolTip">
201 <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
204 <property name="textFormat">
205 <enum>Qt::RichText</enum>
208 <property name="text">
209 <string>HTTP only&nbsp;&nbsp;&nbsp;&nbsp;</string>
216 <widget class="QCheckBox" name="secureCheckBox">
217 <property name="toolTip">
218 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
221 <property name="enabled">
228 <widget class="QLabel">
229 <property name="toolTip">
230 <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
233 <property name="text">
234 <string>Secure</string>
242 <layout class="QHBoxLayout">
243 <property name="alignment">
244 <enum>Qt::AlignLeft</enum>
249 <widget class="QLabel">
250 <property name="toolTip">
251 <string>The value contains the cookie data.</string>
254 <property name="textFormat">
255 <enum>Qt::RichText</enum>
258 <property name="text">
259 <string>Value:&nbsp;</string>
265 <widget class="QLabel" name="valueLabel">
266 <property name="toolTip">
267 <string>The value contains the cookie data.</string>
270 <property name="wordWrap">
274 <property name="textFormat">
275 <enum>Qt::RichText</enum>
278 <property name="textInteractionFlags">
279 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>