GTK+ GUI for configuring PD Buddy Sink devices
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pd-buddy-gtk.ui 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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">slide-left-right</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="label" translatable="yes">Voltage</property>
  97. <property name="justify">right</property>
  98. <style>
  99. <class name="dim-label"/>
  100. </style>
  101. </object>
  102. <packing>
  103. <property name="left_attach">0</property>
  104. <property name="top_attach">0</property>
  105. </packing>
  106. </child>
  107. <child>
  108. <object class="GtkLabel">
  109. <property name="visible">True</property>
  110. <property name="can_focus">False</property>
  111. <property name="label" translatable="yes">Current</property>
  112. <property name="justify">right</property>
  113. <style>
  114. <class name="dim-label"/>
  115. </style>
  116. </object>
  117. <packing>
  118. <property name="left_attach">0</property>
  119. <property name="top_attach">1</property>
  120. </packing>
  121. </child>
  122. <child>
  123. <object class="GtkSpinButton" id="current-spinbutton">
  124. <property name="visible">True</property>
  125. <property name="can_focus">True</property>
  126. <property name="input_purpose">number</property>
  127. <property name="adjustment">current-adjustment</property>
  128. <property name="digits">2</property>
  129. <property name="numeric">True</property>
  130. <signal name="value-changed" handler="on_current_spinbutton_changed" swapped="no"/>
  131. </object>
  132. <packing>
  133. <property name="left_attach">1</property>
  134. <property name="top_attach">1</property>
  135. </packing>
  136. </child>
  137. <child>
  138. <object class="GtkLabel">
  139. <property name="visible">True</property>
  140. <property name="can_focus">False</property>
  141. <property name="label" translatable="yes">A</property>
  142. </object>
  143. <packing>
  144. <property name="left_attach">2</property>
  145. <property name="top_attach">1</property>
  146. </packing>
  147. </child>
  148. <child>
  149. <object class="GtkLabel">
  150. <property name="visible">True</property>
  151. <property name="can_focus">False</property>
  152. <property name="label" translatable="yes">V</property>
  153. </object>
  154. <packing>
  155. <property name="left_attach">2</property>
  156. <property name="top_attach">0</property>
  157. </packing>
  158. </child>
  159. <child>
  160. <object class="GtkComboBoxText" id="voltage-combobox">
  161. <property name="visible">True</property>
  162. <property name="can_focus">False</property>
  163. <items>
  164. <item id="voltage-five" translatable="yes">5</item>
  165. <item id="voltage-nine" translatable="yes">9</item>
  166. <item id="voltage-fifteen" translatable="yes">15</item>
  167. <item id="voltage-twenty" translatable="yes">20</item>
  168. </items>
  169. <signal name="changed" handler="on_voltage_combobox_changed" swapped="no"/>
  170. </object>
  171. <packing>
  172. <property name="left_attach">1</property>
  173. <property name="top_attach">0</property>
  174. </packing>
  175. </child>
  176. </object>
  177. </child>
  178. </object>
  179. </child>
  180. <child type="label_item">
  181. <placeholder/>
  182. </child>
  183. </object>
  184. <packing>
  185. <property name="expand">False</property>
  186. <property name="fill">True</property>
  187. <property name="position">0</property>
  188. </packing>
  189. </child>
  190. </object>
  191. </child>
  192. </object>
  193. </child>
  194. </object>
  195. <packing>
  196. <property name="name">page1</property>
  197. <property name="title" translatable="yes">page1</property>
  198. <property name="position">1</property>
  199. </packing>
  200. </child>
  201. </object>
  202. </child>
  203. <child type="titlebar">
  204. <object class="GtkStack" id="header-stack">
  205. <property name="visible">True</property>
  206. <property name="can_focus">False</property>
  207. <child>
  208. <object class="GtkHeaderBar" id="header-select">
  209. <property name="visible">True</property>
  210. <property name="can_focus">False</property>
  211. <property name="title">Select Device</property>
  212. <property name="show_close_button">True</property>
  213. <child>
  214. <object class="GtkLabel" id="dummy">
  215. <property name="visible">True</property>
  216. <property name="can_focus">False</property>
  217. </object>
  218. <packing>
  219. <property name="pack_type">end</property>
  220. </packing>
  221. </child>
  222. </object>
  223. <packing>
  224. <property name="name">page0</property>
  225. <property name="title" translatable="yes">page0</property>
  226. </packing>
  227. </child>
  228. <child>
  229. <object class="GtkHeaderBar" id="header-sink">
  230. <property name="visible">True</property>
  231. <property name="can_focus">False</property>
  232. <property name="title">PD Buddy Sink</property>
  233. <property name="show_close_button">True</property>
  234. <child>
  235. <object class="GtkButton" id="header-sink-back">
  236. <property name="visible">True</property>
  237. <property name="can_focus">True</property>
  238. <property name="receives_default">True</property>
  239. <property name="image">back-image</property>
  240. <signal name="clicked" handler="on_header_sink_back_clicked" swapped="no"/>
  241. <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
  242. </object>
  243. </child>
  244. <child>
  245. <object class="GtkRevealer" id="header-sink-save-revealer">
  246. <property name="visible">True</property>
  247. <property name="can_focus">False</property>
  248. <property name="transition_type">crossfade</property>
  249. <child>
  250. <object class="GtkButtonBox">
  251. <property name="visible">True</property>
  252. <property name="can_focus">False</property>
  253. <property name="orientation">vertical</property>
  254. <property name="layout_style">start</property>
  255. <child>
  256. <object class="GtkButton" id="header-sink-save">
  257. <property name="label">gtk-save</property>
  258. <property name="visible">True</property>
  259. <property name="can_focus">True</property>
  260. <property name="receives_default">True</property>
  261. <property name="use_stock">True</property>
  262. <signal name="clicked" handler="on_header_sink_save_clicked" swapped="no"/>
  263. <accelerator key="s" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
  264. <style>
  265. <class name="suggested-action"/>
  266. </style>
  267. </object>
  268. <packing>
  269. <property name="expand">True</property>
  270. <property name="fill">True</property>
  271. <property name="position">0</property>
  272. </packing>
  273. </child>
  274. </object>
  275. </child>
  276. </object>
  277. <packing>
  278. <property name="pack_type">end</property>
  279. <property name="position">1</property>
  280. </packing>
  281. </child>
  282. </object>
  283. <packing>
  284. <property name="name">page1</property>
  285. <property name="title" translatable="yes">page1</property>
  286. <property name="position">1</property>
  287. </packing>
  288. </child>
  289. </object>
  290. </child>
  291. </object>
  292. </interface>