]> git.tdb.fi Git - r2c2.git/blobdiff - data/mainwindow.ui
Complete rewrite of the engineer UI
[r2c2.git] / data / mainwindow.ui
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
new file mode 100644 (file)
index 0000000..e796913
--- /dev/null
@@ -0,0 +1,81 @@
+layout
+{
+       margin
+       {
+               top 2;
+               horizontal 8;
+               bottom 6;
+       };
+};
+
+column
+{
+       stack
+       {
+               label "lbl_title"
+               {
+                       text "Railroad Computer Control";
+               };
+
+               draghandle "";
+       };
+
+       row
+       {
+               indicator "ind_off"
+               {
+                       style "red";
+               };
+
+               indicator "ind_on"
+               {
+                       style "green";
+               };
+
+               indicator "ind_halt";
+       };
+
+       row
+       {
+               button "btn_off"
+               {
+                       style "red";
+                       text "Off";
+               };
+               constraint ALIGN_LEFT "ind_off";
+               constraint COPY_WIDTH "ind_off";
+
+               button "btn_on"
+               {
+                       style "green";
+                       text "On";
+               };
+               constraint ALIGN_LEFT "ind_on";
+               constraint COPY_WIDTH "ind_on";
+
+               button "btn_halt"
+               {
+                       text "Halt";
+               };
+               constraint ALIGN_LEFT "ind_halt";
+               constraint COPY_WIDTH "ind_halt";
+
+               button "btn_trains"
+               {
+                       text "Trains";
+               };
+
+               split;
+
+               button "btn_quit"
+               {
+                       style "red";
+                       text "Quit";
+               };
+       };
+
+       label "lbl_status"
+       {
+               style "digital";
+       };
+};