I have a QTreeWidget with multiple columns, each containing a widget. One of these columns has a widget that displays another widget inside it depending on what the user clicks. The newly displayed widget often has a height greater than the current height of the row. I'm a bit stumped at how to notify the QTreeWidget that it needs to redraw?

I've tried calling updateGeometry() & repaint() on every object I can, as well as creating a delegate for the QTreeWidget and QTreeWidgetItem row (setItemDelegateForRow). Overriding SizeHint doesn't seem to work, nor can I seem to get the eventFilter or editorEvent overrides to be called when I click to select what widget to show. I saw somewhere to emit the SizeHintChanged signal, but not really sure where to do that. Can someone point me in the right direction?

Thanks in advance!