]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/uis/AddOrEditCookieDialog.ui
Enable downloading of files that require login cookies. https://redmine.stoutner...
[PrivacyBrowserPC.git] / src / uis / AddOrEditCookieDialog.ui
index adeaa4ee8887cbd9cbc7b5d6135984be74c79928..658cb8d596715be8ea7ab1f1fb81c26a9fcbe408 100644 (file)
@@ -3,7 +3,7 @@
 <!--
   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
+  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
 
   Privacy Browser PC is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
                         <enum>Qt::AlignLeft</enum>
                     </property>
 
+                    <!-- Durable. -->
+                    <item>
+                        <widget class="QCheckBox" name="durableCheckBox">
+                            <property name="toolTip">
+                                <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>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <item>
+                        <widget class="QLabel">
+                            <property name="text">
+                                <string>Durable</string>
+                            </property>
+
+                            <property name="toolTip">
+                                <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>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <item>
+                        <widget class="QLabel">
+                            <property name="textFormat">
+                                <enum>Qt::RichText</enum>
+                            </property>
+
+                            <!-- Spacer label. -->
+                            <property name="text">
+                                <string>&amp;nbsp;&amp;nbsp;&amp;nbsp;</string>
+                            </property>
+                        </widget>
+                    </item>
+
                     <!-- Path. -->
                     <item>
                         <widget class="QLabel">
 
                     <item>
                         <widget class="QLabel">
-                            <property name="toolTip">
-                                <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
-                            </property>
-
                             <property name="text">
                                 <string>Expiration date</string>
                             </property>
+
+                            <property name="toolTip">
+                                <string>Cookies without an expiration date are known as session cookies and are expected to be deleted every time the browser closes.</string>
+                            </property>
                         </widget>
                     </item>
 
 
                     <item>
                         <widget class="QLabel">
-                            <property name="toolTip">
-                                <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
-                            </property>
-
                             <property name="text">
                                 <string>HTTP only</string>
                             </property>
+
+                            <property name="toolTip">
+                                <string>Restrict cookie access to HTTP (and HTTPS). This prevents JavaScript from accessing the cookie, which hardens it against cross-site scripting attacks.</string>
+                            </property>
                         </widget>
                     </item>
 
 
                     <item>
                         <widget class="QLabel">
-                            <property name="toolTip">
-                                <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
-                            </property>
-
                             <property name="text">
                                 <string>Secure</string>
                             </property>
+
+                            <property name="toolTip">
+                                <string>Only allow the cookie to be transferred across HTTPS (as opposed to HTTP).</string>
+                            </property>
                         </widget>
                     </item>
                 </layout>