OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / build / ja-jp / formdesigner / tests / timer / timerView.ring
diff --git a/applications/build/ja-jp/formdesigner/tests/timer/timerView.ring b/applications/build/ja-jp/formdesigner/tests/timer/timerView.ring
new file mode 100644 (file)
index 0000000..0a01095
--- /dev/null
@@ -0,0 +1,44 @@
+# Form/Window View - Generated Source Code File 
+# Generated by the Ring 1.11 Form Designer
+# Date : 17/09/2019
+# Time : 20:31:31
+
+Load "stdlibcore.ring"
+Load "guilib.ring"
+
+import System.GUI
+
+if IsMainSourceFile() { 
+       new App {
+               StyleFusion()
+               new timerView { win.show() } 
+               exec()
+       }
+}
+
+class timerView from WindowsViewParent
+       win = new MainWindow() { 
+               move(38,77)
+               resize(400,400)
+               setWindowTitle("Timer")
+               setstylesheet("background-color:;") 
+               Label1 = new label(win) {
+                       move(59,36)
+                       resize(191,39)
+                       setstylesheet("color:black;background-color:;")
+                       oFont = new qfont("",0,0,0)
+                       oFont.fromstring("Arial")
+                       setfont(oFont)
+                       oFont.delete()
+                       setText("Time : ")
+                       setAlignment(Qt_AlignLeft |  Qt_AlignVCenter)
+               }
+               Timer1 = new qtimer(win) {
+                       setInterval(1000)
+                       setTimeoutevent(Method(:DisplayTime))
+                       start()
+                       
+               }
+       }
+
+# End of the Generated Source Code File...
\ No newline at end of file