anastasis-gtk

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

anastasis_gtk_challenge_template.ui (7241B)


      1 <?xml version='1.0' encoding='UTF-8'?>
      2 <!-- Created with Cambalache 0.94.1 -->
      3 <interface>
      4   <!-- interface-name anastasis_gtk_challenge_template.ui -->
      5   <requires lib="gtk" version="4.0"/>
      6   <object class="GtkWindow" id="challenge_template_window">
      7     <property name="child">
      8       <object class="GtkBox" id="challenge_hbox">
      9         <property name="hexpand">0</property>
     10         <property name="margin-bottom">5</property>
     11         <property name="margin-top">5</property>
     12         <property name="spacing">15</property>
     13         <child>
     14           <object class="GtkPicture" id="challenge_category_totp_image">
     15             <property name="can-shrink">0</property>
     16             <property name="content-fit">scale-down</property>
     17             <property name="file">outline_totp_24dp.png</property>
     18             <property name="halign">center</property>
     19             <property name="margin-end">15</property>
     20             <property name="margin-start">15</property>
     21             <property name="visible">0</property>
     22           </object>
     23         </child>
     24         <child>
     25           <object class="GtkPicture" id="challenge_category_email_image">
     26             <property name="can-shrink">0</property>
     27             <property name="content-fit">scale-down</property>
     28             <property name="file">outline_email_black_24dp.png</property>
     29             <property name="halign">center</property>
     30             <property name="margin-end">15</property>
     31             <property name="margin-start">15</property>
     32             <property name="visible">0</property>
     33           </object>
     34         </child>
     35         <child>
     36           <object class="GtkPicture" id="challenge_category_post_image">
     37             <property name="can-shrink">0</property>
     38             <property name="content-fit">scale-down</property>
     39             <property name="file">home_work_black_24dp.svg</property>
     40             <property name="halign">center</property>
     41             <property name="margin-end">15</property>
     42             <property name="margin-start">15</property>
     43             <property name="visible">0</property>
     44           </object>
     45         </child>
     46         <child>
     47           <object class="GtkPicture" id="challenge_category_sms_image">
     48             <property name="can-shrink">0</property>
     49             <property name="content-fit">scale-down</property>
     50             <property name="file">outline_stay_current_portrait_black_24dp.png</property>
     51             <property name="halign">center</property>
     52             <property name="margin-end">15</property>
     53             <property name="margin-start">15</property>
     54             <property name="visible">0</property>
     55           </object>
     56         </child>
     57         <child>
     58           <object class="GtkPicture" id="challenge_category_iban_image">
     59             <property name="can-shrink">0</property>
     60             <property name="content-fit">scale-down</property>
     61             <property name="file">outline_iban_24dp.png</property>
     62             <property name="halign">center</property>
     63             <property name="margin-end">15</property>
     64             <property name="margin-start">15</property>
     65             <property name="visible">0</property>
     66           </object>
     67         </child>
     68         <child>
     69           <object class="GtkPicture" id="challenge_category_question_image">
     70             <property name="can-shrink">0</property>
     71             <property name="content-fit">scale-down</property>
     72             <property name="file">outline_contact_support_black_24dp.png</property>
     73             <property name="halign">center</property>
     74             <property name="margin-end">15</property>
     75             <property name="margin-start">15</property>
     76             <property name="visible">0</property>
     77           </object>
     78         </child>
     79         <child>
     80           <object class="GtkButton" id="solve_challenge_button">
     81             <property name="child">
     82               <object class="GtkBox">
     83                 <property name="halign">center</property>
     84                 <property name="spacing">2</property>
     85                 <child>
     86                   <object class="GtkImage" id="run_image">
     87                     <property name="icon-name">system-run</property>
     88                   </object>
     89                 </child>
     90                 <child>
     91                   <object class="GtkLabel">
     92                     <property name="label">Solve</property>
     93                   </object>
     94                 </child>
     95               </object>
     96             </property>
     97             <property name="focusable">1</property>
     98             <property name="halign">center</property>
     99             <property name="margin-end">15</property>
    100             <property name="margin-start">15</property>
    101             <property name="receives-default">1</property>
    102             <property name="tooltip-text" translatable="yes">Try to solve this challenge.</property>
    103           </object>
    104         </child>
    105         <child>
    106           <object class="GtkPicture" id="challenge_solved_image">
    107             <property name="can-shrink">0</property>
    108             <property name="content-fit">scale-down</property>
    109             <property name="file">checkmark.svgz</property>
    110             <property name="halign">center</property>
    111             <property name="margin-end">15</property>
    112             <property name="margin-start">15</property>
    113             <property name="name">challenge_solved_image</property>
    114             <property name="tooltip-text" translatable="yes">This challenge was solved.</property>
    115             <property name="visible">0</property>
    116           </object>
    117         </child>
    118         <child>
    119           <object class="GtkBox" id="challenge_info_box">
    120             <property name="hexpand">1</property>
    121             <property name="margin-end">15</property>
    122             <property name="margin-start">15</property>
    123             <property name="orientation">vertical</property>
    124             <property name="vexpand">0</property>
    125             <child>
    126               <object class="GtkLabel" id="challenge_label">
    127                 <property name="halign">start</property>
    128                 <property name="label">DYNAMICALLY GENERATED</property>
    129                 <property name="valign">center</property>
    130                 <property name="vexpand">1</property>
    131               </object>
    132             </child>
    133             <child>
    134               <object class="GtkLabel" id="hint_label">
    135                 <property name="halign">start</property>
    136                 <property name="label">DYNAMICALLY GENERATED</property>
    137                 <property name="margin-start">10</property>
    138                 <property name="visible">0</property>
    139                 <attributes>
    140                   <attribute name="scale" value="0.80000000000000004"/>
    141                 </attributes>
    142               </object>
    143             </child>
    144             <child>
    145               <object class="GtkLabel" id="error_label">
    146                 <property name="halign">start</property>
    147                 <property name="label">DYNAMICALLY GENERATED</property>
    148                 <property name="visible">0</property>
    149                 <attributes>
    150                   <attribute name="foreground" value="#eded33333b3b"/>
    151                 </attributes>
    152               </object>
    153             </child>
    154           </object>
    155         </child>
    156       </object>
    157     </property>
    158   </object>
    159 </interface>