anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

anastasis_gtk_user_sure.glade (11260B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!-- Generated with glade 3.38.2 
      3 
      4 Copyright (C) 2019-2021 Anastasis SARL
      5 
      6 This file is part of anastasis-gtk.
      7 
      8 anastasis-gtk 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.
     12 
     13 anastasis-gtk 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.
     17 
     18 You should have received a copy of the GNU General Public License
     19 along with anastasis-gtk.  If not, see <http://www.gnu.org/licenses/>.
     20 
     21 Author: Christian Grothoff
     22 
     23 -->
     24 <interface>
     25   <requires lib="gtk+" version="3.8"/>
     26   <!-- interface-license-type gplv3 -->
     27   <!-- interface-name anastasis-gtk -->
     28   <!-- interface-description key backup and recovery -->
     29   <!-- interface-copyright 2019-2021 Anastasis SARL -->
     30   <!-- interface-authors Christian Grothoff -->
     31   <object class="GtkImage" id="image1">
     32     <property name="visible">True</property>
     33     <property name="can-focus">False</property>
     34     <property name="stock">gtk-go-back</property>
     35   </object>
     36   <object class="GtkImage" id="image2">
     37     <property name="visible">True</property>
     38     <property name="can-focus">False</property>
     39     <property name="stock">gtk-ok</property>
     40   </object>
     41   <object class="GtkImage" id="image3">
     42     <property name="visible">True</property>
     43     <property name="can-focus">False</property>
     44     <property name="stock">gtk-save-as</property>
     45   </object>
     46   <object class="GtkDialog" id="anastasis_gtk_user_sure_dialog">
     47     <property name="can-focus">False</property>
     48     <property name="type-hint">dialog</property>
     49     <signal name="response" handler="anastasis_gtk_user_sure_dialog_response_cb" swapped="no"/>
     50     <child internal-child="vbox">
     51       <object class="GtkBox">
     52         <property name="can-focus">False</property>
     53         <property name="orientation">vertical</property>
     54         <property name="spacing">2</property>
     55         <child internal-child="action_area">
     56           <object class="GtkButtonBox">
     57             <property name="can-focus">False</property>
     58             <property name="hexpand">True</property>
     59             <property name="layout-style">expand</property>
     60             <child>
     61               <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_cancel">
     62                 <property name="label">Go back, I want to check something</property>
     63                 <property name="visible">True</property>
     64                 <property name="can-focus">True</property>
     65                 <property name="receives-default">True</property>
     66                 <property name="image">image1</property>
     67                 <property name="always-show-image">True</property>
     68               </object>
     69               <packing>
     70                 <property name="expand">False</property>
     71                 <property name="fill">False</property>
     72                 <property name="position">0</property>
     73               </packing>
     74             </child>
     75             <child>
     76               <object class="GtkSeparator">
     77                 <property name="visible">True</property>
     78                 <property name="can-focus">False</property>
     79                 <property name="opacity">0</property>
     80               </object>
     81               <packing>
     82                 <property name="expand">True</property>
     83                 <property name="fill">True</property>
     84                 <property name="position">1</property>
     85               </packing>
     86             </child>
     87             <child>
     88               <object class="GtkButton" id="anastasis_gtk_print_details_button">
     89                 <property name="label">Save as PDF</property>
     90                 <property name="visible">True</property>
     91                 <property name="can-focus">True</property>
     92                 <property name="receives-default">True</property>
     93                 <property name="tooltip-text" translatable="yes">Save entered personal details to a PDF file</property>
     94                 <property name="image">image3</property>
     95                 <signal name="clicked" handler="anastasis_gtk_print_details_button_clicked_cb" swapped="no"/>
     96               </object>
     97               <packing>
     98                 <property name="expand">False</property>
     99                 <property name="fill">False</property>
    100                 <property name="position">2</property>
    101               </packing>
    102             </child>
    103             <child>
    104               <object class="GtkSeparator">
    105                 <property name="visible">True</property>
    106                 <property name="can-focus">False</property>
    107                 <property name="opacity">0</property>
    108               </object>
    109               <packing>
    110                 <property name="expand">True</property>
    111                 <property name="fill">True</property>
    112                 <property name="position">3</property>
    113               </packing>
    114             </child>
    115             <child>
    116               <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_ok">
    117                 <property name="label">I am sure!</property>
    118                 <property name="visible">True</property>
    119                 <property name="can-focus">False</property>
    120                 <property name="has-focus">True</property>
    121                 <property name="has-default">True</property>
    122                 <property name="receives-default">True</property>
    123                 <property name="image">image2</property>
    124                 <property name="always-show-image">True</property>
    125                 <accelerator key="Return" signal="clicked"/>
    126               </object>
    127               <packing>
    128                 <property name="expand">False</property>
    129                 <property name="fill">False</property>
    130                 <property name="padding">10</property>
    131                 <property name="position">4</property>
    132               </packing>
    133             </child>
    134           </object>
    135           <packing>
    136             <property name="expand">False</property>
    137             <property name="fill">False</property>
    138             <property name="padding">20</property>
    139             <property name="position">0</property>
    140           </packing>
    141         </child>
    142         <child>
    143           <object class="GtkBox" id="anastasis_gtk_c_challenge_box">
    144             <property name="visible">True</property>
    145             <property name="can-focus">False</property>
    146             <child>
    147               <object class="GtkLabel" id="anastasis_gtk_sure_title_label">
    148                 <property name="visible">True</property>
    149                 <property name="can-focus">False</property>
    150                 <property name="label" translatable="yes">You must not forget the exact information you have entered!</property>
    151                 <attributes>
    152                   <attribute name="weight" value="bold"/>
    153                   <attribute name="scale" value="1.2"/>
    154                 </attributes>
    155               </object>
    156               <packing>
    157                 <property name="expand">False</property>
    158                 <property name="fill">False</property>
    159                 <property name="padding">20</property>
    160                 <property name="position">0</property>
    161               </packing>
    162             </child>
    163           </object>
    164           <packing>
    165             <property name="expand">False</property>
    166             <property name="fill">True</property>
    167             <property name="padding">20</property>
    168             <property name="position">1</property>
    169           </packing>
    170         </child>
    171         <child>
    172           <object class="GtkBox">
    173             <property name="visible">True</property>
    174             <property name="can-focus">False</property>
    175             <property name="orientation">vertical</property>
    176             <child>
    177               <object class="GtkSeparator">
    178                 <property name="visible">True</property>
    179                 <property name="can-focus">False</property>
    180               </object>
    181               <packing>
    182                 <property name="expand">False</property>
    183                 <property name="fill">True</property>
    184                 <property name="position">0</property>
    185               </packing>
    186             </child>
    187             <child>
    188               <object class="GtkBox">
    189                 <property name="visible">True</property>
    190                 <property name="can-focus">False</property>
    191                 <child>
    192                   <object class="GtkLabel" id="anastasis_gtk_sure_instructions_label">
    193                     <property name="visible">True</property>
    194                     <property name="can-focus">False</property>
    195                     <property name="label" translatable="yes">Your personal information is used to define the location where
    196 recovery information about your secret will be safely stored. 
    197 
    198 If you forget what you have entered or if there is any spelling 
    199 mistake, you will be unable to recover your secret.</property>
    200                     <attributes>
    201                       <attribute name="scale" value="1.1000000000000001"/>
    202                     </attributes>
    203                   </object>
    204                   <packing>
    205                     <property name="expand">False</property>
    206                     <property name="fill">True</property>
    207                     <property name="padding">20</property>
    208                     <property name="position">0</property>
    209                   </packing>
    210                 </child>
    211               </object>
    212               <packing>
    213                 <property name="expand">False</property>
    214                 <property name="fill">True</property>
    215                 <property name="padding">20</property>
    216                 <property name="position">1</property>
    217               </packing>
    218             </child>
    219             <child>
    220               <object class="GtkSeparator">
    221                 <property name="visible">True</property>
    222                 <property name="can-focus">False</property>
    223               </object>
    224               <packing>
    225                 <property name="expand">False</property>
    226                 <property name="fill">True</property>
    227                 <property name="position">2</property>
    228               </packing>
    229             </child>
    230           </object>
    231           <packing>
    232             <property name="expand">False</property>
    233             <property name="fill">True</property>
    234             <property name="position">2</property>
    235           </packing>
    236         </child>
    237       </object>
    238     </child>
    239     <action-widgets>
    240       <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget>
    241       <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget>
    242     </action-widgets>
    243     <child type="titlebar">
    244       <object class="GtkLabel" id="anastasis_gtk_c_code_dialog_label">
    245         <property name="visible">True</property>
    246         <property name="can-focus">False</property>
    247         <property name="label" translatable="yes">Are you sure?</property>
    248       </object>
    249     </child>
    250     <action-widgets>
    251       <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget>
    252       <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget>
    253     </action-widgets>
    254   </object>
    255 </interface>