title: How to create a modal window in pyqt?
body: <p>I looked into the documentation and i found   'self.setWindowModality(QtCore.Qt.WindowModal)'.<br>
  I added this function to my '<strong>init</strong>' function, but however still was not able to create a modal dialog box.    </p>
  
  <p>Any help will be appreciated,<br>
  Thank You.</p>