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 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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-twelve" translatable="yes">12</item>
  171. <item id="voltage-fifteen" translatable="yes">15</item>
  172. <item id="voltage-twenty" translatable="yes">20</item>
  173. </items>
  174. <signal name="changed" handler="on_voltage_combobox_changed" swapped="no"/>
  175. </object>
  176. <packing>
  177. <property name="left_attach">1</property>
  178. <property name="top_attach">0</property>
  179. </packing>
  180. </child>
  181. <child>
  182. <object class="GtkLabel">
  183. <property name="visible">True</property>
  184. <property name="can_focus">False</property>
  185. <property name="halign">end</property>
  186. <property name="label" translatable="yes">Flags</property>
  187. <property name="justify">right</property>
  188. <style>
  189. <class name="dim-label"/>
  190. </style>
  191. </object>
  192. <packing>
  193. <property name="left_attach">0</property>
  194. <property name="top_attach">2</property>
  195. </packing>
  196. </child>
  197. <child>
  198. <object class="GtkButtonBox">
  199. <property name="visible">True</property>
  200. <property name="can_focus">False</property>
  201. <property name="halign">start</property>
  202. <property name="layout_style">expand</property>
  203. <child>
  204. <object class="GtkToggleButton" id="giveback-toggle">
  205. <property name="label" translatable="yes">GiveBack</property>
  206. <property name="visible">True</property>
  207. <property name="can_focus">True</property>
  208. <property name="receives_default">True</property>
  209. <signal name="toggled" handler="on_giveback_toggle_toggled" swapped="no"/>
  210. </object>
  211. <packing>
  212. <property name="expand">True</property>
  213. <property name="fill">True</property>
  214. <property name="position">0</property>
  215. </packing>
  216. </child>
  217. </object>
  218. <packing>
  219. <property name="left_attach">1</property>
  220. <property name="top_attach">2</property>
  221. <property name="width">2</property>
  222. </packing>
  223. </child>
  224. </object>
  225. </child>
  226. </object>
  227. </child>
  228. <child type="label_item">
  229. <placeholder/>
  230. </child>
  231. </object>
  232. <packing>
  233. <property name="expand">False</property>
  234. <property name="fill">True</property>
  235. <property name="position">0</property>
  236. </packing>
  237. </child>
  238. </object>
  239. </child>
  240. </object>
  241. </child>
  242. </object>
  243. <packing>
  244. <property name="name">page1</property>
  245. <property name="title" translatable="yes">page1</property>
  246. <property name="position">1</property>
  247. </packing>
  248. </child>
  249. </object>
  250. </child>
  251. <child type="titlebar">
  252. <object class="GtkStack" id="header-stack">
  253. <property name="visible">True</property>
  254. <property name="can_focus">False</property>
  255. <property name="transition_type">crossfade</property>
  256. <child>
  257. <object class="GtkHeaderBar" id="header-select">
  258. <property name="visible">True</property>
  259. <property name="can_focus">False</property>
  260. <property name="title">Select Device</property>
  261. <property name="show_close_button">True</property>
  262. <child>
  263. <object class="GtkLabel" id="dummy">
  264. <property name="visible">True</property>
  265. <property name="can_focus">False</property>
  266. </object>
  267. <packing>
  268. <property name="pack_type">end</property>
  269. </packing>
  270. </child>
  271. </object>
  272. <packing>
  273. <property name="name">page0</property>
  274. <property name="title" translatable="yes">page0</property>
  275. </packing>
  276. </child>
  277. <child>
  278. <object class="GtkHeaderBar" id="header-sink">
  279. <property name="visible">True</property>
  280. <property name="can_focus">False</property>
  281. <property name="title">PD Buddy Sink</property>
  282. <property name="show_close_button">True</property>
  283. <child>
  284. <object class="GtkButton" id="header-sink-back">
  285. <property name="visible">True</property>
  286. <property name="can_focus">True</property>
  287. <property name="receives_default">True</property>
  288. <property name="image">back-image</property>
  289. <signal name="clicked" handler="on_header_sink_back_clicked" swapped="no"/>
  290. <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
  291. </object>
  292. </child>
  293. <child>
  294. <object class="GtkRevealer" id="header-sink-save-revealer">
  295. <property name="visible">True</property>
  296. <property name="can_focus">False</property>
  297. <property name="transition_type">crossfade</property>
  298. <child>
  299. <object class="GtkButtonBox">
  300. <property name="visible">True</property>
  301. <property name="can_focus">False</property>
  302. <property name="orientation">vertical</property>
  303. <property name="layout_style">start</property>
  304. <child>
  305. <object class="GtkButton" id="header-sink-save">
  306. <property name="label">gtk-save</property>
  307. <property name="visible">True</property>
  308. <property name="can_focus">True</property>
  309. <property name="receives_default">True</property>
  310. <property name="use_stock">True</property>
  311. <signal name="clicked" handler="on_header_sink_save_clicked" swapped="no"/>
  312. <accelerator key="s" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
  313. <style>
  314. <class name="suggested-action"/>
  315. </style>
  316. </object>
  317. <packing>
  318. <property name="expand">True</property>
  319. <property name="fill">True</property>
  320. <property name="position">0</property>
  321. </packing>
  322. </child>
  323. </object>
  324. </child>
  325. </object>
  326. <packing>
  327. <property name="pack_type">end</property>
  328. <property name="position">1</property>
  329. </packing>
  330. </child>
  331. </object>
  332. <packing>
  333. <property name="name">page1</property>
  334. <property name="title" translatable="yes">page1</property>
  335. <property name="position">1</property>
  336. </packing>
  337. </child>
  338. </object>
  339. </child>
  340. </object>
  341. </interface>