QSplitter becoming undistinguishable between QWidget and QTabWidget

前端 未结 7 1108
庸人自扰
庸人自扰 2021-02-04 06:30

I am puting a QWidget and a QTabWidget next to each other in one horisontal splitter. And the splitter loses it\'s shape, you can know that there is a splitter only by hovering

相关标签:
7条回答
  • 2021-02-04 07:25

    You can subclass QSplitter and override it's protected virtual QSplitterHandle * QSplitter::createHandle() to return anything that makes you happy.

    For example, from that overloaded method you can return subclass of QSplitterHandle with custom drawing.

    0 讨论(0)
提交回复
热议问题