How To Implement Dialogs Within A Mainwindow Class Designed In Qtdesigner?
I'm writing a small app (learning Python and PyQt) that has an 'About' box. I've designed the QMainWindow in QtDesigner and managed to make it work. I've also designed the About bo
Solution 1:
Read the tutorial carefully. The pyuic4 tool won't make a full dialog for you; it'll only provide a method that sets up an already existing dialog.
dialog = QtGui.QDialog()
ui = ui_aboutDialog.Ui_aboutDlg()
ui.setupUi(dialog)
dialog.exec_()
Post a Comment for "How To Implement Dialogs Within A Mainwindow Class Designed In Qtdesigner?"