Custom-Drawing Branch Lines in a Qt Tree-Table View
When a product owner demanded a tree widget whose row heights could be resized at run-time, the usual style-sheet tricks quickly fell apart: the branch icons became blurry and the dotted connector lines vanished. The only viable escape hatch was to take full control of the painting pipeline.
Visual Result
The screenshot below shows the final lo ...
Posted on Sat, 18 Jul 2026 17:06:21 +0000 by sava