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.

interface.ui-skeleton 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <?xml version="1.0"?>
  2. <interface>
  3. <object class="GtkAdjustment" id="adjustment1">
  4. <property name="upper">100</property>
  5. <property name="lower">0</property>
  6. <property name="page_increment">10</property>
  7. <property name="step_increment">1</property>
  8. <property name="page_size">0</property>
  9. <property name="value">18</property>
  10. </object>
  11. <object class="GtkAdjustment" id="adjustment2">
  12. <property name="upper">100</property>
  13. <property name="lower">0</property>
  14. <property name="page_increment">10</property>
  15. <property name="step_increment">1</property>
  16. <property name="page_size">0</property>
  17. <property name="value">0</property>
  18. </object>
  19. <object class="GtkAdjustment" id="adjustment3">
  20. <property name="upper">@@MaxChannel@@</property>
  21. <property name="lower">@@MinChannel@@</property>
  22. <property name="page_increment">10</property>
  23. <property name="step_increment">1</property>
  24. <property name="page_size">0</property>
  25. <property name="value">@@MaxChannel@@</property>
  26. </object>
  27. <object class="GtkListStore" id="model1">
  28. <columns>
  29. <column type="gchararray"/>
  30. </columns>
  31. <data>
  32. <row>
  33. <col id="0" translatable="yes">unspecified</col>
  34. </row>
  35. <row>
  36. <col id="0" translatable="yes">female</col>
  37. </row>
  38. <row>
  39. <col id="0" translatable="yes">male</col>
  40. </row>
  41. <row>
  42. <col id="0" translatable="yes">unknown</col>
  43. </row>
  44. </data>
  45. </object>
  46. <object class="GtkListStore" id="model2">
  47. <columns>
  48. <column type="gchararray"/>
  49. </columns>
  50. <data>
  51. <row>
  52. <col id="0" translatable="yes">@@SamplingFrequencyList@@</col>
  53. </row>
  54. </data>
  55. </object>
  56. <!-- interface-requires gtk+ 2.6 -->
  57. <!-- interface-naming-policy toplevel-contextual -->
  58. <object class="GtkDialog" id="openvibe-acquisition-server-settings">
  59. <property name="border_width">5</property>
  60. <property name="title" translatable="yes">Device configuration</property>
  61. <property name="window_position">center</property>
  62. <property name="type_hint">dialog</property>
  63. <property name="gravity">center</property>
  64. <property name="has_separator">False</property>
  65. <child internal-child="vbox">
  66. <object class="GtkVBox" id="dialog-vbox">
  67. <property name="visible">True</property>
  68. <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
  69. <property name="spacing">8</property>
  70. <child>
  71. <object class="GtkLabel" id="label_title">
  72. <property name="visible">True</property>
  73. <property name="label" translatable="yes">@@DriverName@@</property>
  74. <property name="justify">center</property>
  75. </object>
  76. <packing>
  77. <property name="position">1</property>
  78. </packing>
  79. </child>
  80. <child>
  81. <object class="GtkHSeparator" id="hseparator">
  82. <property name="visible">True</property>
  83. </object>
  84. <packing>
  85. <property name="expand">False</property>
  86. <property name="position">2</property>
  87. </packing>
  88. </child>
  89. <child>
  90. <object class="GtkVBox" id="vbox">
  91. <property name="visible">True</property>
  92. <property name="border_width">8</property>
  93. <property name="spacing">8</property>
  94. <child>
  95. <object class="GtkHBox" id="hbox">
  96. <property name="visible">True</property>
  97. <property name="spacing">8</property>
  98. <child>
  99. <object class="GtkTable" id="table2">
  100. <property name="visible">True</property>
  101. <property name="n_rows">5</property>
  102. <property name="n_columns">2</property>
  103. <property name="homogeneous">True</property>
  104. <child>
  105. <object class="GtkComboBox" id="combobox_gender">
  106. <property name="visible">True</property>
  107. <property name="model">model1</property>
  108. <child>
  109. <object class="GtkCellRendererText" id="renderer1"/>
  110. <attributes>
  111. <attribute name="text">0</attribute>
  112. </attributes>
  113. </child>
  114. </object>
  115. <packing>
  116. <property name="left_attach">1</property>
  117. <property name="right_attach">2</property>
  118. <property name="top_attach">2</property>
  119. <property name="bottom_attach">3</property>
  120. </packing>
  121. </child>
  122. <child>
  123. <object class="GtkSpinButton" id="spinbutton_age">
  124. <property name="visible">True</property>
  125. <property name="can_focus">True</property>
  126. <property name="adjustment">adjustment1</property>
  127. <property name="snap_to_ticks">True</property>
  128. <property name="numeric">True</property>
  129. </object>
  130. <packing>
  131. <property name="left_attach">1</property>
  132. <property name="right_attach">2</property>
  133. <property name="top_attach">1</property>
  134. <property name="bottom_attach">2</property>
  135. </packing>
  136. </child>
  137. <child>
  138. <object class="GtkSpinButton" id="spinbutton_identifier">
  139. <property name="visible">True</property>
  140. <property name="can_focus">True</property>
  141. <property name="adjustment">adjustment2</property>
  142. <property name="snap_to_ticks">True</property>
  143. <property name="numeric">True</property>
  144. </object>
  145. <packing>
  146. <property name="left_attach">1</property>
  147. <property name="right_attach">2</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkLabel" id="label_sampling_frequency">
  152. <property name="visible">True</property>
  153. <property name="label" translatable="yes">Sampling frequency :</property>
  154. <property name="justify">right</property>
  155. <property name="single_line_mode">True</property>
  156. </object>
  157. <packing>
  158. <property name="top_attach">4</property>
  159. <property name="bottom_attach">5</property>
  160. </packing>
  161. </child>
  162. <child>
  163. <object class="GtkLabel" id="label_number_of_channels">
  164. <property name="visible">True</property>
  165. <property name="label" translatable="yes">Number of channels :</property>
  166. <property name="justify">right</property>
  167. <property name="single_line_mode">True</property>
  168. </object>
  169. <packing>
  170. <property name="top_attach">3</property>
  171. <property name="bottom_attach">4</property>
  172. </packing>
  173. </child>
  174. <child>
  175. <object class="GtkLabel" id="label_gender">
  176. <property name="visible">True</property>
  177. <property name="label" translatable="yes">Gender :</property>
  178. <property name="justify">right</property>
  179. <property name="single_line_mode">True</property>
  180. </object>
  181. <packing>
  182. <property name="top_attach">2</property>
  183. <property name="bottom_attach">3</property>
  184. </packing>
  185. </child>
  186. <child>
  187. <object class="GtkLabel" id="label_age">
  188. <property name="visible">True</property>
  189. <property name="label" translatable="yes">Age :</property>
  190. <property name="justify">right</property>
  191. <property name="single_line_mode">True</property>
  192. </object>
  193. <packing>
  194. <property name="top_attach">1</property>
  195. <property name="bottom_attach">2</property>
  196. </packing>
  197. </child>
  198. <child>
  199. <object class="GtkLabel" id="label_identifier">
  200. <property name="visible">True</property>
  201. <property name="label" translatable="yes">Identifier :</property>
  202. <property name="justify">right</property>
  203. <property name="single_line_mode">True</property>
  204. </object>
  205. </child>
  206. <child>
  207. <object class="GtkComboBox" id="combobox_sampling_frequency">
  208. <property name="visible">True</property>
  209. <property name="active">0</property>
  210. <property name="model">model2</property>
  211. <child>
  212. <object class="GtkCellRendererText" id="renderer2"/>
  213. <attributes>
  214. <attribute name="text">0</attribute>
  215. </attributes>
  216. </child>
  217. </object>
  218. <packing>
  219. <property name="left_attach">1</property>
  220. <property name="right_attach">2</property>
  221. <property name="top_attach">4</property>
  222. <property name="bottom_attach">5</property>
  223. </packing>
  224. </child>
  225. <child>
  226. <object class="GtkSpinButton" id="spinbutton_number_of_channels">
  227. <property name="visible">True</property>
  228. <property name="can_focus">True</property>
  229. <property name="adjustment">adjustment3</property>
  230. <property name="snap_to_ticks">True</property>
  231. <property name="numeric">True</property>
  232. </object>
  233. <packing>
  234. <property name="left_attach">1</property>
  235. <property name="right_attach">2</property>
  236. <property name="top_attach">3</property>
  237. <property name="bottom_attach">4</property>
  238. </packing>
  239. </child>
  240. </object>
  241. <packing>
  242. <property name="position">0</property>
  243. </packing>
  244. </child>
  245. </object>
  246. <packing>
  247. <property name="position">0</property>
  248. </packing>
  249. </child>
  250. <child>
  251. <object class="GtkButton" id="button_change_channel_names">
  252. <property name="label" translatable="yes">Change channel names</property>
  253. <property name="visible">True</property>
  254. <property name="can_focus">False</property>
  255. <property name="receives_default">False</property>
  256. </object>
  257. <packing>
  258. <property name="expand">False</property>
  259. <property name="position">1</property>
  260. </packing>
  261. </child>
  262. </object>
  263. <packing>
  264. <property name="position">3</property>
  265. </packing>
  266. </child>
  267. <child>
  268. <object class="GtkHSeparator" id="hseparator1">
  269. <property name="visible">True</property>
  270. </object>
  271. <packing>
  272. <property name="expand">False</property>
  273. <property name="position">4</property>
  274. </packing>
  275. </child>
  276. <child internal-child="action_area">
  277. <object class="GtkHButtonBox" id="dialog-action_area">
  278. <property name="visible">True</property>
  279. <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
  280. <property name="layout_style">end</property>
  281. <child>
  282. <object class="GtkButton" id="button_apply">
  283. <property name="label">gtk-apply</property>
  284. <property name="visible">True</property>
  285. <property name="can_focus">False</property>
  286. <property name="receives_default">False</property>
  287. <property name="use_stock">True</property>
  288. </object>
  289. <packing>
  290. <property name="expand">False</property>
  291. <property name="fill">False</property>
  292. <property name="position">0</property>
  293. </packing>
  294. </child>
  295. <child>
  296. <object class="GtkButton" id="button_cancel">
  297. <property name="label">gtk-cancel</property>
  298. <property name="visible">True</property>
  299. <property name="can_focus">False</property>
  300. <property name="receives_default">False</property>
  301. <property name="use_stock">True</property>
  302. </object>
  303. <packing>
  304. <property name="expand">False</property>
  305. <property name="fill">False</property>
  306. <property name="position">1</property>
  307. </packing>
  308. </child>
  309. </object>
  310. <packing>
  311. <property name="expand">False</property>
  312. <property name="pack_type">end</property>
  313. <property name="position">0</property>
  314. </packing>
  315. </child>
  316. </object>
  317. </child>
  318. <action-widgets>
  319. <action-widget response="-10">button_apply</action-widget>
  320. <action-widget response="-6">button_cancel</action-widget>
  321. </action-widgets>
  322. </object>
  323. </interface>