]> git.tdb.fi Git - r2c2.git/blobdiff - data/trainview.ui
Complete rewrite of the engineer UI
[r2c2.git] / data / trainview.ui
diff --git a/data/trainview.ui b/data/trainview.ui
new file mode 100644 (file)
index 0000000..e9c59be
--- /dev/null
@@ -0,0 +1,82 @@
+layout
+{
+       margin
+       {
+               top 2;
+               horizontal 8;
+               bottom 6;
+       };
+};
+
+column
+{
+       row
+       {
+               label "lbl_title";
+
+               split;
+
+               action_button "btn_close" 0
+               {
+                       style "red_cross";
+               };
+       };
+
+       row
+       {
+               column
+               {
+                       toggle "tgl_forward"
+                       {
+                               text "Fwd";
+                               value true;
+                       };
+
+                       panel "pnl_mode"
+                       {
+                               style "group";
+                               layout
+                               {
+                                       margin
+                                       {
+                                               horizontal 0;
+                                               vertical 0;
+                                       };
+                                       row_spacing 0;
+                               };
+
+                               column
+                               {
+                                       toggle "tgl_roof"
+                                       {
+                                               style "pointer_left";
+                                               text "Roof";
+                                               exclusive true;
+                                       };
+
+                                       toggle "tgl_side"
+                                       {
+                                               style "pointer_left";
+                                               text "Side";
+                                               exclusive true;
+                                               value true;
+                                       };
+
+                                       toggle "tgl_head"
+                                       {
+                                               style "pointer_left";
+                                               text "Head";
+                                               exclusive true;
+                                       };
+                               };
+                       };
+               };
+
+               image "img_view";
+       };
+};
+
+draghandle "";
+expand true false;
+constraint COPY_HEIGHT "lbl_title";
+constraint LEFT_OF "btn_close";