[PyQt] Show QDialog and execute code after

Starglider Developer starglider.dev at gmail.com
Fri Apr 13 12:00:47 BST 2018


Hi,
I need after the QDialog is show, to run code and display the output to a
QTextEdit.
Now I can only run the code with the QDialog with user input -a QPushButton-
If the code runs inside the
def __init__(self, parent=None):

the QDialog is not shown until it finish the code execution.

I'm using Python 2.7 and PyQt4.

Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180413/3834df3c/attachment.html>


More information about the PyQt mailing list