Module implementing a dialog to enter the parameters for eric4_api.
None |
EricapiConfigDialog | Class implementing a dialog to enter the parameters for eric4_api. |
None |
Class implementing a dialog to enter the parameters for eric4_api.
None |
None |
EricapiConfigDialog | Constructor |
__initializeDefaults | Private method to set the default values. |
accept | Protected slot called by the Ok button. |
generateParameters | Public method that generates the commandline parameters. |
on_addButton_clicked | Private slot to add the directory displayed to the listview. |
on_deleteButton_clicked | Private slot to delete the currently selected directory of the listbox. |
on_ignoreDirButton_clicked | Private slot to select a directory to be ignored. |
on_outputFileButton_clicked | Private slot to select the output file. |
on_outputFileEdit_textChanged | Private slot to enable/disable the "OK" button. |
None |
Constructor
Private method to set the default values.
These are needed later on to generate the commandline parameters.
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 ericapi 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 add the directory displayed to the listview.
The directory in the ignore directories line edit is moved to the listbox above and the edit is cleared.
Private slot to delete the currently selected directory of the listbox.
Private slot to select a directory to be ignored.
It displays a directory selection dialog to select a directory to be ignored.
Private slot to select the output file.
It displays a file selection dialog to select the file the api is written to.
Private slot to enable/disable the "OK" button.