Unsolved Specific Clickable QTableView Cell
-
I am working on Qt Model View programming these days.
My question is about making a QTableView cell clickable. Click function will create a filter model in another table. And i want to show a click icon when that cell hovered. Like this:
•
•
••
•
•
How can i achieve this. Thanks in advance .. -
Put a delegate to the table (or table column) and override the
editorEvent
method. If you want hover interaction, you are also going to need to enablemouseTracking
for the view and process theQMouseEvent
s manually. -
This post is deleted!