QT QML and OPenGL
===

Hi Currenty I have a UI app with QT and OpenGL widget this UI will have an phone images in all shapes we can view this phone in any view(3D).This is implemented with  QGLWidget and methods InitliazeGl,PaintGL,resizeGL, setZrotation,setXrotation and setRotation and some mouse events handling. 

Now I need to implement the same UI in QML .I know how to draw basic paint from the url "http://qt-project.org/forums/viewthread/4109" using QDeclarativeItem class but now i need ti implement resize,initilaze ,image rotations and mouse events.I dont know how to handle this in a class deriving from QDeclarativeItem and accessing in QML.

please let me know how to do this.

thanks,
bhaskar