diff options
Diffstat (limited to 'kjsembed/tests/test.js')
-rw-r--r-- | kjsembed/tests/test.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kjsembed/tests/test.js b/kjsembed/tests/test.js new file mode 100644 index 00000000..1810c2b1 --- /dev/null +++ b/kjsembed/tests/test.js @@ -0,0 +1,11 @@ +print( "Hello World" ) +warn( "Beware World" ) + +dlg = Factory.loadui( "test.ui" ) +dlg.caption = "Testing KJSEmbed" + +dlg.exec() + +print( "line=" + dlg.child("KLineEdit1").text ) +print( "date=" + dlg.child("DateEdit1").date ) +print( "time=" + dlg.child("TimeEdit1").time ) |