anastasis_gtk_user_sure.ui (7188B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (C) 2019-2021 Anastasis SARL 4 5 This file is part of anastasis-gtk. 6 7 anastasis-gtk is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 12 anastasis-gtk is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>. 19 20 Author: Christian Grothoff--> 21 <interface> 22 <requires lib="gtk" version="4.0"/> 23 <object class="GtkDialog" id="anastasis_gtk_user_sure_dialog"> 24 <property name="default-widget">anastasis_gtk_c_code_dialog_btn_ok</property> 25 <property name="focus-widget">anastasis_gtk_c_code_dialog_btn_ok</property> 26 <signal name="response" handler="anastasis_gtk_user_sure_dialog_response_cb" swapped="no"/> 27 <child internal-child="content_area"> 28 <object class="GtkBox"> 29 <property name="orientation">vertical</property> 30 <property name="spacing">2</property> 31 <child> 32 <object class="GtkBox" id="anastasis_gtk_c_challenge_box"> 33 <property name="margin-top">20</property> 34 <property name="margin-bottom">20</property> 35 <child> 36 <object class="GtkLabel" id="anastasis_gtk_sure_title_label"> 37 <property name="halign">center</property> 38 <property name="label" translatable="1">You must not forget the exact information you have entered!</property> 39 <attributes> 40 <attribute name="weight" value="bold"></attribute> 41 <attribute name="scale" value="1.2"></attribute> 42 </attributes> 43 <property name="margin-start">20</property> 44 <property name="margin-end">20</property> 45 </object> 46 </child> 47 </object> 48 </child> 49 <child> 50 <object class="GtkBox"> 51 <property name="orientation">vertical</property> 52 <child> 53 <object class="GtkSeparator"/> 54 </child> 55 <child> 56 <object class="GtkBox"> 57 <property name="margin-top">20</property> 58 <property name="margin-bottom">20</property> 59 <child> 60 <object class="GtkLabel" id="anastasis_gtk_sure_instructions_label"> 61 <property name="label" translatable="1">Your personal information is used to define the location where 62 recovery information about your secret will be safely stored. 63 64 If you forget what you have entered or if there is any spelling 65 mistake, you will be unable to recover your secret.</property> 66 <attributes> 67 <attribute name="scale" value="1.1000000000000001"></attribute> 68 </attributes> 69 <property name="margin-start">20</property> 70 <property name="margin-end">20</property> 71 </object> 72 </child> 73 </object> 74 </child> 75 <child> 76 <object class="GtkSeparator"/> 77 </child> 78 </object> 79 </child> 80 </object> 81 </child> 82 <action-widgets> 83 <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget> 84 <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget> 85 </action-widgets> 86 <child type="titlebar"> 87 <object class="GtkLabel" id="anastasis_gtk_c_code_dialog_label"> 88 <property name="label" translatable="1">Are you sure?</property> 89 </object> 90 </child> 91 <action-widgets> 92 <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget> 93 <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget> 94 </action-widgets> 95 <child internal-child="action_area"> 96 <object class="GtkBox"> 97 <property name="can-focus">0</property> 98 <property name="hexpand">1</property> 99 <child> 100 <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_cancel"> 101 <property name="focusable">1</property> 102 <property name="receives-default">1</property> 103 <property name="child"> 104 <object class="GtkBox"> 105 <property name="spacing">2</property> 106 <property name="halign">center</property> 107 <child> 108 <object class="GtkImage" id="image1"> 109 <property name="icon-name">go-previous</property> 110 </object> 111 </child> 112 <child> 113 <object class="GtkLabel"> 114 <property name="label">Go back, I want to check something</property> 115 </object> 116 </child> 117 </object> 118 </property> 119 </object> 120 </child> 121 <child> 122 <object class="GtkSeparator"> 123 <property name="opacity">0</property> 124 </object> 125 </child> 126 <child> 127 <object class="GtkButton" id="anastasis_gtk_print_details_button"> 128 <property name="label">Save as PDF</property> 129 <property name="focusable">1</property> 130 <property name="receives-default">1</property> 131 <property name="tooltip-text" translatable="1">Save entered personal details to a PDF file</property> 132 <signal name="clicked" handler="anastasis_gtk_print_details_button_clicked_cb" swapped="no"/> 133 </object> 134 </child> 135 <child> 136 <object class="GtkSeparator"> 137 <property name="opacity">0</property> 138 </object> 139 </child> 140 <child> 141 <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_ok"> 142 <property name="receives-default">1</property> 143 <property name="margin-start">10</property> 144 <property name="margin-end">10</property> 145 <property name="child"> 146 <object class="GtkBox"> 147 <property name="spacing">2</property> 148 <property name="halign">center</property> 149 <child> 150 <object class="GtkImage" id="image2"> 151 <property name="icon-name">gtk-ok</property> 152 </object> 153 </child> 154 <child> 155 <object class="GtkLabel"> 156 <property name="label">I am sure!</property> 157 </object> 158 </child> 159 </object> 160 </property> 161 </object> 162 </child> 163 <property name="margin-top">20</property> 164 <property name="margin-bottom">20</property> 165 <property name="homogeneous">1</property> 166 <property name="spacing">6</property> 167 </object> 168 </child> 169 </object> 170 </interface> 171