X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=applications%2Fbuild%2Fja-jp%2Fformdesigner%2Ftests%2Fsayhello%2FsayhelloView.ring;fp=applications%2Fbuild%2Fja-jp%2Fformdesigner%2Ftests%2Fsayhello%2FsayhelloView.ring;h=bffe58009bd55747f3a638fd6e9b2c5e08f5cb40;hb=c261394ba4a07ecae2c8c9dab7b37b6de7bfa6db;hp=0000000000000000000000000000000000000000;hpb=6e38943e5a70728b29bc63d57ef3fe96e4565653;p=ring-lang-081%2Fring.git diff --git a/applications/build/ja-jp/formdesigner/tests/sayhello/sayhelloView.ring b/applications/build/ja-jp/formdesigner/tests/sayhello/sayhelloView.ring new file mode 100644 index 0000000..bffe580 --- /dev/null +++ b/applications/build/ja-jp/formdesigner/tests/sayhello/sayhelloView.ring @@ -0,0 +1,85 @@ +# Form/Window View - Generated Source Code File +# Generated by the Ring 1.11 Form Designer +# Date : 17/09/2019 +# Time : 20:30:25 + +Load "stdlibcore.ring" +Load "guilib.ring" + +import System.GUI + +if IsMainSourceFile() { + new App { + StyleFusion() + new sayhelloView { win.show() } + exec() + } +} + +class sayhelloView from WindowsViewParent + win = new MainWindow() { + move(32,77) + resize(414,204) + setWindowTitle("Say Hello") + setstylesheet("background-color:;") + Label1 = new label(win) { + move(9,34) + resize(107,40) + setstylesheet("color:black;background-color:;") + oFont = new qfont("",0,0,0) + oFont.fromstring("Arial") + setfont(oFont) + oFont.delete() + setText("Enter your name ?") + setAlignment(Qt_AlignRight | Qt_AlignVCenter) + } + LineEdit1 = new lineedit(win) { + move(142,35) + resize(254,40) + setstylesheet("color:black;background-color:;") + oFont = new qfont("",0,0,0) + oFont.fromstring("Arial") + setfont(oFont) + oFont.delete() + setText("") + setTextChangedEvent("") + setcursorPositionChangedEvent("") + seteditingFinishedEvent("") + setreturnPressedEvent("") + setselectionChangedEvent("") + settextEditedEvent("") + + } + Button1 = new pushbutton(win) { + move(9,102) + resize(109,35) + setstylesheet("color:black;background-color:;") + oFont = new qfont("",0,0,0) + oFont.fromstring("Arial") + setfont(oFont) + oFont.delete() + setText("Say Hello") + setClickEvent(Method(:SayHello)) + setBtnImage(Button1,"") + + } + LineEdit2 = new lineedit(win) { + move(142,102) + resize(254,40) + setstylesheet("color:black;background-color:;") + oFont = new qfont("",0,0,0) + oFont.fromstring("Arial") + setfont(oFont) + oFont.delete() + setText("") + setTextChangedEvent("") + setcursorPositionChangedEvent("") + seteditingFinishedEvent("") + setreturnPressedEvent("") + setselectionChangedEvent("") + settextEditedEvent("") + + } + } + +# End of the Generated Source Code File... \ No newline at end of file