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