GTK+ GUI for configuring PD Buddy Sink devices
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pd-buddy-gtk.ui 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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">
  38. <property name="visible">True</property>
  39. <property name="can_focus">False</property>
  40. <property name="orientation">vertical</property>
  41. <child>
  42. <object class="GtkStack" id="select-stack">
  43. <property name="visible">True</property>
  44. <property name="can_focus">False</property>
  45. <property name="vexpand">True</property>
  46. <child>
  47. <object class="GtkBox" id="select-none">
  48. <property name="visible">True</property>
  49. <property name="can_focus">False</property>
  50. <property name="halign">center</property>
  51. <property name="valign">center</property>
  52. <property name="margin_bottom">22</property>
  53. <property name="orientation">vertical</property>
  54. <child>
  55. <object class="GtkLabel" id="select-none-header">
  56. <property name="visible">True</property>
  57. <property name="can_focus">False</property>
  58. <property name="margin_bottom">12</property>
  59. <property name="label" translatable="yes">No devices found</property>
  60. <attributes>
  61. <attribute name="weight" value="bold"/>
  62. <attribute name="scale" value="2"/>
  63. </attributes>
  64. <style>
  65. <class name="dim-label"/>
  66. </style>
  67. </object>
  68. <packing>
  69. <property name="expand">False</property>
  70. <property name="fill">True</property>
  71. <property name="position">0</property>
  72. </packing>
  73. </child>
  74. <child>
  75. <object class="GtkLabel" id="select-none-text">
  76. <property name="visible">True</property>
  77. <property name="can_focus">False</property>
  78. <property name="label" translatable="yes">All connected PD Buddy devices will appear here</property>
  79. <style>
  80. <class name="dim-label"/>
  81. </style>
  82. </object>
  83. <packing>
  84. <property name="expand">False</property>
  85. <property name="fill">True</property>
  86. <property name="position">1</property>
  87. </packing>
  88. </child>
  89. </object>
  90. <packing>
  91. <property name="name">page1</property>
  92. <property name="title" translatable="yes">page1</property>
  93. </packing>
  94. </child>
  95. <child>
  96. <object class="GtkFrame" id="select-frame">
  97. <property name="visible">True</property>
  98. <property name="can_focus">False</property>
  99. <property name="halign">center</property>
  100. <property name="valign">start</property>
  101. <property name="margin_left">50</property>
  102. <property name="margin_right">50</property>
  103. <property name="margin_top">22</property>
  104. <property name="margin_bottom">22</property>
  105. <property name="hexpand">False</property>
  106. <property name="label_xalign">0</property>
  107. <property name="shadow_type">in</property>
  108. <child>
  109. <object class="GtkAlignment">
  110. <property name="visible">True</property>
  111. <property name="can_focus">False</property>
  112. <child>
  113. <object class="GtkListBox" id="select-list">
  114. <property name="width_request">442</property>
  115. <property name="visible">True</property>
  116. <property name="can_focus">False</property>
  117. <property name="selection_mode">none</property>
  118. <signal name="row-activated" handler="on_select_list_row_activated" swapped="no"/>
  119. </object>
  120. </child>
  121. </object>
  122. </child>
  123. <child type="label_item">
  124. <placeholder/>
  125. </child>
  126. </object>
  127. <packing>
  128. <property name="name">page0</property>
  129. <property name="title" translatable="yes">page0</property>
  130. <property name="position">1</property>
  131. </packing>
  132. </child>
  133. </object>
  134. <packing>
  135. <property name="expand">False</property>
  136. <property name="fill">True</property>
  137. <property name="position">0</property>
  138. </packing>
  139. </child>
  140. </object>
  141. </child>
  142. </object>
  143. </child>
  144. </object>
  145. <packing>
  146. <property name="name">page0</property>
  147. <property name="title" translatable="yes">page0</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkScrolledWindow" id="sink">
  152. <property name="visible">True</property>
  153. <property name="can_focus">True</property>
  154. <property name="hscrollbar_policy">never</property>
  155. <property name="min_content_height">300</property>
  156. <property name="propagate_natural_width">True</property>
  157. <child>
  158. <object class="GtkViewport">
  159. <property name="visible">True</property>
  160. <property name="can_focus">False</property>
  161. <child>
  162. <object class="GtkBox">
  163. <property name="visible">True</property>
  164. <property name="can_focus">False</property>
  165. <property name="orientation">vertical</property>
  166. <child>
  167. <object class="GtkFrame">
  168. <property name="visible">True</property>
  169. <property name="can_focus">False</property>
  170. <property name="halign">center</property>
  171. <property name="margin_left">50</property>
  172. <property name="margin_right">50</property>
  173. <property name="margin_top">30</property>
  174. <property name="margin_bottom">22</property>
  175. <property name="hexpand">False</property>
  176. <property name="label_xalign">0</property>
  177. <property name="shadow_type">none</property>
  178. <child>
  179. <object class="GtkAlignment">
  180. <property name="visible">True</property>
  181. <property name="can_focus">False</property>
  182. <child>
  183. <object class="GtkGrid">
  184. <property name="visible">True</property>
  185. <property name="can_focus">False</property>
  186. <property name="row_spacing">6</property>
  187. <property name="column_spacing">12</property>
  188. <child>
  189. <object class="GtkLabel">
  190. <property name="visible">True</property>
  191. <property name="can_focus">False</property>
  192. <property name="label" translatable="yes">Voltage</property>
  193. <property name="justify">right</property>
  194. <style>
  195. <class name="dim-label"/>
  196. </style>
  197. </object>
  198. <packing>
  199. <property name="left_attach">0</property>
  200. <property name="top_attach">0</property>
  201. </packing>
  202. </child>
  203. <child>
  204. <object class="GtkLabel">
  205. <property name="visible">True</property>
  206. <property name="can_focus">False</property>
  207. <property name="label" translatable="yes">Current</property>
  208. <property name="justify">right</property>
  209. <style>
  210. <class name="dim-label"/>
  211. </style>
  212. </object>
  213. <packing>
  214. <property name="left_attach">0</property>
  215. <property name="top_attach">1</property>
  216. </packing>
  217. </child>
  218. <child>
  219. <object class="GtkSpinButton" id="current-spinbutton">
  220. <property name="visible">True</property>
  221. <property name="can_focus">True</property>
  222. <property name="input_purpose">number</property>
  223. <property name="adjustment">current-adjustment</property>
  224. <property name="digits">2</property>
  225. <property name="numeric">True</property>
  226. <signal name="value-changed" handler="on_current_spinbutton_changed" swapped="no"/>
  227. </object>
  228. <packing>
  229. <property name="left_attach">1</property>
  230. <property name="top_attach">1</property>
  231. </packing>
  232. </child>
  233. <child>
  234. <object class="GtkLabel">
  235. <property name="visible">True</property>
  236. <property name="can_focus">False</property>
  237. <property name="label" translatable="yes">A</property>
  238. </object>
  239. <packing>
  240. <property name="left_attach">2</property>
  241. <property name="top_attach">1</property>
  242. </packing>
  243. </child>
  244. <child>
  245. <object class="GtkLabel">
  246. <property name="visible">True</property>
  247. <property name="can_focus">False</property>
  248. <property name="label" translatable="yes">V</property>
  249. </object>
  250. <packing>
  251. <property name="left_attach">2</property>
  252. <property name="top_attach">0</property>
  253. </packing>
  254. </child>
  255. <child>
  256. <object class="GtkComboBoxText" id="voltage-combobox">
  257. <property name="visible">True</property>
  258. <property name="can_focus">False</property>
  259. <items>
  260. <item id="voltage-five" translatable="yes">5</item>
  261. <item id="voltage-nine" translatable="yes">9</item>
  262. <item id="voltage-fifteen" translatable="yes">15</item>
  263. <item id="voltage-twenty" translatable="yes">20</item>
  264. </items>
  265. <signal name="changed" handler="on_voltage_combobox_changed" swapped="no"/>
  266. </object>
  267. <packing>
  268. <property name="left_attach">1</property>
  269. <property name="top_attach">0</property>
  270. </packing>
  271. </child>
  272. </object>
  273. </child>
  274. </object>
  275. </child>
  276. <child type="label_item">
  277. <placeholder/>
  278. </child>
  279. </object>
  280. <packing>
  281. <property name="expand">False</property>
  282. <property name="fill">True</property>
  283. <property name="position">0</property>
  284. </packing>
  285. </child>
  286. </object>
  287. </child>
  288. </object>
  289. </child>
  290. </object>
  291. <packing>
  292. <property name="name">page1</property>
  293. <property name="title" translatable="yes">page1</property>
  294. <property name="position">1</property>
  295. </packing>
  296. </child>
  297. </object>
  298. </child>
  299. <child type="titlebar">
  300. <object class="GtkStack" id="header-stack">
  301. <property name="visible">True</property>
  302. <property name="can_focus">False</property>
  303. <child>
  304. <object class="GtkHeaderBar" id="header-select">
  305. <property name="visible">True</property>
  306. <property name="can_focus">False</property>
  307. <property name="title">Select Device</property>
  308. <property name="show_close_button">True</property>
  309. <child>
  310. <object class="GtkLabel" id="dummy">
  311. <property name="visible">True</property>
  312. <property name="can_focus">False</property>
  313. </object>
  314. <packing>
  315. <property name="pack_type">end</property>
  316. </packing>
  317. </child>
  318. </object>
  319. <packing>
  320. <property name="name">page0</property>
  321. <property name="title" translatable="yes">page0</property>
  322. </packing>
  323. </child>
  324. <child>
  325. <object class="GtkHeaderBar" id="header-sink">
  326. <property name="visible">True</property>
  327. <property name="can_focus">False</property>
  328. <property name="title">PD Buddy Sink</property>
  329. <property name="show_close_button">True</property>
  330. <child>
  331. <object class="GtkButton" id="header-sink-back">
  332. <property name="visible">True</property>
  333. <property name="can_focus">True</property>
  334. <property name="receives_default">True</property>
  335. <property name="image">back-image</property>
  336. <signal name="clicked" handler="on_header_sink_back_clicked" swapped="no"/>
  337. <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
  338. </object>
  339. </child>
  340. <child>
  341. <object class="GtkRevealer" id="header-sink-save-revealer">
  342. <property name="visible">True</property>
  343. <property name="can_focus">False</property>
  344. <property name="transition_type">crossfade</property>
  345. <child>
  346. <object class="GtkButtonBox">
  347. <property name="visible">True</property>
  348. <property name="can_focus">False</property>
  349. <property name="orientation">vertical</property>
  350. <property name="layout_style">start</property>
  351. <child>
  352. <object class="GtkButton" id="header-sink-save">
  353. <property name="label">gtk-save</property>
  354. <property name="visible">True</property>
  355. <property name="can_focus">True</property>
  356. <property name="receives_default">True</property>
  357. <property name="use_stock">True</property>
  358. <signal name="clicked" handler="on_header_sink_save_clicked" swapped="no"/>
  359. <accelerator key="s" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
  360. <style>
  361. <class name="suggested-action"/>
  362. </style>
  363. </object>
  364. <packing>
  365. <property name="expand">True</property>
  366. <property name="fill">True</property>
  367. <property name="position">0</property>
  368. </packing>
  369. </child>
  370. </object>
  371. </child>
  372. </object>
  373. <packing>
  374. <property name="pack_type">end</property>
  375. <property name="position">1</property>
  376. </packing>
  377. </child>
  378. </object>
  379. <packing>
  380. <property name="name">page1</property>
  381. <property name="title" translatable="yes">page1</property>
  382. <property name="position">1</property>
  383. </packing>
  384. </child>
  385. </object>
  386. </child>
  387. </object>
  388. </interface>