I have tried to make small example that adds QGraphicsWidget based Graphical
widget to Qml.
Basically code is very similar than "musician" example but my widget also
implements paint() function.
I have put qDebug in my code and constructor and set property ( setName() ) get
called but paint()
won't get called at all.
I tried to find some example of graphic QGraphicsWidget but least i did not
find any with google.
Qml fragment creating widget is
¨Rectangle {
x:200
y:20
border.width:1
border.color:"black"
width: 60; height: 100
GaugeBand {
anchors.fill: parent
name: "MiuMau"
}
}
The bounding rectangle gets painted with white color inside but painter of my
Widget gets never called.
Kate
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml