title: How to make push button immediately disabled?
body: <p><br>
  Hello everyone! I've found something strange on QPushButton instance. Oh, first of all, I am using..</p>
  
  <ul>
  <li>windows 7</li>
  <li>python 3.4</li>
  <li>PyQt5</li>
  </ul>
  
  <p>My test code is...</p>
  
  <pre><code># coding: utf-8
  
  import sys, time
  from PyQt5.QtWidgets import QWidget, QApplication, QPushButton
  
  class Example(QWidget):
      def __init__(self):
          super().__init__()
          self.initUI()
  
      def initUI(self):
          self.targetBtn = QPushButton('target', self)
          self.targetBtn.move(100, 100)
          self.targetBtn.clicked.connect(self.sleep5sec)
  
          self.setGeometry(100, 100, 300, 300)
          self.show()
  
      def sleep5sec(self):
          self.targetBtn.setEnabled(False)
          time.sleep(5)
  
  if __name__ == '__main__':
      app = QApplication(sys.argv)
      ex = Example()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>What I want is.. when a user push the target button, the button immediately disabled. But in my code, target button is disabled after sleep(5). </p>
  
  <p>What's wrong with my code?</p>
  
  <p>Thank you for reading my question! Please help!</p>