Hi,
I need to "emulate" a terminal and need to automaticly run the code after
the QDialog shows and close the QDialog after it ends the task.
How can I do that, the best I made was this:

class ConsoleClass(QDialog): ...

def main():
 app = QApplication(sys.argv)
    main.form = ConsoleClass()

    main.form.show()
    app.processEvents()

main()

It works fine
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to