Plugin_Packager_CxFreeze.CxFreeze.CxfreezeExecDialog

Module implementing a dialog to show the output of the packager process.

Global Attributes

None

Classes

CxfreezeExecDialog Module implementing a dialog to show the output of the cxfreeze process.

Functions

None


CxfreezeExecDialog

Module implementing a dialog to show the output of the cxfreeze process.

This class starts a QProcess and displays a dialog that shows the output of the packager command process.

Derived from

QDialog, Ui_CxfreezeExecDialog

Class Attributes

None

Methods

CxfreezeExecDialog Constructor
__finish Private slot called when the process finished.
__readStderr Private slot to handle the readyReadStandardError signal.
__readStdout Private slot to handle the readyReadStandardOutput signal.
on_buttonBox_clicked Private slot called by a button of the button box clicked.
start Public slot to start the packager command.

CxfreezeExecDialog (Constructor)

CxfreezeExecDialog(cmdname, parent = None)

Constructor

cmdname
name of the packager (string)
parent
parent widget of this dialog (QWidget)

CxfreezeExecDialog.__finish

__finish()

Private slot called when the process finished.

It is called when the process finished or the user pressed the button.

CxfreezeExecDialog.__readStderr

__readStderr()

Private slot to handle the readyReadStandardError signal.

It reads the error output of the process and inserts it into the error pane.

CxfreezeExecDialog.__readStdout

__readStdout()

Private slot to handle the readyReadStandardOutput signal.

It reads the output of the process, formats it and inserts it into the contents pane.

CxfreezeExecDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button
button that was clicked (QAbstractButton)

CxfreezeExecDialog.start

start(args, fn)

Public slot to start the packager command.

args
commandline arguments for packager program (QStringList)
fn
main script name to be processed by by the packager (string or QString)
Returns:
flag indicating the successful start of the process
Up