databaroptions.ui 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.22.1 -->
  3. <interface domain="sc">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="DataBarOptions">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="databaroptions|DataBarOptions">Data Bar</property>
  9. <property name="modal">True</property>
  10. <property name="default_width">0</property>
  11. <property name="default_height">0</property>
  12. <property name="type_hint">dialog</property>
  13. <child>
  14. <placeholder/>
  15. </child>
  16. <child internal-child="vbox">
  17. <object class="GtkBox" id="dialog-vbox1">
  18. <property name="can_focus">False</property>
  19. <property name="orientation">vertical</property>
  20. <property name="spacing">12</property>
  21. <child internal-child="action_area">
  22. <object class="GtkButtonBox" id="dialog-action_area1">
  23. <property name="can_focus">False</property>
  24. <property name="layout_style">end</property>
  25. <child>
  26. <object class="GtkButton" id="ok">
  27. <property name="label">gtk-ok</property>
  28. <property name="visible">True</property>
  29. <property name="can_focus">True</property>
  30. <property name="can_default">True</property>
  31. <property name="has_default">True</property>
  32. <property name="receives_default">True</property>
  33. <property name="use_stock">True</property>
  34. </object>
  35. <packing>
  36. <property name="expand">False</property>
  37. <property name="fill">True</property>
  38. <property name="position">0</property>
  39. </packing>
  40. </child>
  41. <child>
  42. <object class="GtkButton" id="cancel">
  43. <property name="label">gtk-cancel</property>
  44. <property name="visible">True</property>
  45. <property name="can_focus">True</property>
  46. <property name="receives_default">True</property>
  47. <property name="use_stock">True</property>
  48. </object>
  49. <packing>
  50. <property name="expand">False</property>
  51. <property name="fill">True</property>
  52. <property name="position">1</property>
  53. </packing>
  54. </child>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="pack_type">end</property>
  60. <property name="position">0</property>
  61. </packing>
  62. </child>
  63. <child>
  64. <object class="GtkBox" id="box1">
  65. <property name="visible">True</property>
  66. <property name="can_focus">False</property>
  67. <property name="orientation">vertical</property>
  68. <property name="spacing">12</property>
  69. <child>
  70. <object class="GtkFrame" id="frame1">
  71. <property name="visible">True</property>
  72. <property name="can_focus">False</property>
  73. <property name="label_xalign">0</property>
  74. <property name="shadow_type">none</property>
  75. <child>
  76. <object class="GtkAlignment" id="alignment1">
  77. <property name="visible">True</property>
  78. <property name="can_focus">False</property>
  79. <property name="top_padding">6</property>
  80. <property name="left_padding">12</property>
  81. <child>
  82. <!-- n-columns=1 n-rows=1 -->
  83. <object class="GtkGrid" id="grid1">
  84. <property name="visible">True</property>
  85. <property name="can_focus">False</property>
  86. <property name="hexpand">True</property>
  87. <property name="vexpand">True</property>
  88. <property name="row_spacing">6</property>
  89. <property name="column_spacing">6</property>
  90. <child>
  91. <object class="GtkLabel" id="label4">
  92. <property name="visible">True</property>
  93. <property name="can_focus">False</property>
  94. <property name="halign">end</property>
  95. <property name="label" translatable="yes" context="databaroptions|label4">Minimum:</property>
  96. <property name="use_underline">True</property>
  97. <property name="mnemonic_widget">min</property>
  98. </object>
  99. <packing>
  100. <property name="left_attach">0</property>
  101. <property name="top_attach">0</property>
  102. </packing>
  103. </child>
  104. <child>
  105. <object class="GtkLabel" id="label5">
  106. <property name="visible">True</property>
  107. <property name="can_focus">False</property>
  108. <property name="halign">end</property>
  109. <property name="label" translatable="yes" context="databaroptions|label5">Maximum:</property>
  110. <property name="use_underline">True</property>
  111. <property name="mnemonic_widget">max</property>
  112. </object>
  113. <packing>
  114. <property name="left_attach">0</property>
  115. <property name="top_attach">1</property>
  116. </packing>
  117. </child>
  118. <child>
  119. <object class="GtkComboBoxText" id="min">
  120. <property name="visible">True</property>
  121. <property name="can_focus">False</property>
  122. <property name="hexpand">True</property>
  123. <items>
  124. <item translatable="yes" context="databaroptions|min">Automatic</item>
  125. <item translatable="yes" context="databaroptions|min">Minimum</item>
  126. <item translatable="yes" context="databaroptions|min">Maximum</item>
  127. <item translatable="yes" context="databaroptions|min">Percentile</item>
  128. <item translatable="yes" context="databaroptions|min">Value</item>
  129. <item translatable="yes" context="databaroptions|min">Percent</item>
  130. <item translatable="yes" context="databaroptions|min">Formula</item>
  131. </items>
  132. </object>
  133. <packing>
  134. <property name="left_attach">1</property>
  135. <property name="top_attach">0</property>
  136. </packing>
  137. </child>
  138. <child>
  139. <object class="GtkComboBoxText" id="max">
  140. <property name="visible">True</property>
  141. <property name="can_focus">False</property>
  142. <property name="hexpand">True</property>
  143. <items>
  144. <item translatable="yes" context="databaroptions|max">Automatic</item>
  145. <item translatable="yes" context="databaroptions|max">Minimum</item>
  146. <item translatable="yes" context="databaroptions|max">Maximum</item>
  147. <item translatable="yes" context="databaroptions|max">Percentile</item>
  148. <item translatable="yes" context="databaroptions|max">Value</item>
  149. <item translatable="yes" context="databaroptions|max">Percent</item>
  150. <item translatable="yes" context="databaroptions|max">Formula</item>
  151. </items>
  152. </object>
  153. <packing>
  154. <property name="left_attach">1</property>
  155. <property name="top_attach">1</property>
  156. </packing>
  157. </child>
  158. <child>
  159. <object class="GtkEntry" id="min_value">
  160. <property name="visible">True</property>
  161. <property name="can_focus">True</property>
  162. <property name="truncate-multiline">True</property>
  163. <property name="activates_default">True</property>
  164. </object>
  165. <packing>
  166. <property name="left_attach">2</property>
  167. <property name="top_attach">0</property>
  168. </packing>
  169. </child>
  170. <child>
  171. <object class="GtkEntry" id="max_value">
  172. <property name="visible">True</property>
  173. <property name="can_focus">True</property>
  174. <property name="truncate-multiline">True</property>
  175. <property name="activates_default">True</property>
  176. </object>
  177. <packing>
  178. <property name="left_attach">2</property>
  179. <property name="top_attach">1</property>
  180. </packing>
  181. </child>
  182. </object>
  183. </child>
  184. </object>
  185. </child>
  186. <child type="label">
  187. <object class="GtkLabel" id="label1">
  188. <property name="visible">True</property>
  189. <property name="can_focus">False</property>
  190. <property name="label" translatable="yes" context="databaroptions|label1">Entry Values</property>
  191. <attributes>
  192. <attribute name="weight" value="bold"/>
  193. </attributes>
  194. </object>
  195. </child>
  196. </object>
  197. <packing>
  198. <property name="expand">False</property>
  199. <property name="fill">True</property>
  200. <property name="position">0</property>
  201. </packing>
  202. </child>
  203. <child>
  204. <object class="GtkFrame" id="frame2">
  205. <property name="visible">True</property>
  206. <property name="can_focus">False</property>
  207. <property name="label_xalign">0</property>
  208. <property name="shadow_type">none</property>
  209. <child>
  210. <object class="GtkAlignment" id="alignment2">
  211. <property name="visible">True</property>
  212. <property name="can_focus">False</property>
  213. <property name="top_padding">6</property>
  214. <property name="left_padding">12</property>
  215. <child>
  216. <!-- n-columns=1 n-rows=1 -->
  217. <object class="GtkGrid" id="grid2">
  218. <property name="visible">True</property>
  219. <property name="can_focus">False</property>
  220. <property name="hexpand">True</property>
  221. <property name="vexpand">True</property>
  222. <property name="row_spacing">6</property>
  223. <property name="column_spacing">6</property>
  224. <child>
  225. <object class="GtkLabel" id="label6">
  226. <property name="visible">True</property>
  227. <property name="can_focus">False</property>
  228. <property name="halign">end</property>
  229. <property name="label" translatable="yes" context="databaroptions|label6">Positive:</property>
  230. <property name="use_underline">True</property>
  231. <property name="mnemonic_widget">positive_colour</property>
  232. </object>
  233. <packing>
  234. <property name="left_attach">0</property>
  235. <property name="top_attach">0</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <object class="GtkLabel" id="label7">
  240. <property name="visible">True</property>
  241. <property name="can_focus">False</property>
  242. <property name="halign">end</property>
  243. <property name="label" translatable="yes" context="databaroptions|label7">Negative:</property>
  244. <property name="use_underline">True</property>
  245. <property name="mnemonic_widget">negative_colour</property>
  246. </object>
  247. <packing>
  248. <property name="left_attach">0</property>
  249. <property name="top_attach">1</property>
  250. </packing>
  251. </child>
  252. <child>
  253. <object class="GtkMenuButton" id="positive_colour">
  254. <property name="visible">True</property>
  255. <property name="can_focus">False</property>
  256. <property name="hexpand">True</property>
  257. <property name="xalign">0</property>
  258. <property name="draw_indicator">True</property>
  259. <property name="label" translatable="no"></property>
  260. </object>
  261. <packing>
  262. <property name="left_attach">1</property>
  263. <property name="top_attach">0</property>
  264. </packing>
  265. </child>
  266. <child>
  267. <object class="GtkMenuButton" id="negative_colour">
  268. <property name="visible">True</property>
  269. <property name="can_focus">False</property>
  270. <property name="hexpand">True</property>
  271. <property name="xalign">0</property>
  272. <property name="draw_indicator">True</property>
  273. <property name="label" translatable="no"></property>
  274. </object>
  275. <packing>
  276. <property name="left_attach">1</property>
  277. <property name="top_attach">1</property>
  278. </packing>
  279. </child>
  280. <child>
  281. <object class="GtkLabel" id="label10">
  282. <property name="visible">True</property>
  283. <property name="can_focus">False</property>
  284. <property name="halign">end</property>
  285. <property name="label" translatable="yes" context="databaroptions|label10">Fill:</property>
  286. <property name="use_underline">True</property>
  287. <property name="mnemonic_widget">fill_type</property>
  288. </object>
  289. <packing>
  290. <property name="left_attach">0</property>
  291. <property name="top_attach">2</property>
  292. </packing>
  293. </child>
  294. <child>
  295. <object class="GtkComboBoxText" id="fill_type">
  296. <property name="visible">True</property>
  297. <property name="can_focus">False</property>
  298. <items>
  299. <item translatable="yes" context="databaroptions|fill_type">Color</item>
  300. <item translatable="yes" context="databaroptions|fill_type">Gradient</item>
  301. </items>
  302. </object>
  303. <packing>
  304. <property name="left_attach">1</property>
  305. <property name="top_attach">2</property>
  306. </packing>
  307. </child>
  308. </object>
  309. </child>
  310. </object>
  311. </child>
  312. <child type="label">
  313. <object class="GtkLabel" id="label2">
  314. <property name="visible">True</property>
  315. <property name="can_focus">False</property>
  316. <property name="label" translatable="yes" context="databaroptions|label2">Bar Colors</property>
  317. <attributes>
  318. <attribute name="weight" value="bold"/>
  319. </attributes>
  320. </object>
  321. </child>
  322. </object>
  323. <packing>
  324. <property name="expand">False</property>
  325. <property name="fill">True</property>
  326. <property name="position">1</property>
  327. </packing>
  328. </child>
  329. <child>
  330. <object class="GtkFrame" id="frame3">
  331. <property name="visible">True</property>
  332. <property name="can_focus">False</property>
  333. <property name="label_xalign">0</property>
  334. <property name="shadow_type">none</property>
  335. <child>
  336. <object class="GtkAlignment" id="alignment3">
  337. <property name="visible">True</property>
  338. <property name="can_focus">False</property>
  339. <property name="top_padding">6</property>
  340. <property name="left_padding">12</property>
  341. <child>
  342. <!-- n-columns=1 n-rows=1 -->
  343. <object class="GtkGrid" id="grid4">
  344. <property name="visible">True</property>
  345. <property name="can_focus">False</property>
  346. <property name="hexpand">True</property>
  347. <property name="vexpand">True</property>
  348. <property name="row_spacing">6</property>
  349. <property name="column_spacing">6</property>
  350. <child>
  351. <object class="GtkLabel" id="label8">
  352. <property name="visible">True</property>
  353. <property name="can_focus">False</property>
  354. <property name="halign">end</property>
  355. <property name="label" translatable="yes" context="databaroptions|label8">Position of vertical axis:</property>
  356. <property name="use_underline">True</property>
  357. <property name="mnemonic_widget">axis_pos</property>
  358. </object>
  359. <packing>
  360. <property name="left_attach">0</property>
  361. <property name="top_attach">0</property>
  362. </packing>
  363. </child>
  364. <child>
  365. <object class="GtkLabel" id="label9">
  366. <property name="visible">True</property>
  367. <property name="can_focus">False</property>
  368. <property name="halign">end</property>
  369. <property name="label" translatable="yes" context="databaroptions|label9">Color of vertical axis:</property>
  370. <property name="use_underline">True</property>
  371. <property name="mnemonic_widget">axis_colour</property>
  372. </object>
  373. <packing>
  374. <property name="left_attach">0</property>
  375. <property name="top_attach">1</property>
  376. </packing>
  377. </child>
  378. <child>
  379. <object class="GtkComboBoxText" id="axis_pos">
  380. <property name="visible">True</property>
  381. <property name="can_focus">False</property>
  382. <property name="hexpand">True</property>
  383. <items>
  384. <item translatable="yes" context="databaroptions|axis_pos">Automatic</item>
  385. <item translatable="yes" context="databaroptions|axis_pos">Middle</item>
  386. <item translatable="yes" context="databaroptions|axis_pos">None</item>
  387. </items>
  388. </object>
  389. <packing>
  390. <property name="left_attach">1</property>
  391. <property name="top_attach">0</property>
  392. </packing>
  393. </child>
  394. <child>
  395. <object class="GtkMenuButton" id="axis_colour">
  396. <property name="visible">True</property>
  397. <property name="can_focus">False</property>
  398. <property name="hexpand">True</property>
  399. <property name="xalign">0</property>
  400. <property name="draw_indicator">True</property>
  401. <property name="label" translatable="no"></property>
  402. </object>
  403. <packing>
  404. <property name="left_attach">1</property>
  405. <property name="top_attach">1</property>
  406. </packing>
  407. </child>
  408. </object>
  409. </child>
  410. </object>
  411. </child>
  412. <child type="label">
  413. <object class="GtkLabel" id="label3">
  414. <property name="visible">True</property>
  415. <property name="can_focus">False</property>
  416. <property name="label" translatable="yes" context="databaroptions|label3">Axis</property>
  417. <attributes>
  418. <attribute name="weight" value="bold"/>
  419. </attributes>
  420. </object>
  421. </child>
  422. </object>
  423. <packing>
  424. <property name="expand">False</property>
  425. <property name="fill">True</property>
  426. <property name="position">2</property>
  427. </packing>
  428. </child>
  429. <child>
  430. <object class="GtkFrame" id="frame4">
  431. <property name="visible">True</property>
  432. <property name="can_focus">False</property>
  433. <property name="label_xalign">0</property>
  434. <property name="shadow_type">none</property>
  435. <child>
  436. <object class="GtkAlignment" id="alignment4">
  437. <property name="visible">True</property>
  438. <property name="can_focus">False</property>
  439. <property name="top_padding">6</property>
  440. <property name="left_padding">12</property>
  441. <child>
  442. <!-- n-columns=1 n-rows=1 -->
  443. <object class="GtkGrid" id="grid3">
  444. <property name="visible">True</property>
  445. <property name="can_focus">False</property>
  446. <property name="hexpand">True</property>
  447. <property name="vexpand">True</property>
  448. <property name="row_spacing">6</property>
  449. <property name="column_spacing">6</property>
  450. <child>
  451. <object class="GtkLabel" id="label12">
  452. <property name="visible">True</property>
  453. <property name="can_focus">False</property>
  454. <property name="halign">end</property>
  455. <property name="label" translatable="yes" context="databaroptions|label12">Minimum bar length (%):</property>
  456. <property name="use_underline">True</property>
  457. <property name="mnemonic_widget">min_length</property>
  458. </object>
  459. <packing>
  460. <property name="left_attach">0</property>
  461. <property name="top_attach">0</property>
  462. </packing>
  463. </child>
  464. <child>
  465. <object class="GtkLabel" id="label13">
  466. <property name="visible">True</property>
  467. <property name="can_focus">False</property>
  468. <property name="halign">end</property>
  469. <property name="label" translatable="yes" context="databaroptions|label13">Maximum bar length (%):</property>
  470. <property name="use_underline">True</property>
  471. <property name="mnemonic_widget">max_length</property>
  472. </object>
  473. <packing>
  474. <property name="left_attach">0</property>
  475. <property name="top_attach">1</property>
  476. </packing>
  477. </child>
  478. <child>
  479. <object class="GtkEntry" id="min_length">
  480. <property name="visible">True</property>
  481. <property name="can_focus">True</property>
  482. <property name="truncate-multiline">True</property>
  483. <property name="activates_default">True</property>
  484. </object>
  485. <packing>
  486. <property name="left_attach">1</property>
  487. <property name="top_attach">0</property>
  488. </packing>
  489. </child>
  490. <child>
  491. <object class="GtkEntry" id="max_length">
  492. <property name="visible">True</property>
  493. <property name="can_focus">True</property>
  494. <property name="truncate-multiline">True</property>
  495. <property name="activates_default">True</property>
  496. </object>
  497. <packing>
  498. <property name="left_attach">1</property>
  499. <property name="top_attach">1</property>
  500. </packing>
  501. </child>
  502. </object>
  503. </child>
  504. </object>
  505. </child>
  506. <child type="label">
  507. <object class="GtkLabel" id="label11">
  508. <property name="visible">True</property>
  509. <property name="can_focus">False</property>
  510. <property name="label" translatable="yes" context="databaroptions|label11">Bar Lengths</property>
  511. <attributes>
  512. <attribute name="weight" value="bold"/>
  513. </attributes>
  514. </object>
  515. </child>
  516. </object>
  517. <packing>
  518. <property name="expand">False</property>
  519. <property name="fill">True</property>
  520. <property name="position">3</property>
  521. </packing>
  522. </child>
  523. <child>
  524. <object class="GtkCheckButton" id="only_bar">
  525. <property name="label" translatable="yes" context="databaroptions|only_bar">Display bar only</property>
  526. <property name="visible">True</property>
  527. <property name="can_focus">True</property>
  528. <property name="receives_default">False</property>
  529. <property name="use_underline">True</property>
  530. <property name="xalign">0</property>
  531. <property name="draw_indicator">True</property>
  532. </object>
  533. <packing>
  534. <property name="expand">False</property>
  535. <property name="fill">True</property>
  536. <property name="position">4</property>
  537. </packing>
  538. </child>
  539. <child>
  540. <object class="GtkLabel" id="str_same_value">
  541. <property name="can_focus">False</property>
  542. <property name="label" translatable="yes" context="databaroptions|str_same_value">The minimum value must be less than the maximum value.</property>
  543. <property name="xalign">0</property>
  544. </object>
  545. <packing>
  546. <property name="expand">False</property>
  547. <property name="fill">True</property>
  548. <property name="position">5</property>
  549. </packing>
  550. </child>
  551. </object>
  552. <packing>
  553. <property name="expand">False</property>
  554. <property name="fill">True</property>
  555. <property name="position">1</property>
  556. </packing>
  557. </child>
  558. </object>
  559. </child>
  560. <action-widgets>
  561. <action-widget response="-5">ok</action-widget>
  562. <action-widget response="-6">cancel</action-widget>
  563. </action-widgets>
  564. </object>
  565. <object class="GtkSizeGroup" id="sizegroup1">
  566. <widgets>
  567. <widget name="label4"/>
  568. <widget name="label5"/>
  569. <widget name="label6"/>
  570. <widget name="label7"/>
  571. </widgets>
  572. </object>
  573. </interface>