Are you familiar with c++ and object oriented programming?
You should re-implement the mouse events.
Example:
Qt Code:
{ //Do something with the event, accept it, and/or pass it to qwidget }To copy to clipboard, switch view to plain text mode
Are you familiar with c++ and object oriented programming?
You should re-implement the mouse events.
Example:
Qt Code:
{ //Do something with the event, accept it, and/or pass it to qwidget }To copy to clipboard, switch view to plain text mode
thanks for the inconveniences, i have solved it with a eventFilter. I just wanted to manage the click over some panels, and finally i got it.
i have begun 2 weeks ago with c++ and this project, but is still going on.
thanks anyway
how mousePressEvent () will get called ????
shall i have to call it manually ??
Nope....
include QMouseEvent header file.
Then, override virtual function i.e.;Qt Code:
To copy to clipboard, switch view to plain text mode
Then after that, define it in your cpp file. you dont have to call the function as it will call automatically.
Use documentation.
Bookmarks