OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / build / ja-jp / formdesigner / tests / timer / timerController.ring
diff --git a/applications/build/ja-jp/formdesigner/tests/timer/timerController.ring b/applications/build/ja-jp/formdesigner/tests/timer/timerController.ring
new file mode 100644 (file)
index 0000000..2a02bdf
--- /dev/null
@@ -0,0 +1,20 @@
+# Form/Window Controller - Source Code File
+
+load "timerView.ring"
+
+if IsMainSourceFile() {
+       new qApp {
+               StyleFusion()
+               open_window(:timerController)
+               exec()
+       }
+}
+
+class timerController from windowsControllerParent
+
+       oView = new timerView
+
+       DisplayTime()
+
+       func DisplayTime
+               oView.Label1.setText("Time : " + Time())