X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=data%2Fnewtraindialog.ui;fp=data%2Fnewtraindialog.ui;h=b7899bc266cc5643c0bb19999720e34cdca2cb7c;hb=b261812f040caed52bc3de783e8bcb86b222a9ed;hp=0000000000000000000000000000000000000000;hpb=fcc044d4eb24820af9acf1431042e4c422366915;p=r2c2.git diff --git a/data/newtraindialog.ui b/data/newtraindialog.ui new file mode 100644 index 0000000..b7899bc --- /dev/null +++ b/data/newtraindialog.ui @@ -0,0 +1,94 @@ +layout +{ + margin + { + top 2; + horizontal 8; + bottom 6; + }; +}; + +column +{ + row + { + label "lbl_title" + { + text "New train"; + }; + + split; + + action_button "btn_close" 0 + { + style "red_cross"; + }; + }; + + row + { + label "lbl_protocol" + { + text "Protocol"; + }; + + dropdown "drp_protocol"; + }; + + row + { + label "lbl_address" + { + text "Address:"; + }; + constraint COPY_WIDTH "lbl_protocol"; + + entry "ent_address" + { + edit_size 8 1; + }; + }; + + row + { + label "lbl_name" + { + text "Name:"; + }; + constraint COPY_WIDTH "lbl_address"; + + entry "ent_name" + { + edit_size 30 1; + }; + }; + + row + { + label "lbl_loco_type" + { + text "Locomotive:"; + }; + constraint COPY_WIDTH "lbl_name"; + + dropdown "drp_loco_type" + { + }; + }; + + row + { + split; + + action_button "btn_ok" 1 + { + style "green"; + text "Ok"; + }; + }; +}; + +draghandle ""; +expand true false; +constraint COPY_HEIGHT "lbl_title"; +constraint LEFT_OF "btn_close";