]> git.tdb.fi Git - r2c2.git/blob - data/trainlistdialog.ui
Implement an UI for importing locomotives from the driver
[r2c2.git] / data / trainlistdialog.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                         text "Trains";
18                 };
19
20                 split;
21
22                 action_button "btn_close" 0
23                 {
24                         style "red_cross";
25                 };
26         };
27
28         row
29         {
30                 column
31                 {
32                         toggle "tgl_trains"
33                         {
34                                 text "Trains";
35                                 style "pointer_left";
36                                 exclusive true;
37                                 value true;
38                         };
39                         toggle "tgl_import"
40                         {
41                                 text "Import";
42                                 style "pointer_left";
43                                 exclusive true;
44                         };
45                 };
46
47                 stack
48                 {
49                         list "lst_trains"
50                         {
51                                 view_size 10;
52                         };
53
54                         list "lst_imported"
55                         {
56                                 view_size 10;
57                                 visible false;
58                         };
59                 };
60         };
61
62         row
63         {
64                 button "btn_new"
65                 {
66                         text "New";
67                 };
68
69                 button "btn_show"
70                 {
71                         text "Show";
72                 };
73         };
74 };
75
76 draghandle "";
77 expand true false;
78 constraint COPY_HEIGHT "lbl_title";
79 constraint LEFT_OF "btn_close";