GTK+ GUI for configuring PD Buddy Sink devices
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

pd-buddy-gtk.ui 18KB

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