Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Set breakpoints for mouse events
SwePtr last edited by
Hi. newbie here. I am trying to debug an example to see where the code interact with mouse drag, mouse drop etcetera.
I am using this example QTreeViewExample3
My problem is, I don't understand hoe and where set breakpoints for the debugger where the dragaction, dropaction etcera is executed.
If you want to learn about the internal working you should rather take a look directly at Qt's code, it will be faster.
SwePtr last edited by SwePtr
I just want to understand how the mouse interacts with the code in the example - so I can overload dropaction.
So far - i have failed for that, looking at a lot of examples.
My goal is to build an ap where I can hook my own actions to the mouseevents.
My final goal is to create a treeview displayed 'memory-bank' which uses the local filesystem for saving notes, caches from webpages - etcetera.
My recommendation still applies. This example doesn't do anything special, it's using Qt's model/view classes in a pretty standard fashion.