• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

QT QTreeWidget question

LumbergTech

Diamond Member
I am dancing around a problem and its kind of driving me nuts. Its mostly because I'm new to QT, but for the life of me I cannot tackle this problem.

The QTreeWidget has a signal called itemClicked(QTreeWidgetItem * itm, int position)
that gives you a reference to the item was clicked and the position.

Seems simple enough, except that it happens on ANY click and I need right clicks only

Yes, I know I can install an eventFilter to detect right clicks and I have done so, BUT, that does not help me at all, because then I do not have the reference to the item that was clicked. Maybe it is something simple that I am overlooking, but if anyone can point me in the right direction I would really appreciate it.
 
Back
Top