]> git.tdb.fi Git - r2c2.git/blob - data/traindialog.ui
Remove a queued block reservation if the block is released
[r2c2.git] / data / traindialog.ui
1 layout
2 {
3         margin
4         {
5                 top 2;
6                 horizontal 8;
7                 bottom 6;
8         };
9 };
10
11 column
12 {
13         row
14         {
15                 label "lbl_title";
16
17                 split;
18
19                 button "btn_expand"
20                 {
21                         style "arrow_down";
22                 };
23
24                 action_button "btn_close" 0
25                 {
26                         style "red_cross";
27                 };
28         };
29
30         row
31         {
32                 label "lbl_speed"
33                 {
34                         style "digital";
35                         text "  0";
36                 };
37
38                 hslider "sld_speed"
39                 {
40                         range 0 200;
41                         step 5;
42                 };
43                 expand;
44
45                 toggle "tgl_forward"
46                 {
47                         style "lever";
48                         text "Fwd";
49                         value true;
50                 };
51         };
52
53         panel "pnl_expander"
54         {
55                 layout
56                 {
57                         margin
58                         {
59                                 horizontal 0;
60                                 vertical 0;
61                         };
62                         row_spacing 0;
63                 };
64
65                 style "group";
66                 visible false;
67                 row
68                 {
69                         column
70                         {
71                                 toggle "tgl_vehicles"
72                                 {
73                                         text "Vehs";
74                                         style "pointer_left";
75                                         exclusive true;
76                                         value true;
77                                 };
78
79                                 toggle "tgl_control"
80                                 {
81                                         text "Ctrl";
82                                         style "pointer_left";
83                                         exclusive true;
84                                 };
85
86                                 toggle "tgl_router"
87                                 {
88                                         text "Rte";
89                                         style "pointer_left";
90                                         exclusive true;
91                                 };
92
93                                 toggle "tgl_timetable"
94                                 {
95                                         text "Ttbl";
96                                         style "pointer_left";
97                                         exclusive true;
98                                 };
99                         };
100
101                         label "lbl_detail_placeholder"
102                         {
103                                 visible false;
104                         };
105                         expand;
106                 };
107         };
108
109         label "lbl_status"
110         {
111                 style "digital";
112         };
113         constraint FAR_BELOW "lbl_speed";
114 };
115
116 draghandle "";
117 expand true false;
118 constraint COPY_HEIGHT "lbl_title";
119 constraint LEFT_OF "btn_expand";