]> git.tdb.fi Git - r2c2.git/blob - data/mainwindow.ui
Add an abstraction for things that are attached to tracks
[r2c2.git] / data / mainwindow.ui
1 layout
2 {
3         margin
4         {
5                 top 2;
6                 horizontal 8;
7                 bottom 6;
8         };
9 };
10
11 column
12 {
13         stack
14         {
15                 label "lbl_title"
16                 {
17                         text "Railroad Computer Control";
18                 };
19
20                 draghandle "";
21         };
22
23         row
24         {
25                 indicator "ind_off"
26                 {
27                         style "red";
28                 };
29
30                 indicator "ind_on"
31                 {
32                         style "green";
33                 };
34
35                 indicator "ind_halt";
36         };
37
38         row
39         {
40                 button "btn_off"
41                 {
42                         style "red";
43                         text "Off";
44                 };
45                 constraint ALIGN_LEFT "ind_off";
46                 constraint COPY_WIDTH "ind_off";
47
48                 button "btn_on"
49                 {
50                         style "green";
51                         text "On";
52                 };
53                 constraint ALIGN_LEFT "ind_on";
54                 constraint COPY_WIDTH "ind_on";
55
56                 button "btn_halt"
57                 {
58                         text "Halt";
59                 };
60                 constraint ALIGN_LEFT "ind_halt";
61                 constraint COPY_WIDTH "ind_halt";
62
63                 button "btn_trains"
64                 {
65                         text "Trains";
66                 };
67
68                 split;
69
70                 button "btn_quit"
71                 {
72                         style "red";
73                         text "Quit";
74                 };
75         };
76
77         label "lbl_status"
78         {
79                 style "digital";
80         };
81 };