QSplitter becoming undistinguishable between QWidget and QTabWidget
问题 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 mouse on it. How to make it visible? Thanks. 回答1: Since the QSplitterHandle (which is what most people think of as the 'splitter') is derived from QWidget, you can add other widgets to it. Here is what I have done to solve this exact problem in the past: // Now add the line to the splitter handle // Note: index 0 handle