Hi. i am working with qml. i have a custom type inherited from QDeclarativeItem called polygon.
I override paint, shape, boundingRect and focusInEvent and focusOutEvent functions in it. I can see my polygon drawn by paint function on qml viewer BUT when clicked it focusInEvent was not triggered. Then i override mousePressEvent and write forceActiveFocus in it and focusInEvent is now working but focusOutEvent still is not working. I want focusOutEvent to be called when i click out of my shape, and there is no mouseOutEvent, and do not understand why there is a focusOutEvent if it does not run never. thanks for any idea
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
