It starts a QProcess and display a dialog that
shows the output of the process. The dialog is modal,
which causes a synchronized execution of the process.
Methods
|
|
__init__
buttonPressed
finish
normalExit
procExited
processOutput
startProcess
|
|
__init__
|
__init__ (
self,
text,
parent=None,
)
Constructor
Arguments
- text
- text to be shown by the label (string or QString)
- parent
- parent widget (QWidget)
|
|
buttonPressed
|
buttonPressed ( self )
Private slot connected to the button clicked signal.
|
|
finish
|
finish ( self )
Private slot called when the process finished or the user pressed the button.
|
|
normalExit
|
normalExit ( self )
Public method to check for a normal process termination.
Returns
flag indicating normal process termination (boolean)
|
|
procExited
|
procExited ( self )
Private slot connected to the processExited signal.
|
|
processOutput
|
processOutput ( self )
Private slot used to read the output of the started process.
|
|
startProcess
|
startProcess ( self, proc )
Public slot used to start the process.
Arguments
- proc
- process object (QProcess)
|