项目

一般

简介

功能改进 #47 » curve.xml

王 绪伦, 2024-04-15 16:00

 
1
<dialog version="2" >
2
  <layout>
3
  	<HLayout>
4
  		<VLayout>
5
  			<HLayout>
6
  				<Button name="show_all.btn" text="全部显示" />
7
  				<Button name="hide_all.btn" text="全部隐藏" />
8
  				<Button name="save_pic.btn" text="保存图片" />
9
  				<Button name="export_csv.btn" text="导出数据" />
10
  				<Button name="setting.btn" text="设置选项" />
11
  			</HLayout>
12
		 		<Curve name="data.curve" />
13
  		</VLayout>
14
		  <Tab name="setting.panel" title="设置">
15
		  		<Child title="坐标轴设置">
16
		  			<VLayout>
17
			  			<FLayout>
18
			  				<Edit label="最小X值" name="min_x.edit" />
19
			  				<Edit label="最大X值" name="max_x.edit" />
20
			  				<Edit label="最小Y值" name="min_y.edit" />
21
			  				<Edit label="最大Y值" name="max_y.edit" />
22
			  			</FLayout>
23
			  			<space/>
24
		  			</VLayout>
25
		  		</Child>
26
		  		<Child title="图例设置">
27
		  			<VLayout>
28
			  			<FLayout>
29
			  				<Check label="显示图例" name="show_legend.check" />
30
			  				<Combo label="图例位置" name="legend_pos.combo" />
31
			  				<Check label="显示子项" name="show_legend_sub.check" />
32
			  				<Combo label="子项位置" name="legend_sub_pos.combo" />
33
				  			<Combo label="子项列数" name="legend_col.combo" />
34
				  			<Combo label="水平对齐" name="legend_h.combo" />
35
				  			<Combo label="垂直对齐" name="legend_v.combo" />
36
		  					<Combo label="字体大小" name="legend_font_size.combo" />
37
			  			</FLayout>
38
			  			<space/>
39
		  			</VLayout>
40
		  		</Child>
41
		  		<Child title="曲线设置">
42
		  			<VLayout>
43
			  			<FLayout>
44
			  				<Combo label="当前曲线" name="curve.combo" />
45
			  				<Edit label="曲线标题" name="curve_title.edit" />
46
			  				<Combo label="曲线颜色" name="curve_color.combo" />
47
			  				<Combo label="线条样式" name="curve_line.combo" />
48
			  				<Combo label="标记样式" name="curve_marker.combo" />
49
			  			</FLayout>
50
			  			<space/>
51
			  		</VLayout>
52
	  		</Child>
53
		  </Tab>
54
  	</HLayout>
55
  </layout>
56
</dialog>
    (1-1/1)