OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / build / ja-jp / formdesigner / tests / sumtwonumbers / sumtwonumbersView.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:51
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 sumtwonumbersView { win.show() } 
15                 exec()
16         }
17 }
18
19 class sumtwonumbersView from WindowsViewParent
20         win = new MainWindow() { 
21                 move(27,69)
22                 resize(457,272)
23                 setWindowTitle("Sum Two Numbers")
24                 setstylesheet("background-color:;") 
25                 Label1 = new label(win) {
26                         move(18,44)
27                         resize(141,31)
28                         setstylesheet("color:black;background-color:;")
29                         oFont = new qfont("",0,0,0)
30                         oFont.fromstring("Arial")
31                         setfont(oFont)
32                         oFont.delete()
33                         setText("The First Number")
34                         setAlignment(Qt_AlignRight |  Qt_AlignVCenter)
35                 }
36                 LineEdit1 = new lineedit(win) {
37                         move(171,36)
38                         resize(260,43)
39                         setstylesheet("color:black;background-color:;")
40                         oFont = new qfont("",0,0,0)
41                         oFont.fromstring("Arial")
42                         setfont(oFont)
43                         oFont.delete()
44                         setText("")
45                         setTextChangedEvent("")
46                         setcursorPositionChangedEvent("")
47                         seteditingFinishedEvent("")
48                         setreturnPressedEvent("")
49                         setselectionChangedEvent("")
50                         settextEditedEvent("")
51                         
52                 }
53                 Label2 = new label(win) {
54                         move(18,103)
55                         resize(141,31)
56                         setstylesheet("color:black;background-color:;")
57                         oFont = new qfont("",0,0,0)
58                         oFont.fromstring("Arial")
59                         setfont(oFont)
60                         oFont.delete()
61                         setText("The Second Number")
62                         setAlignment(Qt_AlignRight |  Qt_AlignVCenter)
63                 }
64                 LineEdit2 = new lineedit(win) {
65                         move(171,95)
66                         resize(260,43)
67                         setstylesheet("color:black;background-color:;")
68                         oFont = new qfont("",0,0,0)
69                         oFont.fromstring("Arial")
70                         setfont(oFont)
71                         oFont.delete()
72                         setText("")
73                         setTextChangedEvent("")
74                         setcursorPositionChangedEvent("")
75                         seteditingFinishedEvent("")
76                         setreturnPressedEvent("")
77                         setselectionChangedEvent("")
78                         settextEditedEvent("")
79                         
80                 }
81                 LineEdit3 = new lineedit(win) {
82                         move(171,165)
83                         resize(260,43)
84                         setstylesheet("color:black;background-color:;")
85                         oFont = new qfont("",0,0,0)
86                         oFont.fromstring("Arial")
87                         setfont(oFont)
88                         oFont.delete()
89                         setText("")
90                         setTextChangedEvent("")
91                         setcursorPositionChangedEvent("")
92                         seteditingFinishedEvent("")
93                         setreturnPressedEvent("")
94                         setselectionChangedEvent("")
95                         settextEditedEvent("")
96                         
97                 }
98                 Button4 = new pushbutton(win) {
99                         move(28,163)
100                         resize(131,40)
101                         setstylesheet("color:black;background-color:;")
102                         oFont = new qfont("",0,0,0)
103                         oFont.fromstring("Arial")
104                         setfont(oFont)
105                         oFont.delete()
106                         setText("Sum")
107                         setClickEvent(Method(:SumNumbers))
108                         setBtnImage(Button4,"")
109                         
110                 }
111         }
112
113 # End of the Generated Source Code File...