Module implementing a dialog to enter the parameters for cxfreeze.
None |
CxfreezeConfigDialog | Class implementing a dialog to enter the parameters for cxfreeze. |
None |
Class implementing a dialog to enter the parameters for cxfreeze.
None |
CxfreezeConfigDialog | Constructor |
__initializeDefaults | Private method to set the default values. |
__splitIt | Private method to split a string. |
accept | Protected slot called by the Ok button. |
generateParameters | Public method that generates the commandline parameters. |
on_extListFileButton_clicked | Private slot to select the external list file. |
on_sharedLibButton_Clicked | Private slot to select the Python shared library. |
on_targetDirButton_clicked | Private slot to select the target directory. |
Constructor
Private method to set the default values.
These are needed later on to generate the commandline parameters.
Private method to split a string.
It differs from Pythons implementation in the way, that it returns an empty list, if the split is attempted on an empty string.
Protected slot called by the Ok button.
It saves the values in the parameters dictionary.
Public method that generates the commandline parameters.
It generates a QStringList to be used to set the QProcess arguments for the cxfreeze call and a list containing the non default parameters. The second list can be passed back upon object generation to overwrite the default settings.
Private slot to select the external list file.
It displays a file selection dialog to select the external list file, the list of include modules is written to.
Private slot to select the Python shared library.
It displays a file selection dialog to select the Python shared library.
Private slot to select the target directory.
It displays a directory selection dialog to select the directory the files are written to.