title: How to split Horizontal layout equally or of specified dimension
body: <p>I want to split my window into left frame , center frame and right frame but the right frame is split vertically into top-right and bottom-right. In my code the output shows left, and center with same size but right frame with 0 size but if i drag the center frame window i can view right frame.</p>
  
  <pre><code>    hbox = QHBoxLayout(self)
      left = QFrame(self)
      left.setFrameShape(QFrame.StyledPanel)
      center = QFrame(self)
      center.setFrameShape(QFrame.StyledPanel)
      top_right = QFrame(self)
      top_right.setFrameShape(QFrame.StyledPanel)
      bottom_right = QFrame(self)
      bottom_right.setFrameShape(QFrame.StyledPanel)
  
      # add top-right frame and bottom-right frame into a vertical splitter
      splitter2 = QSplitter(Qt.Vertical)
      splitter2.addWidget(top_right)
      splitter2.addWidget(bottom_right)
      # add left, center, vertical splitter into horizontal splitter
      splitter1 = QSplitter(Qt.Horizontal)
      splitter1.addWidget(left)
      splitter1.addWidget(center)
      splitter1.addWidget(splitter2)
  
      hbox.addWidget(splitter1)
      self.setLayout(hbox)
      QApplication.setStyle(QStyleFactory.create('Cleanlooks'))
      self.setGeometry(500, 500, 750, 750)
      self.center()
      self.setWindowTitle('Example')
      self.show()
  </code></pre>
  
  <p>Current output:</p>
  
  <p><a href="https://i.stack.imgur.com/v9eOq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v9eOq.png" alt="enter image description here"></a></p>
  
  <p>Excpeted output: </p>
  
  <p><a href="https://i.stack.imgur.com/ZS9MT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZS9MT.png" alt="enter image description here"></a></p>