title: How to manage QSplitter in Qt Designer
body: <p>When I press a button, I bring up a dialog where user select things and press 'Ok' at the end. I want a splitter in this dialog. Left pane will show tree and right will show something else. How do I do that right?</p>
  
  <p>From Qt example itself:</p>
  
  <pre><code> QSplitter *splitter = new QSplitter(parent);
   QListView *listview = new QListView;
   QTreeView *treeview = new QTreeView;
   QTextEdit *textedit = new QTextEdit;
   splitter-&gt;addWidget(listview);
   splitter-&gt;addWidget(treeview);
   splitter-&gt;addWidget(textedit);
  </code></pre>
  
  <p>So in this example, splitter is created without any dialog resource. If I have to create this way, that would mean I have to create all my controls in the code as well rather than Qt Creator.</p>
  
  <p>What is the right way to do this when I need other controls on the screen?</p>