title: How can I set just `Widget` size?
body: <p>How can I set just <code>Widget</code> size?</p>
  
  <p>My code:</p>
  
  <pre><code>from PySide.QtGui import QApplication, QWidget, QLabel
  import sys
  app = QApplication(sys.argv)
  
  mainWindow = QWidget()
  gameWidget = QWidget(mainWindow)
  
  #gameWidget.setGeometry(gameWidth, gameHeight) &lt;-- I want to set size of gameWidget such like this. How can I do this.
  gameWidget.move(100,0)
  gameLabel = QLabel("This is game widget", gameWidget)
  
  mainWindow.show()
  </code></pre>
  
  <p>Output:</p>
  
  <p><img src="https://i.stack.imgur.com/GYjiL.png" alt="enter image description here"></p>
  
  <p>Description:</p>
  
  <p>This will create <code>Window</code> that contain <code>Widget</code>.
  I want to set this <code>Widget</code> size. I know There is a method <code>Widget.setGeometry</code>, but it takes 4 parameter  <i>(x, y, width, height)</i>. I want a method like <code>Widget.setGeometry</code> which takes just size parameter <i>(width, height)</i>.</p>
  
  <p><b>P.S.</b>
  Feel free to modify my question. Because I'm always learning English!!</p>
  
  <p>Thanks.</p>