summaryrefslogtreecommitdiffstats
path: root/examples/script/helloscript/helloscript.js
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-12-07 13:55:23 +0100
committerAlexis Menard <alexis.menard@nokia.com>2009-12-07 13:55:23 +0100
commit211c0a1dd5c10c60c3383748b13e17e6bdeaea54 (patch)
tree268920a5f40744663dd4bf8d405d35d324926f95 /examples/script/helloscript/helloscript.js
parentfd44f52df9275e717292f5c7e90015fc9bf14603 (diff)
parent35a740fa663d4669a45ada9c37c46546e59bbb82 (diff)
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt into widgets-ng
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 000000000..6d8e87cb3
--- /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]