title: How to make a button move as the window size is adjusted? (PyQt4)
body: <p>I know the 2nd line I commented out doesn't work, just a representation of what I was thinking. This would be running the whole time the program is, so it could adjust to size changes.</p>
  
  <p>Is something like this possible?</p>
  
  <pre><code>import sys    
  from PyQt4 import QtGui, QtCore
  
  class Window(QtGui.QMainWindow):
      def __init__(self):
          super(Window, self).__init__()
          self.setGeometry(50, 50, 500, 300)
          self.setWindowTitle("SciCalc")
          self.setWindowIcon(QtGui.QIcon('atom.png'))
          # self.setFixedSize(1000,800)
          self.home()
  
      def home(self):
          btn = QtGui.QPushButton("Physics", self)
          btn.clicked.connect(QtCore.QCoreApplication.instance().quit)
          btn.resize(100, 100)
          btn.resize(100, 100)
          # btn.move(width/2,height/2)
          self.show()
  
  
  def run():
      app = QtGui.QApplication(sys.argv)
      GUI = Window()
      sys.exit(app.exec_())
  
  
  run()
  </code></pre>