sajis997
23rd March 2011, 22:38
Hello Forum,
I have subclassed the QAbstractItemModel and assign it to the sub-class of the QTreeView.
The subclass of the QTreeView is again encapsulated inside a custom widget.
Now when the user click over any item of the QTreeView object i need to extract a particular item and extract more data from it.
I looked at the clciked() and pressed() signal inside the QAbstractItemView and i cannot find the difference between them. I want to get it functional only with the left mouse click event.
Any suggestion would be of great help.
Regards
Sajjad
I have subclassed the QAbstractItemModel and assign it to the sub-class of the QTreeView.
The subclass of the QTreeView is again encapsulated inside a custom widget.
Now when the user click over any item of the QTreeView object i need to extract a particular item and extract more data from it.
I looked at the clciked() and pressed() signal inside the QAbstractItemView and i cannot find the difference between them. I want to get it functional only with the left mouse click event.
Any suggestion would be of great help.
Regards
Sajjad