. . 1249] Возможный дубликат:
JQuery - несколько $ (документ).
def buttonPressed(self): d = QtGui.QDialog() d.show() all that happens is a window ... for the life of me I can't figure this out... on a button press I have the code:
@QtCore.pyqtSlot():
def buttonPressed(self):
d = QtGui.QDialog()
d.show()
all that happens is a window briefly pops up without any contents and then disappears. Hitting the button repeatedly doesn't help.
Using Python 2.6, latest PyQt4.