hi.
are u deriving the class DiagramView from Q3CanvasView...
For me something like this works pretty fine...
Qt Code:
{ if(e->button() == Qt::LeftButton) { } }To copy to clipboard, switch view to plain text mode
though it seems a crude method but try something like this that try to call the mouse events in the class where u have created the canvas... where u have set its size and its view... it might help...
Kapil




Reply With Quote
Bookmarks