chaltier
21st March 2012, 11:21
Example..
I have a text browser widget in my main window class..
I have re-implemented the mouse event handler for the graphicsView sub class..
Now, when i mouse click on my graphics view, i wan my text browser in main window class to display the x-y coordinates..
because the mouse press event is a function of the graphics view class, i could not access the text browser widget and pass the x-y coordinates to it..
how can i go about doing this??
Thankss..
I have a text browser widget in my main window class..
I have re-implemented the mouse event handler for the graphicsView sub class..
Now, when i mouse click on my graphics view, i wan my text browser in main window class to display the x-y coordinates..
because the mouse press event is a function of the graphics view class, i could not access the text browser widget and pass the x-y coordinates to it..
how can i go about doing this??
Thankss..