Module implementing a class used to display the forms part of the project.
None |
ProjectFormsBrowser | A class used to display the forms part of the project. |
None |
A class used to display the forms part of the project.
None |
None |
ProjectFormsBrowser | Constructor |
__TRPreview | Private slot to handle the Preview translations action. |
__UIPreview | Private slot to handle the Preview menu action. |
__addFormFiles | Private method to add form files to the project. |
__addFormsDirectory | Private method to add form files of a directory to the project. |
__compileAllForms | Private method to compile all forms to source files. |
__compileForm | Private method to compile a form to a source file. |
__compileSelectedForms | Private method to compile selected forms to source files. |
__compileUI | Privat method to compile a .ui file to a .py/.rb file. |
__compileUIDone | Private slot to handle the finished signal of the pyuic/rbuic process. |
__deleteFile | Private method to delete a form file from the project. |
__generateDialogCode | Private method to generate dialog code for the form (Qt4 only) |
__generateSubclass | Private method to generate a subclass for the form (Qt3 only). |
__itemsHaveDesignerHeaderFiles | Private method to check, if items contain designer header files. |
__newForm | Private slot to handle the New Form menu action. |
__newUiForm | Private slot to handle the New Form menu action for Qt-related projects. |
__openFile | Private slot to handle the Open menu action. |
__openFileInEditor | Private slot to handle the Open in Editor menu action. |
__readStderr | Private slot to handle the readyReadStandardError signal of the pyuic/rbuic process. |
__readStdout | Private slot to handle the readyReadStandardOutput signal of the pyuic/rbuic process. |
__showContextMenu | Private slot called by the menu aboutToShow signal. |
__showContextMenuBack | Private slot called by the backMenu aboutToShow signal. |
__showContextMenuDir | Private slot called by the dirMenu aboutToShow signal. |
__showContextMenuDirMulti | Private slot called by the dirMultiMenu aboutToShow signal. |
__showContextMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
_contextMenuRequested | Protected slot to show the context menu. |
_createPopupMenus | Protected overloaded method to generate the popup menu. |
_initHookMethods | Protected method to initialize the hooks dictionary. |
_openItem | Protected slot to handle the open popup menu entry. |
compileChangedForms | Public method to compile all changed forms to source files. |
handlePreferencesChanged | Public slot used to handle the preferencesChanged signal. |
None |
Constructor
Private slot to handle the Preview translations action.
Private slot to handle the Preview menu action.
Private method to add form files to the project.
Private method to add form files of a directory to the project.
Private method to compile all forms to source files.
Private method to compile a form to a source file.
Private method to compile selected forms to source files.
Privat method to compile a .ui file to a .py/.rb file.
Private slot to handle the finished signal of the pyuic/rbuic process.
Private method to delete a form file from the project.
Private method to generate dialog code for the form (Qt4 only)
Private method to generate a subclass for the form (Qt3 only).
Private method to check, if items contain designer header files.
Private slot to handle the New Form menu action.
Private slot to handle the New Form menu action for Qt-related projects.
Private slot to handle the Open menu action.
This uses the projects UI type to determine the Qt Designer version to use.
Private slot to handle the Open in Editor menu action.
Private slot to handle the readyReadStandardError signal of the pyuic/rbuic process.
Private slot to handle the readyReadStandardOutput signal of the pyuic/rbuic process.
Private slot called by the menu aboutToShow signal.
Private slot called by the backMenu aboutToShow signal.
Private slot called by the dirMenu aboutToShow signal.
Private slot called by the dirMultiMenu aboutToShow signal.
Private slot called by the multiMenu aboutToShow signal.
Protected slot to show the context menu.
Protected overloaded method to generate the popup menu.
Protected method to initialize the hooks dictionary.
Supported hook methods are:
Note: Filenames are relative to the project directory, if not specified differently.
Protected slot to handle the open popup menu entry.
Public method to compile all changed forms to source files.
Public slot used to handle the preferencesChanged signal.