PDA

View Full Version : Differentiate the icon and text in a QTreeView column



gmat4321
25th February 2009, 16:38
I want to be able to determine if the user has clicked on the icon or text in a QTreeView where the icon and text are displayed together in the same column.
( The list being like a directory list. )

Is there a way to do this by quering for a decoriation?
Or do I really to create a custom view where two columns are painted together under one column header?

Any thoughts ....