OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / formdesigner / source / tests / setlabeltext / setlabeltextView.ring
1 # Form/Window View - Generated Source Code File 
2 # Generated by the Ring 1.11 Form Designer
3 # Date : 17/09/2019
4 # Time : 20:30:32
5
6 Load "stdlibcore.ring"
7 Load "guilib.ring"
8
9 import System.GUI
10
11 if IsMainSourceFile() { 
12         new App {
13                 StyleFusion()
14                 new setlabeltextView { win.show() } 
15                 exec()
16         }
17 }
18
19 class setlabeltextView from WindowsViewParent
20         win = new MainWindow() { 
21                 move(60,80)
22                 resize(400,380)
23                 setWindowTitle("Set Label Text")
24                 setstylesheet("background-color:#ffffff;") 
25                 Label1 = new label(win) {
26                         move(43,33)
27                         resize(295,98)
28                         setstylesheet("color:#00007f;background-color:;")
29                         oFont = new qfont("",0,0,0)
30                         oFont.fromstring("MS Shell Dlg 2,24,-1,5,50,0,0,0,0,0")
31                         setfont(oFont)
32                         oFont.delete()
33                         setText("Welcome")
34                         setAlignment(Qt_AlignHCenter |  Qt_AlignVCenter)
35                 }
36                 Button1 = new pushbutton(win) {
37                         move(18,176)
38                         resize(105,77)
39                         setstylesheet("color:black;background-color:#00ff7f;")
40                         oFont = new qfont("",0,0,0)
41                         oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
42                         setfont(oFont)
43                         oFont.delete()
44                         setText("ONE")
45                         setClickEvent(Method(:one))
46                         setBtnImage(Button1,"")
47                         
48                 }
49                 Button3 = new pushbutton(win) {
50                         move(146,175)
51                         resize(105,77)
52                         setstylesheet("color:black;background-color:#00ff7f;")
53                         oFont = new qfont("",0,0,0)
54                         oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
55                         setfont(oFont)
56                         oFont.delete()
57                         setText("TWO")
58                         setClickEvent(Method(:two))
59                         setBtnImage(Button3,"")
60                         
61                 }
62                 Button4 = new pushbutton(win) {
63                         move(271,174)
64                         resize(105,77)
65                         setstylesheet("color:black;background-color:#00ff7f;")
66                         oFont = new qfont("",0,0,0)
67                         oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
68                         setfont(oFont)
69                         oFont.delete()
70                         setText("THREE")
71                         setClickEvent(Method(:three))
72                         setBtnImage(Button4,"")
73                         
74                 }
75         }
76
77 # End of the Generated Source Code File...