summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test.js
blob: 1810c2b136fff879bddce9d2d66fbfff57e94e84 (plain)
1
2
3
4
5
6
7
8
9
10
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 )