summaryrefslogtreecommitdiffstats
path: root/examples/script/helloscript/helloscript.js
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-12-09 06:24:35 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-12-09 06:24:35 (GMT)
commit32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba (patch)
tree6a33a5221b2f37dfa9782739b0b456cd7496a10b /examples/script/helloscript/helloscript.js
parent120a12f5dc13dea327cdbbbc94b58f29d1f3306b (diff)
parentf59908d4a6edcd333a156d4c94ddbd9b30f7e810 (diff)
downloadQt-32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba.zip
Qt-32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba.tar.gz
Qt-32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6
Diffstat (limited to 'examples/script/helloscript/helloscript.js')
-rw-r--r--examples/script/helloscript/helloscript.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/script/helloscript/helloscript.js b/examples/script/helloscript/helloscript.js
new file mode 100644
index 0000000..6d8e87c
--- /dev/null
+++ b/examples/script/helloscript/helloscript.js
@@ -0,0 +1,5 @@
+//! [0]
+button.text = qsTr('Hello World!');
+button.styleSheet = 'font-style: italic';
+button.show();
+//! [0]