1<?xml version="1.0" encoding="UTF-8"?> 2<!-- Generated with glade 3.20.0 --> 3<interface> 4 <requires lib="gtk+" version="3.20"/> 5 <template class="CcBoltDeviceDialog" parent="GtkDialog"> 6 <property name="can_focus">False</property> 7 <property name="type_hint">dialog</property> 8 <property name="use_header_bar">1</property> 9 <property name="resizable">False</property> 10 <property name="modal">True</property> 11 12 <child internal-child="headerbar"> 13 <object class="GtkHeaderBar" id="header_bar"> 14 <property name="visible">True</property> 15 <property name="can_focus">False</property> 16 <property name="show_close_button">True</property> 17 <property name="title">Device Identifier</property> 18 <property name="subtitle"></property> 19 <property name="has-subtitle">False</property> 20 </object> 21 </child> 22 23 <child internal-child="vbox"> 24 <object class="GtkBox"> 25 <property name="visible">True</property> 26 <property name="can_focus">False</property> 27 <property name="orientation">vertical</property> 28 <property name="margin-bottom">24</property> 29 <property name="border-width">0</property> 30 <child> 31 <object class="GtkOverlay"> 32 <property name="visible">True</property> 33 <property name="can_focus">False</property> 34 <child type="overlay"> 35 <object class="GtkRevealer" id="notify_revealer"> 36 <property name="visible">True</property> 37 <property name="can_focus">False</property> 38 <property name="halign">center</property> 39 <property name="valign">start</property> 40 <property name="transition_type">slide-down</property> 41 <child> 42 <object class="GtkFrame"> 43 <property name="visible">True</property> 44 <property name="can_focus">False</property> 45 <child> 46 <object class="GtkBox"> 47 <property name="visible">True</property> 48 <property name="can_focus">False</property> 49 <property name="spacing">12</property> 50 <child> 51 <object class="GtkLabel" id="notify_label"> 52 <property name="visible">True</property> 53 <property name="can_focus">False</property> 54 <property name="use_markup">True</property> 55 <property name="wrap">True</property> 56 </object> 57 </child> 58 <child> 59 <object class="GtkButton"> 60 <property name="visible">True</property> 61 <property name="can_focus">True</property> 62 <property name="relief">none</property> 63 <signal name="clicked" 64 handler="on_notify_button_clicked_cb" 65 object="CcBoltDeviceDialog" 66 swapped="no" /> 67 <child> 68 <object class="GtkImage"> 69 <property name="visible">True</property> 70 <property name="can_focus">False</property> 71 <property name="icon-name">window-close-symbolic</property> 72 </object> 73 </child> 74 </object> 75 </child> 76 </object> 77 </child> 78 <style> 79 <class name="app-notification" /> 80 </style> 81 </object> 82 </child> 83 </object> 84 </child> 85 <child> 86 <object class="GtkBox"> 87 <property name="visible">True</property> 88 <property name="can_focus">False</property> 89 <property name="expand">True</property> 90 <property name="orientation">vertical</property> 91 92 <child> 93 <object class="GtkGrid"> 94 <property name="visible">True</property> 95 <property name="can_focus">False</property> 96 <property name="margin-left">72</property> 97 <property name="margin-right">72</property> 98 <property name="margin-top">24</property> 99 <property name="margin-bottom">0</property> 100 <property name="row_spacing">12</property> 101 <property name="column_spacing">24</property> 102 <child> 103 <object class="GtkLabel" id="name_title_label"> 104 <property name="visible">True</property> 105 <property name="can_focus">False</property> 106 <property name="halign">end</property> 107 <property name="hexpand">False</property> 108 <property name="vexpand">False</property> 109 <property name="label" translatable="yes">Name:</property> 110 <property name="justify">right</property> 111 <property name="xalign">1</property> 112 <property name="mnemonic_widget">name_label</property> 113 </object> 114 <packing> 115 <property name="left_attach">0</property> 116 <property name="top_attach">0</property> 117 </packing> 118 </child> 119 <child> 120 <object class="GtkLabel" id="name_label"> 121 <property name="visible">True</property> 122 <property name="can_focus">False</property> 123 <property name="hexpand">True</property> 124 <property name="label">Device identifier</property> 125 <property name="use_markup">True</property> 126 <property name="ellipsize">end</property> 127 <property name="xalign">0</property> 128 </object> 129 <packing> 130 <property name="left_attach">1</property> 131 <property name="top_attach">0</property> 132 </packing> 133 </child> 134 <child> 135 <object class="GtkLabel" id="status_title_label"> 136 <property name="visible">True</property> 137 <property name="can_focus">False</property> 138 <property name="halign">end</property> 139 <property name="hexpand">False</property> 140 <property name="vexpand">False</property> 141 <property name="label" translatable="yes">Status:</property> 142 <property name="justify">right</property> 143 <property name="xalign">1</property> 144 <property name="mnemonic_widget">status_label</property> 145 </object> 146 <packing> 147 <property name="left_attach">0</property> 148 <property name="top_attach">1</property> 149 </packing> 150 </child> 151 <child> 152 <object class="GtkLabel" id="status_label"> 153 <property name="visible">True</property> 154 <property name="can_focus">False</property> 155 <property name="valign">center</property> 156 <property name="hexpand">True</property> 157 <property name="label">Status</property> 158 <property name="ellipsize">end</property> 159 <property name="xalign">0</property> 160 </object> 161 <packing> 162 <property name="left_attach">1</property> 163 <property name="top_attach">1</property> 164 </packing> 165 </child> 166 167 <child> 168 <object class="GtkLabel" id="uuid_title_label"> 169 <property name="visible">True</property> 170 <property name="can_focus">False</property> 171 <property name="halign">end</property> 172 <property name="hexpand">False</property> 173 <property name="vexpand">False</property> 174 <property name="label" translatable="yes">UUID:</property> 175 <property name="justify">right</property> 176 <property name="xalign">1</property> 177 <property name="mnemonic_widget">uuid_label</property> 178 </object> 179 <packing> 180 <property name="left_attach">0</property> 181 <property name="top_attach">2</property> 182 </packing> 183 </child> 184 <child> 185 <object class="GtkLabel" id="uuid_label"> 186 <property name="visible">True</property> 187 <property name="can_focus">False</property> 188 <property name="valign">center</property> 189 <property name="hexpand">True</property> 190 <property name="label">Status</property> 191 <property name="ellipsize">end</property> 192 <property name="xalign">0</property> 193 </object> 194 <packing> 195 <property name="left_attach">1</property> 196 <property name="top_attach">2</property> 197 </packing> 198 </child> 199 200 <child> 201 <object class="GtkLabel" id="time_title"> 202 <property name="visible">True</property> 203 <property name="can_focus">False</property> 204 <property name="halign">end</property> 205 <property name="hexpand">False</property> 206 <property name="vexpand">False</property> 207 <property name="label">Timestamp:</property> 208 <property name="justify">right</property> 209 <property name="xalign">1</property> 210 <property name="mnemonic_widget">time_label</property> 211 </object> 212 <packing> 213 <property name="left_attach">0</property> 214 <property name="top_attach">3</property> 215 </packing> 216 </child> 217 <child> 218 <object class="GtkLabel" id="time_label"> 219 <property name="visible">True</property> 220 <property name="can_focus">False</property> 221 <property name="valign">center</property> 222 <property name="hexpand">True</property> 223 <property name="label">Status</property> 224 <property name="ellipsize">end</property> 225 <property name="xalign">0</property> 226 </object> 227 <packing> 228 <property name="left_attach">1</property> 229 <property name="top_attach">3</property> 230 </packing> 231 </child> 232 233 </object> 234 <packing> 235 <property name="expand">True</property> 236 <property name="fill">True</property> 237 <property name="padding">1</property> 238 <property name="position">1</property> 239 </packing> 240 <object class="GtkSizeGroup" id="device_titles_sizegroup"> 241 <widgets> 242 <widget name="name_title_label"/> 243 <widget name="status_title_label"/> 244 <widget name="uuid_title_label"/> 245 <widget name="time_title"/> 246 </widgets> 247 </object> 248 <object class="GtkSizeGroup" id="device_labels_sizegroup"> 249 <widgets> 250 <widget name="name_label"/> 251 <widget name="status_label"/> 252 <widget name="uuid_label"/> 253 <widget name="time_label"/> 254 </widgets> 255 </object> 256 </child> 257 <!-- end of grid --> 258 <child> 259 <object class="GtkExpander" id="parents_expander"> 260 <property name="visible">False</property> 261 <property name="halign">fill</property> 262 <property name="margin-left">72</property> 263 <property name="margin-right">72</property> 264 <property name="margin-top">12</property> 265 <property name="margin-bottom">0</property> 266 <property name="spacing">12</property> 267 <child type="label"> 268 <object class="GtkLabel" id="parents_label"> 269 <property name="visible">True</property> 270 <property name="can_focus">False</property> 271 <property name="halign">end</property> 272 <property name="hexpand">False</property> 273 <property name="vexpand">False</property> 274 <property name="label">Depends on other devices:</property> 275 <property name="justify">center</property> 276 <property name="xalign">1</property> 277 </object> 278 </child> 279 <child> 280 <object class="GtkFrame"> 281 <property name="margin-top">12</property> 282 <property name="visible">True</property> 283 <property name="valign">start</property> 284 <property name="vexpand">False</property> 285 <style> 286 <class name="view" /> 287 </style> 288 <child> 289 <object class="GtkListBox" id="parents_devices"> 290 <property name="valign">start</property> 291 <property name="vexpand">False</property> 292 <property name="visible">True</property> 293 <property name="selection-mode">none</property> 294 <property name="can_focus">True</property> 295 </object> 296 </child> 297 </object> 298 </child> 299 </object> 300 </child> 301 <!-- end of --> 302 <child> 303 <object class="GtkBox" id="button_box"> 304 <property name="visible">True</property> 305 <property name="can_focus">False</property> 306 <property name="orientation">horizontal</property> 307 <property name="spacing">12</property> 308 <property name="margin-left">72</property> 309 <property name="margin-right">72</property> 310 <property name="margin-top">36</property> 311 <property name="margin-bottom">0</property> 312 <property name="halign">fill</property> 313 <child> 314 <object class="GtkSpinner" id="spinner"> 315 <property name="visible">True</property> 316 <property name="halign">center</property> 317 <property name="valign">center</property> 318 <property name="active">False</property> 319 </object> 320 </child> 321 322 <child> 323 <object class="GtkButton" id="connect_button"> 324 <property name="label" translatable="yes">Authorize and Connect</property> 325 <property name="visible">True</property> 326 <property name="can_focus">True</property> 327 <property name="receives_default">True</property> 328 <property name="halign">fill</property> 329 330 <signal name="clicked" 331 handler="on_connect_button_clicked_cb" 332 object="CcBoltDeviceDialog" 333 swapped="yes" /> 334 <style> 335 <class name="suggested-action"/> 336 </style> 337 </object> 338 <packing> 339 <property name="expand">True</property> 340 <property name="fill">True</property> 341 </packing> 342 </child> 343 344 <child> 345 <object class="GtkButton" id="forget_button"> 346 <property name="label" translatable="yes">Forget Device</property> 347 <property name="visible">True</property> 348 <property name="can_focus">True</property> 349 <property name="receives_default">False</property> 350 <property name="halign">fill</property> 351 <signal name="clicked" 352 handler="on_forget_button_clicked_cb" 353 object="CcBoltDeviceDialog" 354 swapped="yes" /> 355 <style> 356 <class name="destructive-action"/> 357 </style> 358 </object> 359 <packing> 360 <property name="expand">True</property> 361 <property name="fill">True</property> 362 </packing> 363 </child> 364 <child> 365 <object class="GtkBox" id="spinner_box"> 366 <property name="visible">True</property> 367 <property name="can_focus">False</property> 368 </object> 369 </child> 370 </object> 371 372 <packing> 373 <property name="expand">True</property> 374 <property name="fill">True</property> 375 <property name="position">2</property> 376 </packing> 377 378 <object class="GtkSizeGroup" id="actions_sizegroup"> 379 <widgets> 380 <widget name="forget_button"/> 381 <widget name="connect_button"/> 382 </widgets> 383 </object> 384 385 <object class="GtkSizeGroup" id="spinner_sizegroup"> 386 <widgets> 387 <widget name="spinner"/> 388 <widget name="spinner_box"/> 389 </widgets> 390 </object> 391 392 </child> 393 </object> 394 </child> 395 396 </object> 397 </child> 398 </object> 399 </child> 400 </template> 401</interface> 402