Created unit test for bug #847.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
Renato Filho 2011-05-06 19:03:03 -03:00 • committed by Hugo Parente Lima
commit ae67df9d8b
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import Qt 4.7
Rectangle {
width: 500
height: 500
color: 'red'
property variant pythonObject: undefined
Text {
anchors.centerIn: parent
text: 'click me'
color: 'white'
}
Timer {
interval: 1; running: true;
onTriggered: {
if (pythonObject != undefined) {
pythonObject.blubb(42, 84)
}
}
}
}