Module implementing the virtualenv execution dialog.
None |
VirtualenvExecDialog | Class implementing the virtualenv execution dialog. |
None |
Class implementing the virtualenv execution dialog.
This class starts a QProcess and displays a dialog that shows the output of the virtualenv or pyvenv process.
None |
None |
VirtualenvExecDialog | Constructor |
__finish | Private slot called when the process finished. |
__logError | Private method to log an error. |
__logOutput | Private method to log some output. |
__nextAttempt | Private method to start another attempt. |
__readStderr | Private slot to handle the readyReadStandardError signal. |
__readStdout | Private slot to handle the readyReadStandardOutput signal. |
__writeLogFile | Private method to write a log file to the virtualenv directory. |
__writeScriptFile | Private method to write a script file to the virtualenv directory. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
start | Public slot to start the virtualenv command. |
None |
Constructor
Private slot called when the process finished.
It is called when the process finished or the user pressed the button.
Private method to log an error.
Private method to log some output.
Private method to start another attempt.
Private slot to handle the readyReadStandardError signal.
It reads the error output of the process and inserts it into the error pane.
Private slot to handle the readyReadStandardOutput signal.
It reads the output of the process, formats it and inserts it into the contents pane.
Private method to write a log file to the virtualenv directory.
Private method to write a script file to the virtualenv directory.
Private slot called by a button of the button box clicked.
Public slot to start the virtualenv command.