[Qt-qml] setting QDeclarative view using UI file of Qt
Jan Ekholm
jan.ekholm at smultron.net
Tue Aug 24 23:31:50 CEST 2010
On Tuesday 24 August 2010 13:02:47 Kumar vaibhav wrote:
> ...........................vaibhav.qml...........................
> import Qt 4.7
>
> Rectangle {
> width: 640
> height: 480
>
> MouseArea {
> id: mouse_area1
> anchors.fill: parent
> onClicked: console.log("vaibhav"), test.callfromqml()
> }
> }
To me the "," looks invalid. Perhaps something like:
onClicked: {
console.log("vaibhav");
test.callfromqml();
}
--
"Students?" barked the Archchancellor.
"Yes, Master. You know? They're the thinner ones with the pale faces?
Because we're a university? They come with the whole thing, like rats --"
-- Terry Pratchett, Moving Pictures
More information about the Qt-qml
mailing list