GTK+ GUI for configuring PD Buddy Sink devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. <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">1</property>
  13. <property name="page_increment">10</property>
  14. </object>
  15. <object class="GtkApplicationWindow" id="pdb-window">
  16. <property name="can_focus">False</property>
  17. <property name="show_menubar">False</property>
  18. <signal name="delete-event" handler="on_pdb_window_delete_event" swapped="no"/>
  19. <signal name="realize" handler="on_pdb_window_realize" swapped="no"/>
  20. <child>
  21. <object class="GtkStack" id="stack">
  22. <property name="visible">True</property>
  23. <property name="can_focus">False</property>
  24. <property name="transition_type">crossfade</property>
  25. <child>
  26. <object class="GtkScrolledWindow" id="select">
  27. <property name="visible">True</property>
  28. <property name="can_focus">True</property>
  29. <property name="hscrollbar_policy">never</property>
  30. <property name="min_content_height">300</property>
  31. <property name="propagate_natural_width">True</property>
  32. <child>
  33. <object class="GtkViewport">
  34. <property name="visible">True</property>
  35. <property name="can_focus">False</property>
  36. <child>
  37. <object class="GtkBox" id="select-box">
  38. <property name="visible">True</property>
  39. <property name="can_focus">False</property>
  40. <property name="orientation">vertical</property>
  41. <child>
  42. <placeholder/>
  43. </child>
  44. </object>
  45. </child>
  46. </object>
  47. </child>
  48. </object>
  49. <packing>
  50. <property name="name">page0</property>
  51. <property name="title" translatable="yes">page0</property>
  52. </packing>
  53. </child>
  54. <child>
  55. <object class="GtkScrolledWindow" id="sink">
  56. <property name="visible">True</property>
  57. <property name="can_focus">True</property>
  58. <property name="hscrollbar_policy">never</property>
  59. <property name="min_content_height">300</property>
  60. <property name="propagate_natural_width">True</property>
  61. <child>
  62. <object class="GtkViewport">
  63. <property name="visible">True</property>
  64. <property name="can_focus">False</property>
  65. <child>
  66. <object class="GtkBox">
  67. <property name="visible">True</property>
  68. <property name="can_focus">False</property>
  69. <property name="orientation">vertical</property>
  70. <child>
  71. <object class="GtkFrame">
  72. <property name="visible">True</property>
  73. <property name="can_focus">False</property>
  74. <property name="halign">center</property>
  75. <property name="margin_left">50</property>
  76. <property name="margin_right">50</property>
  77. <property name="margin_top">30</property>
  78. <property name="margin_bottom">22</property>
  79. <property name="hexpand">False</property>
  80. <property name="label_xalign">0</property>
  81. <property name="shadow_type">none</property>
  82. <child>
  83. <object class="GtkAlignment">
  84. <property name="visible">True</property>
  85. <property name="can_focus">False</property>
  86. <child>
  87. <object class="GtkGrid">
  88. <property name="visible">True</property>
  89. <property name="can_focus">False</property>
  90. <property name="row_spacing">6</property>
  91. <property name="column_spacing">12</property>
  92. <child>
  93. <object class="GtkLabel">
  94. <property name="visible">True</property>
  95. <property name="can_focus">False</property>
  96. <property name="halign">end</property>
  97. <property name="label" translatable="yes">Voltage</property>
  98. <property name="justify">right</property>
  99. <style>
  100. <class name="dim-label"/>
  101. </style>
  102. </object>
  103. <packing>
  104. <property name="left_attach">0</property>
  105. <property name="top_attach">0</property>
  106. </packing>
  107. </child>
  108. <child>
  109. <object class="GtkLabel">
  110. <property name="visible">True</property>
  111. <property name="can_focus">False</property>
  112. <property name="halign">end</property>
  113. <property name="label" translatable="yes">Current</property>
  114. <property name="justify">right</property>
  115. <style>
  116. <class name="dim-label"/>
  117. </style>
  118. </object>
  119. <packing>
  120. <property name="left_attach">0</property>
  121. <property name="top_attach">1</property>
  122. </packing>
  123. </child>
  124. <child>
  125. <object class="GtkSpinButton" id="current-spinbutton">
  126. <property name="visible">True</property>
  127. <property name="can_focus">True</property>
  128. <property name="input_purpose">number</property>
  129. <property name="adjustment">current-adjustment</property>
  130. <property name="digits">2</property>
  131. <property name="numeric">True</property>
  132. <signal name="value-changed" handler="on_current_spinbutton_changed" swapped="no"/>
  133. </object>
  134. <packing>
  135. <property name="left_attach">1</property>
  136. <property name="top_attach">1</property>
  137. </packing>
  138. </child>
  139. <child>
  140. <object class="GtkLabel">
  141. <property name="visible">True</property>
  142. <property name="can_focus">False</property>
  143. <property name="halign">start</property>
  144. <property name="label" translatable="yes">A</property>
  145. </object>
  146. <packing>
  147. <property name="left_attach">2</property>
  148. <property name="top_attach">1</property>
  149. </packing>
  150. </child>
  151. <child>
  152. <object class="GtkLabel">
  153. <property name="visible">True</property>
  154. <property name="can_focus">False</property>
  155. <property name="halign">start</property>
  156. <property name="label" translatable="yes">V</property>
  157. </object>
  158. <packing>
  159. <property name="left_attach">2</property>
  160. <property name="top_attach">0</property>
  161. </packing>
  162. </child>
  163. <child>
  164. <object class="GtkComboBoxText" id="voltage-combobox">
  165. <property name="visible">True</property>
  166. <property name="can_focus">False</property>
  167. <items>
  168. <item id="voltage-five" translatable="yes">5</item>
  169. <item id="voltage-nine" translatable="yes">9</item>
  170. <item id="voltage-fifteen" translatable="yes">15</item>
  171. <item id="voltage-twenty" translatable="yes">20</item>
  172. </items>
  173. <signal name="changed" handler="on_voltage_combobox_changed" swapped="no"/>
  174. </object>
  175. <packing>
  176. <property name="left_attach">1</property>
  177. <property name="top_attach">0</property>
  178. </packing>
  179. </child>
  180. <child>
  181. <object class="GtkLabel">
  182. <property name="visible">True</property>
  183. <property name="can_focus">False</property>
  184. <property name="halign">end</property>
  185. <property name="label" translatable="yes">Flags</property>
  186. <property name="justify">right</property>
  187. <style>
  188. <class name="dim-label"/>
  189. </style>
  190. </object>
  191. <packing>
  192. <property name="left_attach">0</property>
  193. <property name="top_attach">2</property>
  194. </packing>
  195. </child>
  196. <child>
  197. <object class="GtkButtonBox">
  198. <property name="visible">True</property>
  199. <property name="can_focus">False</property>
  200. <property name="halign">start</property>
  201. <property name="layout_style">expand</property>
  202. <child>
  203. <object class="GtkToggleButton" id="giveback-toggle">
  204. <property name="label" translatable="yes">GiveBack</property>
  205. <property name="visible">True</property>
  206. <property name="can_focus">True</property>
  207. <property name="receives_default">True</property>
  208. <signal name="toggled" handler="on_giveback_toggle_toggled" swapped="no"/>
  209. </object>
  210. <packing>
  211. <property name="expand">True</property>
  212. <property name="fill">True</property>
  213. <property name="position">0</property>
  214. </packing>
  215. </child>
  216. </object>
  217. <packing>
  218. <property name="left_attach">1</property>
  219. <property name="top_attach">2</property>
  220. <property name="width">2</property>
  221. </packing>
  222. </child>
  223. </object>
  224. </child>
  225. </object>
  226. </child>
  227. <child type="label_item">
  228. <placeholder/>
  229. </child>
  230. </object>
  231. <packing>
  232. <property name="expand">False</property>
  233. <property name="fill">True</property>
  234. <property name="position">0</property>
  235. </packing>
  236. </child>
  237. </object>
  238. </child>
  239. </object>
  240. </child>
  241. </object>
  242. <packing>
  243. <property name="name">page1</property>
  244. <property name="title" translatable="yes">page1</property>
  245. <property name="position">1</property>
  246. </packing>
  247. </child>
  248. </object>
  249. </child>
  250. <child type="titlebar">
  251. <object class="GtkStack" id="header-stack">
  252. <property name="visible">True</property>
  253. <property name="can_focus">False</property>
  254. <property name="transition_type">crossfade</property>
  255. <child>
  256. <object class="GtkHeaderBar" id="header-select">
  257. <property name="visible">True</property>
  258. <property name="can_focus">False</property>
  259. <property name="title">Select Device</property>
  260. <property name="show_close_button">True</property>
  261. <child>
  262. <object class="GtkLabel" id="dummy">
  263. <property name="visible">True</property>
  264. <property name="can_focus">False</property>
  265. </object>
  266. <packing>
  267. <property name="pack_type">end</property>
  268. </packing>
  269. </child>
  270. </object>
  271. <packing>
  272. <property name="name">page0</property>
  273. <property name="title" translatable="yes">page0</property>
  274. </packing>
  275. </child>
  276. <child>
  277. <object class="GtkHeaderBar" id="header-sink">
  278. <property name="visible">True</property>
  279. <property name="can_focus">False</property>
  280. <property name="title">PD Buddy Sink</property>
  281. <property name="show_close_button">True</property>
  282. <child>
  283. <object class="GtkButton" id="header-sink-back">
  284. <property name="visible">True</property>
  285. <property name="can_focus">True</property>
  286. <property name="receives_default">True</property>
  287. <property name="image">back-image</property>
  288. <signal name="clicked" handler="on_header_sink_back_clicked" swapped="no"/>
  289. <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
  290. </object>
  291. </child>
  292. <child>
  293. <object class="GtkRevealer" id="header-sink-save-revealer">
  294. <property name="visible">True</property>
  295. <property name="can_focus">False</property>
  296. <property name="transition_type">crossfade</property>
  297. <child>
  298. <object class="GtkButtonBox">
  299. <property name="visible">True</property>
  300. <property name="can_focus">False</property>
  301. <property name="orientation">vertical</property>
  302. <property name="layout_style">start</property>
  303. <child>
  304. <object class="GtkButton" id="header-sink-save">
  305. <property name="label">gtk-save</property>
  306. <property name="visible">True</property>
  307. <property name="can_focus">True</property>
  308. <property name="receives_default">True</property>
  309. <property name="use_stock">True</property>
  310. <signal name="clicked" handler="on_header_sink_save_clicked" swapped="no"/>
  311. <accelerator key="s" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
  312. <style>
  313. <class name="suggested-action"/>
  314. </style>
  315. </object>
  316. <packing>
  317. <property name="expand">True</property>
  318. <property name="fill">True</property>
  319. <property name="position">0</property>
  320. </packing>
  321. </child>
  322. </object>
  323. </child>
  324. </object>
  325. <packing>
  326. <property name="pack_type">end</property>
  327. <property name="position">1</property>
  328. </packing>
  329. </child>
  330. </object>
  331. <packing>
  332. <property name="name">page1</property>
  333. <property name="title" translatable="yes">page1</property>
  334. <property name="position">1</property>
  335. </packing>
  336. </child>
  337. </object>
  338. </child>
  339. </object>
  340. </interface>