title: How do I prevent QSplitter from hiding child widgets completely?
body: <p>I have a horizontal <code>QSplitter</code> with two child <code>QWidget</code> objects. Now, when user drags the splitter handle to the right beyond a certain threshold (which, I assume, depends on child's minimum size), the right <code>QWidget</code> disappears with a snap. <code>setSizePolicy</code>, <code>setMinimumSize</code> do not help.</p>
  
  <p>Furthermore, <code>hideEvent</code> is not triggered, and I can't even detect when my widget gets hidden. I tried using <code>resizeEvent</code>, but both its old and new width parameters seem to have undocumented weird values -- sometimes it's 0, sometimes -1. Even if there is a system to it, it can change with next Qt release.</p>
  
  <p>Ideally, I would like to turn this disappearing behaviour off completely. As a compromise, I would be grateful for an idea how to detect it.</p>