GTK+ GUI for configuring PD Buddy Sink devices
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pd-buddy-gtk.ui 50KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.20.2 -->
  3. <interface>
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkImage" id="back-image">
  6. <property name="visible">True</property>
  7. <property name="can_focus">False</property>
  8. <property name="icon_name">go-previous-symbolic</property>
  9. </object>
  10. <object class="GtkAdjustment" id="current-adjustment">
  11. <property name="upper">5</property>
  12. <property name="step_increment">0.10000000000000001</property>
  13. <property name="page_increment">1</property>
  14. <signal name="value-changed" handler="on_current_adjustment_value_changed" swapped="no"/>
  15. </object>
  16. <object class="GtkImage" id="order-image">
  17. <property name="visible">True</property>
  18. <property name="can_focus">False</property>
  19. <property name="icon_name">go-next-symbolic</property>
  20. </object>
  21. <object class="GtkAdjustment" id="vmax-adjustment">
  22. <property name="upper">21</property>
  23. <property name="step_increment">0.10000000000000001</property>
  24. <property name="page_increment">1</property>
  25. <signal name="value-changed" handler="on_vmax_adjustment_value_changed" swapped="no"/>
  26. </object>
  27. <object class="GtkAdjustment" id="vmin-adjustment">
  28. <property name="upper">21</property>
  29. <property name="step_increment">0.10000000000000001</property>
  30. <property name="page_increment">1</property>
  31. <signal name="value-changed" handler="on_vmin_adjustment_value_changed" swapped="no"/>
  32. </object>
  33. <object class="GtkAdjustment" id="voltage-adjustment">
  34. <property name="upper">21</property>
  35. <property name="step_increment">0.10000000000000001</property>
  36. <property name="page_increment">1</property>
  37. <signal name="value-changed" handler="on_voltage_adjustment_value_changed" swapped="no"/>
  38. </object>
  39. <object class="GtkApplicationWindow" id="pdb-window">
  40. <property name="can_focus">False</property>
  41. <property name="show_menubar">False</property>
  42. <signal name="delete-event" handler="on_pdb_window_delete_event" swapped="no"/>
  43. <signal name="realize" handler="on_pdb_window_realize" swapped="no"/>
  44. <child>
  45. <object class="GtkStack" id="stack">
  46. <property name="visible">True</property>
  47. <property name="can_focus">False</property>
  48. <property name="transition_type">crossfade</property>
  49. <child>
  50. <object class="GtkScrolledWindow" id="select">
  51. <property name="visible">True</property>
  52. <property name="can_focus">True</property>
  53. <property name="hscrollbar_policy">never</property>
  54. <property name="min_content_height">300</property>
  55. <property name="propagate_natural_width">True</property>
  56. <child>
  57. <object class="GtkViewport">
  58. <property name="visible">True</property>
  59. <property name="can_focus">False</property>
  60. <child>
  61. <object class="GtkBox" id="select-box">
  62. <property name="visible">True</property>
  63. <property name="can_focus">False</property>
  64. <property name="orientation">vertical</property>
  65. <child>
  66. <placeholder/>
  67. </child>
  68. </object>
  69. </child>
  70. </object>
  71. </child>
  72. </object>
  73. <packing>
  74. <property name="name">page0</property>
  75. <property name="title" translatable="yes">page0</property>
  76. </packing>
  77. </child>
  78. <child>
  79. <object class="GtkScrolledWindow" id="sink">
  80. <property name="visible">True</property>
  81. <property name="can_focus">True</property>
  82. <property name="hscrollbar_policy">never</property>
  83. <property name="min_content_height">300</property>
  84. <property name="propagate_natural_width">True</property>
  85. <child>
  86. <object class="GtkViewport">
  87. <property name="visible">True</property>
  88. <property name="can_focus">False</property>
  89. <child>
  90. <object class="GtkBox">
  91. <property name="visible">True</property>
  92. <property name="can_focus">False</property>
  93. <property name="orientation">vertical</property>
  94. <child>
  95. <object class="GtkBox">
  96. <property name="visible">True</property>
  97. <property name="can_focus">False</property>
  98. <property name="halign">center</property>
  99. <property name="margin_left">18</property>
  100. <property name="margin_right">18</property>
  101. <property name="margin_top">18</property>
  102. <property name="margin_bottom">18</property>
  103. <property name="orientation">vertical</property>
  104. <property name="spacing">24</property>
  105. <child>
  106. <object class="GtkBox">
  107. <property name="visible">True</property>
  108. <property name="can_focus">False</property>
  109. <property name="orientation">vertical</property>
  110. <property name="spacing">8</property>
  111. <child>
  112. <object class="GtkBox">
  113. <property name="visible">True</property>
  114. <property name="can_focus">False</property>
  115. <child>
  116. <object class="GtkLabel">
  117. <property name="visible">True</property>
  118. <property name="can_focus">False</property>
  119. <property name="halign">start</property>
  120. <property name="label" translatable="yes">Configuration</property>
  121. <attributes>
  122. <attribute name="weight" value="bold"/>
  123. </attributes>
  124. </object>
  125. <packing>
  126. <property name="expand">True</property>
  127. <property name="fill">True</property>
  128. <property name="position">0</property>
  129. </packing>
  130. </child>
  131. <child>
  132. <object class="GtkRevealer" id="sink-save-revealer">
  133. <property name="visible">True</property>
  134. <property name="can_focus">False</property>
  135. <property name="transition_type">crossfade</property>
  136. <child>
  137. <object class="GtkButtonBox">
  138. <property name="visible">True</property>
  139. <property name="can_focus">False</property>
  140. <property name="orientation">vertical</property>
  141. <property name="layout_style">start</property>
  142. <child>
  143. <object class="GtkButton" id="sink-save">
  144. <property name="label">gtk-save</property>
  145. <property name="visible">True</property>
  146. <property name="can_focus">True</property>
  147. <property name="receives_default">True</property>
  148. <property name="use_stock">True</property>
  149. <signal name="clicked" handler="on_sink_save_clicked" swapped="no"/>
  150. <accelerator key="s" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
  151. <style>
  152. <class name="suggested-action"/>
  153. </style>
  154. </object>
  155. <packing>
  156. <property name="expand">True</property>
  157. <property name="fill">True</property>
  158. <property name="position">0</property>
  159. </packing>
  160. </child>
  161. </object>
  162. </child>
  163. </object>
  164. <packing>
  165. <property name="expand">False</property>
  166. <property name="fill">True</property>
  167. <property name="position">1</property>
  168. </packing>
  169. </child>
  170. </object>
  171. <packing>
  172. <property name="expand">False</property>
  173. <property name="fill">True</property>
  174. <property name="position">0</property>
  175. </packing>
  176. </child>
  177. <child>
  178. <object class="GtkFrame">
  179. <property name="visible">True</property>
  180. <property name="can_focus">False</property>
  181. <property name="hexpand">False</property>
  182. <property name="label_xalign">0</property>
  183. <child>
  184. <object class="GtkListBox" id="sink-config-list">
  185. <property name="width_request">360</property>
  186. <property name="visible">True</property>
  187. <property name="can_focus">False</property>
  188. <property name="selection_mode">none</property>
  189. <child>
  190. <object class="GtkListBoxRow">
  191. <property name="width_request">100</property>
  192. <property name="visible">True</property>
  193. <property name="can_focus">True</property>
  194. <property name="vexpand">False</property>
  195. <property name="activatable">False</property>
  196. <child>
  197. <object class="GtkGrid">
  198. <property name="visible">True</property>
  199. <property name="can_focus">False</property>
  200. <property name="valign">center</property>
  201. <property name="margin_left">12</property>
  202. <property name="margin_right">6</property>
  203. <property name="margin_top">6</property>
  204. <property name="margin_bottom">6</property>
  205. <property name="column_spacing">12</property>
  206. <child>
  207. <object class="GtkLabel">
  208. <property name="visible">True</property>
  209. <property name="can_focus">False</property>
  210. <property name="halign">start</property>
  211. <property name="hexpand">True</property>
  212. <property name="label" translatable="yes">_Voltage</property>
  213. <property name="use_underline">True</property>
  214. <property name="justify">right</property>
  215. <property name="mnemonic_widget">voltage-spinbutton</property>
  216. </object>
  217. <packing>
  218. <property name="left_attach">0</property>
  219. <property name="top_attach">0</property>
  220. </packing>
  221. </child>
  222. <child>
  223. <object class="GtkLabel">
  224. <property name="visible">True</property>
  225. <property name="can_focus">False</property>
  226. <property name="halign">start</property>
  227. <property name="label" translatable="yes">V</property>
  228. <property name="width_chars">2</property>
  229. </object>
  230. <packing>
  231. <property name="left_attach">2</property>
  232. <property name="top_attach">0</property>
  233. </packing>
  234. </child>
  235. <child>
  236. <object class="GtkSpinButton" id="voltage-spinbutton">
  237. <property name="visible">True</property>
  238. <property name="can_focus">True</property>
  239. <property name="width_chars">6</property>
  240. <property name="text" translatable="yes">0.00</property>
  241. <property name="xalign">1</property>
  242. <property name="input_purpose">number</property>
  243. <property name="adjustment">voltage-adjustment</property>
  244. <property name="digits">2</property>
  245. <property name="numeric">True</property>
  246. </object>
  247. <packing>
  248. <property name="left_attach">1</property>
  249. <property name="top_attach">0</property>
  250. </packing>
  251. </child>
  252. </object>
  253. </child>
  254. </object>
  255. </child>
  256. <child>
  257. <object class="GtkListBoxRow">
  258. <property name="width_request">100</property>
  259. <property name="visible">True</property>
  260. <property name="can_focus">True</property>
  261. <property name="activatable">False</property>
  262. <child>
  263. <object class="GtkGrid">
  264. <property name="visible">True</property>
  265. <property name="can_focus">False</property>
  266. <property name="margin_left">12</property>
  267. <property name="margin_right">6</property>
  268. <property name="margin_top">6</property>
  269. <property name="margin_bottom">6</property>
  270. <property name="column_spacing">12</property>
  271. <child>
  272. <object class="GtkLabel">
  273. <property name="visible">True</property>
  274. <property name="can_focus">False</property>
  275. <property name="halign">start</property>
  276. <property name="hexpand">True</property>
  277. <property name="label" translatable="yes">Voltage _Range</property>
  278. <property name="use_underline">True</property>
  279. <property name="mnemonic_widget">vrange-switch</property>
  280. </object>
  281. <packing>
  282. <property name="left_attach">0</property>
  283. <property name="top_attach">0</property>
  284. </packing>
  285. </child>
  286. <child>
  287. <object class="GtkSwitch" id="vrange-switch">
  288. <property name="visible">True</property>
  289. <property name="can_focus">True</property>
  290. <property name="halign">end</property>
  291. <property name="active">True</property>
  292. <signal name="state-set" handler="on_vrange_switch_state_set" swapped="no"/>
  293. </object>
  294. <packing>
  295. <property name="left_attach">1</property>
  296. <property name="top_attach">0</property>
  297. </packing>
  298. </child>
  299. </object>
  300. </child>
  301. </object>
  302. </child>
  303. <child>
  304. <object class="GtkListBoxRow" id="vrange-row">
  305. <property name="name">S</property>
  306. <property name="width_request">100</property>
  307. <property name="visible">True</property>
  308. <property name="can_focus">True</property>
  309. <property name="activatable">False</property>
  310. <child>
  311. <object class="GtkGrid">
  312. <property name="visible">True</property>
  313. <property name="can_focus">False</property>
  314. <property name="halign">end</property>
  315. <property name="margin_left">12</property>
  316. <property name="margin_right">6</property>
  317. <property name="margin_bottom">6</property>
  318. <property name="column_spacing">12</property>
  319. <child>
  320. <object class="GtkLabel">
  321. <property name="visible">True</property>
  322. <property name="can_focus">False</property>
  323. <property name="label" translatable="yes">V</property>
  324. <property name="width_chars">2</property>
  325. </object>
  326. <packing>
  327. <property name="left_attach">1</property>
  328. <property name="top_attach">0</property>
  329. </packing>
  330. </child>
  331. <child>
  332. <object class="GtkBox">
  333. <property name="visible">True</property>
  334. <property name="can_focus">False</property>
  335. <child>
  336. <object class="GtkSpinButton" id="vmin-spinbutton">
  337. <property name="visible">True</property>
  338. <property name="can_focus">True</property>
  339. <property name="width_chars">6</property>
  340. <property name="input_purpose">number</property>
  341. <property name="adjustment">vmin-adjustment</property>
  342. <property name="digits">2</property>
  343. </object>
  344. <packing>
  345. <property name="expand">False</property>
  346. <property name="fill">True</property>
  347. <property name="position">0</property>
  348. </packing>
  349. </child>
  350. <child>
  351. <object class="GtkButton" id="hv-preferred-button">
  352. <property name="visible">True</property>
  353. <property name="can_focus">True</property>
  354. <property name="receives_default">True</property>
  355. <property name="image">order-image</property>
  356. <signal name="clicked" handler="on_hv_preferred_button_clicked" swapped="no"/>
  357. </object>
  358. <packing>
  359. <property name="expand">False</property>
  360. <property name="fill">True</property>
  361. <property name="position">1</property>
  362. </packing>
  363. </child>
  364. <child>
  365. <object class="GtkSpinButton" id="vmax-spinbutton">
  366. <property name="visible">True</property>
  367. <property name="can_focus">True</property>
  368. <property name="width_chars">6</property>
  369. <property name="input_purpose">number</property>
  370. <property name="adjustment">vmax-adjustment</property>
  371. <property name="digits">2</property>
  372. </object>
  373. <packing>
  374. <property name="expand">False</property>
  375. <property name="fill">True</property>
  376. <property name="position">2</property>
  377. </packing>
  378. </child>
  379. <style>
  380. <class name="linked"/>
  381. </style>
  382. </object>
  383. <packing>
  384. <property name="left_attach">0</property>
  385. <property name="top_attach">0</property>
  386. </packing>
  387. </child>
  388. </object>
  389. </child>
  390. </object>
  391. </child>
  392. <child>
  393. <object class="GtkListBoxRow">
  394. <property name="width_request">100</property>
  395. <property name="visible">True</property>
  396. <property name="can_focus">True</property>
  397. <property name="activatable">False</property>
  398. <child>
  399. <object class="GtkGrid">
  400. <property name="visible">True</property>
  401. <property name="can_focus">False</property>
  402. <property name="valign">center</property>
  403. <property name="margin_left">12</property>
  404. <property name="margin_right">6</property>
  405. <property name="margin_top">6</property>
  406. <property name="margin_bottom">6</property>
  407. <property name="column_spacing">12</property>
  408. <child>
  409. <object class="GtkSpinButton" id="current-spinbutton">
  410. <property name="visible">True</property>
  411. <property name="can_focus">True</property>
  412. <property name="margin_left">12</property>
  413. <property name="width_chars">6</property>
  414. <property name="xalign">1</property>
  415. <property name="input_purpose">number</property>
  416. <property name="adjustment">current-adjustment</property>
  417. <property name="digits">2</property>
  418. <property name="numeric">True</property>
  419. </object>
  420. <packing>
  421. <property name="left_attach">1</property>
  422. <property name="top_attach">0</property>
  423. </packing>
  424. </child>
  425. <child>
  426. <object class="GtkLabel" id="current-unit">
  427. <property name="visible">True</property>
  428. <property name="can_focus">False</property>
  429. <property name="halign">start</property>
  430. <property name="label" translatable="yes">A</property>
  431. <property name="width_chars">2</property>
  432. </object>
  433. <packing>
  434. <property name="left_attach">2</property>
  435. <property name="top_attach">0</property>
  436. </packing>
  437. </child>
  438. <child>
  439. <object class="GtkComboBoxText" id="current-dimension">
  440. <property name="visible">True</property>
  441. <property name="can_focus">False</property>
  442. <property name="halign">start</property>
  443. <property name="hexpand">True</property>
  444. <property name="active_id">idim-current</property>
  445. <items>
  446. <item id="idim-current" translatable="yes">Current</item>
  447. <item id="idim-power" translatable="yes">Power</item>
  448. <item id="idim-resistance" translatable="yes">Resistance</item>
  449. </items>
  450. <signal name="changed" handler="on_current_dimension_changed" swapped="no"/>
  451. </object>
  452. <packing>
  453. <property name="left_attach">0</property>
  454. <property name="top_attach">0</property>
  455. </packing>
  456. </child>
  457. </object>
  458. </child>
  459. </object>
  460. </child>
  461. <child>
  462. <object class="GtkListBoxRow">
  463. <property name="width_request">100</property>
  464. <property name="visible">True</property>
  465. <property name="can_focus">True</property>
  466. <property name="activatable">False</property>
  467. <child>
  468. <object class="GtkGrid">
  469. <property name="visible">True</property>
  470. <property name="can_focus">False</property>
  471. <property name="valign">center</property>
  472. <property name="margin_left">12</property>
  473. <property name="margin_right">6</property>
  474. <property name="margin_top">6</property>
  475. <property name="margin_bottom">6</property>
  476. <property name="column_spacing">12</property>
  477. <child>
  478. <object class="GtkLabel">
  479. <property name="visible">True</property>
  480. <property name="can_focus">False</property>
  481. <property name="halign">start</property>
  482. <property name="hexpand">True</property>
  483. <property name="label" translatable="yes">_GiveBack</property>
  484. <property name="use_underline">True</property>
  485. <property name="justify">right</property>
  486. <property name="mnemonic_widget">giveback-switch</property>
  487. </object>
  488. <packing>
  489. <property name="left_attach">0</property>
  490. <property name="top_attach">0</property>
  491. </packing>
  492. </child>
  493. <child>
  494. <object class="GtkSwitch" id="giveback-switch">
  495. <property name="visible">True</property>
  496. <property name="can_focus">True</property>
  497. <signal name="state-set" handler="on_giveback_switch_state_set" swapped="no"/>
  498. </object>
  499. <packing>
  500. <property name="left_attach">1</property>
  501. <property name="top_attach">0</property>
  502. <property name="width">2</property>
  503. </packing>
  504. </child>
  505. </object>
  506. </child>
  507. </object>
  508. </child>
  509. </object>
  510. </child>
  511. <child type="label_item">
  512. <placeholder/>
  513. </child>
  514. </object>
  515. <packing>
  516. <property name="expand">False</property>
  517. <property name="fill">True</property>
  518. <property name="position">1</property>
  519. </packing>
  520. </child>
  521. </object>
  522. <packing>
  523. <property name="expand">False</property>
  524. <property name="fill">True</property>
  525. <property name="position">0</property>
  526. </packing>
  527. </child>
  528. <child>
  529. <object class="GtkFrame" id="power-delivery-frame">
  530. <property name="visible">True</property>
  531. <property name="can_focus">False</property>
  532. <property name="label_xalign">0</property>
  533. <property name="shadow_type">none</property>
  534. <child>
  535. <object class="GtkFrame">
  536. <property name="visible">True</property>
  537. <property name="can_focus">False</property>
  538. <property name="margin_top">6</property>
  539. <property name="margin_bottom">6</property>
  540. <property name="label_xalign">0</property>
  541. <child>
  542. <object class="GtkListBox" id="power-delivery-list">
  543. <property name="visible">True</property>
  544. <property name="can_focus">False</property>
  545. <property name="selection_mode">none</property>
  546. <signal name="row-activated" handler="on_source_cap_row_activated" swapped="no"/>
  547. <child>
  548. <object class="GtkListBoxRow">
  549. <property name="width_request">100</property>
  550. <property name="visible">True</property>
  551. <property name="can_focus">True</property>
  552. <property name="vexpand">False</property>
  553. <property name="activatable">False</property>
  554. <child>
  555. <object class="GtkGrid">
  556. <property name="visible">True</property>
  557. <property name="can_focus">False</property>
  558. <property name="valign">center</property>
  559. <property name="margin_left">12</property>
  560. <property name="margin_right">6</property>
  561. <property name="margin_top">6</property>
  562. <property name="margin_bottom">6</property>
  563. <property name="column_spacing">12</property>
  564. <child>
  565. <object class="GtkLabel">
  566. <property name="visible">True</property>
  567. <property name="can_focus">False</property>
  568. <property name="halign">start</property>
  569. <property name="hexpand">True</property>
  570. <property name="label" translatable="yes">_Output</property>
  571. <property name="use_underline">True</property>
  572. <property name="justify">right</property>
  573. <property name="mnemonic_widget">output-switch</property>
  574. </object>
  575. <packing>
  576. <property name="left_attach">0</property>
  577. <property name="top_attach">0</property>
  578. </packing>
  579. </child>
  580. <child>
  581. <object class="GtkSwitch" id="output-switch">
  582. <property name="visible">True</property>
  583. <property name="can_focus">True</property>
  584. <signal name="state-set" handler="on_output_switch_state_set" swapped="no"/>
  585. </object>
  586. <packing>
  587. <property name="left_attach">1</property>
  588. <property name="top_attach">0</property>
  589. <property name="width">2</property>
  590. </packing>
  591. </child>
  592. </object>
  593. </child>
  594. </object>
  595. </child>
  596. <child>
  597. <object class="GtkListBoxRow" id="source-cap-row">
  598. <property name="width_request">100</property>
  599. <property name="visible">True</property>
  600. <property name="can_focus">True</property>
  601. <child>
  602. <object class="GtkGrid">
  603. <property name="visible">True</property>
  604. <property name="can_focus">False</property>
  605. <property name="valign">center</property>
  606. <property name="margin_left">12</property>
  607. <property name="margin_right">6</property>
  608. <property name="margin_top">6</property>
  609. <property name="margin_bottom">6</property>
  610. <property name="column_spacing">12</property>
  611. <child>
  612. <object class="GtkLabel">
  613. <property name="visible">True</property>
  614. <property name="can_focus">False</property>
  615. <property name="halign">start</property>
  616. <property name="label" translatable="yes">Source _Capabilities</property>
  617. <property name="use_underline">True</property>
  618. <property name="justify">right</property>
  619. <property name="mnemonic_widget">source-cap-row</property>
  620. </object>
  621. <packing>
  622. <property name="left_attach">0</property>
  623. <property name="top_attach">0</property>
  624. </packing>
  625. </child>
  626. <child>
  627. <object class="GtkImage" id="source-cap-arrow">
  628. <property name="visible">True</property>
  629. <property name="can_focus">False</property>
  630. <property name="icon_name">go-next-symbolic</property>
  631. </object>
  632. <packing>
  633. <property name="left_attach">3</property>
  634. <property name="top_attach">0</property>
  635. </packing>
  636. </child>
  637. <child>
  638. <object class="GtkLabel" id="short-source-cap-label">
  639. <property name="visible">True</property>
  640. <property name="can_focus">False</property>
  641. <property name="halign">end</property>
  642. <property name="hexpand">True</property>
  643. <property name="label" translatable="yes">label</property>
  644. <style>
  645. <class name="dim-label"/>
  646. </style>
  647. </object>
  648. <packing>
  649. <property name="left_attach">2</property>
  650. <property name="top_attach">0</property>
  651. </packing>
  652. </child>
  653. <child>
  654. <object class="GtkImage" id="source-cap-warning">
  655. <property name="can_focus">False</property>
  656. <property name="tooltip_text" translatable="yes">Source violates the USB PD Power Rules</property>
  657. <property name="halign">start</property>
  658. <property name="icon_name">dialog-warning-symbolic</property>
  659. </object>
  660. <packing>
  661. <property name="left_attach">1</property>
  662. <property name="top_attach">0</property>
  663. </packing>
  664. </child>
  665. </object>
  666. </child>
  667. </object>
  668. </child>
  669. </object>
  670. </child>
  671. <child type="label_item">
  672. <placeholder/>
  673. </child>
  674. </object>
  675. </child>
  676. <child type="label">
  677. <object class="GtkLabel">
  678. <property name="visible">True</property>
  679. <property name="can_focus">False</property>
  680. <property name="label" translatable="yes">Power Delivery</property>
  681. <attributes>
  682. <attribute name="weight" value="bold"/>
  683. </attributes>
  684. </object>
  685. </child>
  686. </object>
  687. <packing>
  688. <property name="expand">False</property>
  689. <property name="fill">True</property>
  690. <property name="position">1</property>
  691. </packing>
  692. </child>
  693. </object>
  694. <packing>
  695. <property name="expand">False</property>
  696. <property name="fill">True</property>
  697. <property name="position">0</property>
  698. </packing>
  699. </child>
  700. </object>
  701. </child>
  702. </object>
  703. </child>
  704. </object>
  705. <packing>
  706. <property name="name">page1</property>
  707. <property name="title" translatable="yes">page1</property>
  708. <property name="position">1</property>
  709. </packing>
  710. </child>
  711. </object>
  712. </child>
  713. <child type="titlebar">
  714. <object class="GtkStack" id="header-stack">
  715. <property name="visible">True</property>
  716. <property name="can_focus">False</property>
  717. <property name="transition_type">crossfade</property>
  718. <child>
  719. <object class="GtkHeaderBar" id="header-select">
  720. <property name="visible">True</property>
  721. <property name="can_focus">False</property>
  722. <property name="title">Select Device</property>
  723. <property name="show_close_button">True</property>
  724. </object>
  725. <packing>
  726. <property name="name">page0</property>
  727. <property name="title" translatable="yes">page0</property>
  728. </packing>
  729. </child>
  730. <child>
  731. <object class="GtkHeaderBar" id="header-sink">
  732. <property name="visible">True</property>
  733. <property name="can_focus">False</property>
  734. <property name="title">PD Buddy Sink</property>
  735. <property name="show_close_button">True</property>
  736. <child>
  737. <object class="GtkButton" id="header-sink-back">
  738. <property name="visible">True</property>
  739. <property name="can_focus">True</property>
  740. <property name="receives_default">True</property>
  741. <property name="image">back-image</property>
  742. <signal name="clicked" handler="on_header_sink_back_clicked" swapped="no"/>
  743. <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
  744. </object>
  745. </child>
  746. </object>
  747. <packing>
  748. <property name="name">page1</property>
  749. <property name="title" translatable="yes">page1</property>
  750. <property name="position">1</property>
  751. </packing>
  752. </child>
  753. </object>
  754. </child>
  755. </object>
  756. </interface>