title: How to have detachable tool windows in Qt
body: <p>I am developing a tool which will have some variable sized windows. I am able to achieve this using the <code>QSplitter</code> horizontal &amp; vertical. Please see attached image.</p>
  
  <p>Now, how to make these individual windows detachable/maximize/close? How can I add cross markers at the top-right-corner of each window so that they can be closed maximized or detached from there? Just like this link :--</p>
  
  <p><a href="http://vector.com/portal/medien/ecu_testing/tae/test_automation_editor.png" rel="nofollow noreferrer">http://vector.com/portal/medien/ecu_testing/tae/test_automation_editor.png</a>  </p>
  
  <p><img src="https://i.stack.imgur.com/obE1G.png" alt="enter image description here"></p>