Module implementing a dialog to generate code for a Qt5 dialog.
parameterNamesListRole |
parameterTypesListRole |
pyqtSignatureRole |
pythonSignatureRole |
returnTypeRole |
rubySignatureRole |
CreateDialogCodeDialog | Class implementing a dialog to generate code for a Qt5 dialog. |
None |
Class implementing a dialog to generate code for a Qt5 dialog.
DialogClasses |
Separator |
None |
CreateDialogCodeDialog | Constructor |
__className | Private method to get the class name of a form. |
__generateCode | Private slot to generate the code as requested by the user. |
__generatePythonCode | Private slot to generate Python code as requested by the user. |
__mapType | Private method to map a type as reported by Qt's meta object to the correct Python type. |
__objectName | Private method to get the object name of a form. |
__runUicLoadUi | Private method to run the UicLoadUi.py script with the given command and return the output. |
__signatures | Private slot to get the signatures. |
__updateSlotsModel | Private slot to update the slots tree display. |
initError | Public method to determine, if there was an initialzation error. |
on_buttonBox_clicked | Private slot to handle the buttonBox clicked signal. |
on_classNameCombo_activated | Private slot to handle the activated signal of the classname combo. |
on_filterEdit_textChanged | Private slot called, when thext of the filter edit has changed. |
on_newButton_clicked | Private slot called to enter the data for a new dialog class. |
None |
Constructor
Private method to get the class name of a form.
Private slot to generate the code as requested by the user.
Private slot to generate Python code as requested by the user.
Private method to map a type as reported by Qt's meta object to the correct Python type.
Private method to get the object name of a form.
Private method to run the UicLoadUi.py script with the given command and return the output.
Private slot to get the signatures.
Private slot to update the slots tree display.
Public method to determine, if there was an initialzation error.
Private slot to handle the buttonBox clicked signal.
Private slot to handle the activated signal of the classname combo.
Private slot called, when thext of the filter edit has changed.
Private slot called to enter the data for a new dialog class.