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 .. -
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
editorEventmethod. If you want hover interaction, you are also going to need to enablemouseTrackingfor the view and process theQMouseEvents manually. -
Put a delegate to the table (or table column) and override the
editorEventmethod. If you want hover interaction, you are also going to need to enablemouseTrackingfor the view and process theQMouseEvents manually.