X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=applications%2Fformdesigner%2Fsource%2Ftests%2Ftwowindowspart2%2FsecondwindowView.ring;fp=applications%2Fformdesigner%2Fsource%2Ftests%2Ftwowindowspart2%2FsecondwindowView.ring;h=2826a56df7427c01420e76509a716b6d11ac578b;hb=c261394ba4a07ecae2c8c9dab7b37b6de7bfa6db;hp=0000000000000000000000000000000000000000;hpb=6e38943e5a70728b29bc63d57ef3fe96e4565653;p=ring-lang-081%2Fring.git diff --git a/applications/formdesigner/source/tests/twowindowspart2/secondwindowView.ring b/applications/formdesigner/source/tests/twowindowspart2/secondwindowView.ring new file mode 100644 index 0000000..2826a56 --- /dev/null +++ b/applications/formdesigner/source/tests/twowindowspart2/secondwindowView.ring @@ -0,0 +1,51 @@ +# Form/Window View - Generated Source Code File +# Generated by the Ring 1.11 Form Designer +# Date : 17/09/2019 +# Time : 20:32:12 + +Load "stdlibcore.ring" +Load "guilib.ring" + +import System.GUI + +if IsMainSourceFile() { + new App { + StyleFusion() + new secondwindowView { win.show() } + exec() + } +} + +class secondwindowView from WindowsViewParent + win = new MainWindow() { + move(111,91) + resize(400,400) + setWindowTitle("The Second Window") + setstylesheet("background-color:#00007f;") + Button1 = new pushbutton(win) { + move(56,81) + resize(277,61) + setstylesheet("color:black;background-color:#ffff7f;") + oFont = new qfont("",0,0,0) + oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0") + setfont(oFont) + oFont.delete() + setText("Close Window") + setClickEvent(Method(:CloseWindow)) + setBtnImage(Button1,"") + + } + Label1 = new label(win) { + move(57,181) + resize(279,56) + setstylesheet("color:#ffffff;background-color:;") + oFont = new qfont("",0,0,0) + oFont.fromstring("Arial") + setfont(oFont) + oFont.delete() + setText("") + setAlignment(Qt_AlignLeft | Qt_AlignVCenter) + } + } + +# End of the Generated Source Code File... \ No newline at end of file