Module implementing the project browser part of the eric3 UI.
PBrowser | Baseclass implementing common functionality for the various browsers. |
ProjectBrowser | Class implementing the project browser part of the eric3 UI. |
ProjectBrowserDirectory | Class implementig a BrowserNode that represents a directory. |
ProjectBrowserSimpleDir | Class implementing a small wrapper around BrowserNode. |
ProjectFormsBrowser | A class used to display the forms part of the project. |
ProjectInterfacesBrowser | A class used to display the interfaces (IDL) part of the project. |
ProjectOthersBrowser | A class used to display the parts of the project, that don't fit the other categories. |
ProjectSourcesBrowser | A class used to display the Sources part of the project. |
ProjectTranslationsBrowser | A class used to display the translations part of the project. |
None |
Baseclass implementing common functionality for the various browsers.
PBrowser | Constructor |
createPopupMenus | Private overloaded method to generate the popup menu. |
findItem | Reimplemented method |
findParentNode | Private method used to find or create the parent node. |
handleCollapseAllDirs | Protected slot to handle the 'Collapse all directories' menu action. |
handleExpandAllDirs | Protected slot to handle the 'Expand all directories' menu action. |
handleNewProject | Private slot to handle the newProject signal. |
handleProjectClosed | Private slot to handle the projectClosed signal. |
handleProjectOpened | Private slot to handle the projectOpened signal. |
handleRemove | Private method to remove a file or files from the project. |
handleRemoveDir | Private method to remove a (single) directory from the project. |
handleSelectLocalDirEntries | Private slot to handle the select local directories context menu entries |
handleSelectLocalEntries | Private slot to handle the select local files context menu entries |
handleSelectVCSDirEntries | Private slot to handle the select VCS directories context menu entries |
handleSelectVCSEntries | Private slot to handle the select VCS files context menu entries |
handleShowPopupMenu | Slot called before the context menu is shown. |
handleShowPopupMenuDir | Slot called before the context menu is shown. |
handleShowPopupMenuDirMulti | Slot called before the context menu is shown. |
handleShowPopupMenuMulti | Slot called before the context menu (multiple selections) is shown. |
nodeAdded | Public method used to perform common operations on a new node. |
populateTree | Private method used to populate the listview. |
rebuildTree | Protected method to rebuild the tree. |
removeNode | Private method to remove a parent (dir) node, if it doesn't have any children. |
selectEntries | Private method to select entries based on their VCS status. |
selectFile | Public method to highlight a node given its filename. |
updateVCSStatus | Private method used to set the vcs status of a node. |
Constructor
Private overloaded method to generate the popup menu.
Reimplemented method It is used to find a specific item with text in column, that is a child of node. If node is None, a child of the QListView is searched.
Private method used to find or create the parent node.
Protected slot to handle the 'Collapse all directories' menu action.
Protected slot to handle the 'Expand all directories' menu action.
Private slot to handle the newProject signal.
Private slot to handle the projectClosed signal.
Private slot to handle the projectOpened signal.
Private method to remove a file or files from the project.
Private method to remove a (single) directory from the project.
Private slot to handle the select local directories context menu entries
Private slot to handle the select local files context menu entries
Private slot to handle the select VCS directories context menu entries
Private slot to handle the select VCS files context menu entries
Slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the file status.
Slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.
Slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.
Slot called before the context menu (multiple selections) is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the files status.
Public method used to perform common operations on a new node.
Private method used to populate the listview.
Protected method to rebuild the tree.
Private method to remove a parent (dir) node, if it doesn't have any children.
Private method to select entries based on their VCS status.
Public method to highlight a node given its filename.
Private method used to set the vcs status of a node.
Class implementing the project browser part of the eric3 UI. It generates a widget with four tabs. The individual tabs contain the project sources browser, the project forms browser, the project translations browser and a browser for stuff that doesn't fit these categories.
ProjectBrowser | Constructor |
getProjectBrowsers | Public method to get references to the individual project browsers. |
handleEditorChanged | Public slot to handle the captionChanged signal. |
handleEditorSaved | Public slot to handle the editorSaved signal. |
handleNewProject | Private slot to handle the newProject signal. |
handleProjectClosed | Private slot to handle the projectClosed signal. |
handleProjectOpened | Private slot to handle the projectOpened signal. |
handleProjectPropertiesChanged | Private slot to handle the projectPropertiesChanged signal. |
setSourcesIcon | Private method to set the right icon for the sources browser tab. |
Constructor
Public method to get references to the individual project browsers.
Public slot to handle the captionChanged signal.
Public slot to handle the editorSaved signal. It simply reemits it.
Private slot to handle the newProject signal.
Private slot to handle the projectClosed signal.
Private slot to handle the projectOpened signal.
Private slot to handle the projectPropertiesChanged signal.
Private method to set the right icon for the sources browser tab.
Class implementig a BrowserNode that represents a directory.
ProjectBrowserDirectory | Constructor |
compare | Private method to compare two items. |
setOpen | Slot called to open/close the directory node. |
Constructor
Private method to compare two items.
Slot called to open/close the directory node.
Class implementing a small wrapper around BrowserNode. It sets a pixmap depending on the open state.
ProjectBrowserSimpleDir | Constructor |
compare | Private method to compare two items. |
dirName | Public method returning the name of this directory. |
fileName | Public method returning the name of this directory. |
setOpen | Slot called to open/close the tree node. |
Constructor
Private method to compare two items.
Public method returning the name of this directory.
Public method returning the name of this directory.
Slot called to open/close the tree node. It sets the pixmap displayed next to the tree node depending of the open status of the node.
A class used to display the forms part of the project. Via the context menu that is displayed by a right click the user can select various actions on the selected file.
ProjectFormsBrowser | Constructor |
__itemsHaveDesignerHeaderFiles | Private method to check, if items contain designer header files. |
createPopupMenus | Private overloaded method to generate the popup menu. |
handleAddFormFiles | Private method to add form files to the project. |
handleAddFormsDirectory | Private method to add source files of a directory to the project. |
handleCompile | Private method to compile a form to a python file. |
handleCompileAll | Private method to compile all forms to python files. |
handleCompileChangedForms | Public method to compile all changed forms to python files. |
handleCompileSelected | Private method to compile selected forms to python files. |
handleCompileUI | Privat method to compile a .ui file to a .py/.rb file. |
handleCompileUIDone | Private slot to handle the processExit signal of the pyuic/rbuic process. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleDelete | Private method to delete a file from the project. |
handleNewForm | Private slot to handle the New Form menu action. |
handleOpenEditor | Private slot to handle the Open in Editor menu action. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handlePopupMenuDir | Private slot called by the dirMenu aboutToShow signal. |
handlePopupMenuDirMulti | Private slot called by the dirMultiMenu aboutToShow signal. |
handlePopupMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
handleProjectFormAdded | Private slot to handle the projectFormAdded signal. |
handleRename | Private method to rename a file of the project. |
handleStderr | Private slot to handle the readyReadStderr signal of the pyuic/rbuic process. |
handleStdout | Private slot to handle the readyReadStdout signal of the pyuic/rbuic process. |
handleSubclass | Private method to generate a subclass for the form. |
handleTRPreview | Private slot to handle the Preview translations action. |
handleUIPreview | Private slot to handle the Preview menu action. |
Constructor
Private method to check, if items contain designer header files.
Private overloaded method to generate the popup menu.
Private method to add form files to the project.
Private method to add source files of a directory to the project.
Private method to compile a form to a python file.
Private method to compile all forms to python files.
Public method to compile all changed forms to python files.
Private method to compile selected forms to python files.
Privat method to compile a .ui file to a .py/.rb file.
Private slot to handle the processExit signal of the pyuic/rbuic process.
Private slot to show the context menu of the listview.
Private method to delete a file from the project.
Private slot to handle the New Form menu action.
Private slot to handle the Open in Editor menu action.
Private slot called by the pyMenu 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.
Private slot to handle the projectFormAdded signal.
Private method to rename a file of the project.
Private slot to handle the readyReadStderr signal of the pyuic/rbuic process.
Private slot to handle the readyReadStdout signal of the pyuic/rbuic process.
Private method to generate a subclass for the form.
Private slot to handle the Preview translations action.
Private slot to handle the Preview menu action.
A class used to display the interfaces (IDL) part of the project. Via the context menu that is displayed by a right click the user can select various actions on the selected file.
ProjectInterfacesBrowser | Constructor |
createPopupMenus | Private overloaded method to generate the popup menu. |
handleAddInterfaceFiles | Private method to add interface files to the project. |
handleAddInterfacesDirectory | Private method to add source files of a directory to the project. |
handleCompile | Private method to compile an interface to python. |
handleCompileAll | Private method to compile all interfaces to python. |
handleCompileIDL | Privat method to compile a .idl file to python. |
handleCompileIDLDone | Private slot to handle the processExit signal of the omniidl process. |
handleCompileSelected | Private method to compile all interfaces to python. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleDelete | Private method to delete a file from the project. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handlePopupMenuDir | Private slot called by the dirMenu aboutToShow signal. |
handlePopupMenuDirMulti | Private slot called by the dirMultiMenu aboutToShow signal. |
handlePopupMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
handleProjectInterfaceAdded | Private slot to handle the projectInterfaceAdded signal. |
handleRename | Private method to rename a file of the project. |
handleStderr | Private slot to handle the readyReadStderr signal of the omniidl process. |
handleStdout | Private slot to handle the readyReadStdout signal of the omniidl process. |
Constructor
Private overloaded method to generate the popup menu.
Private method to add interface files to the project.
Private method to add source files of a directory to the project.
Private method to compile an interface to python.
Private method to compile all interfaces to python.
Privat method to compile a .idl file to python.
Private slot to handle the processExit signal of the omniidl process.
Private method to compile all interfaces to python.
Private slot to show the context menu of the listview.
Private method to delete a file from the project.
Private slot called by the pyMenu 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.
Private slot to handle the projectInterfaceAdded signal.
Private method to rename a file of the project.
Private slot to handle the readyReadStderr signal of the omniidl process.
Private slot to handle the readyReadStdout signal of the omniidl process.
A class used to display the parts of the project, that don't fit the other categories. Via the context menu that is displayed by a right click the user can select various actions on the selected file or directory.
ProjectOthersBrowser | Constructor |
addNode | Public slot to add a node to this browser. |
createPopupMenus | Private overloaded method to generate the popup menu. |
handleCollapseAllDirs | Protected slot to handle the 'Collapse all directories' menu action. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleDelete | Private method to delete the selected entry from the OTHERS project data area. |
handleExpandAllDirs | Protected slot to handle the 'Expand all directories' menu action. |
handleOpen | Private slot to handle the open popup menu entry. |
handlePopupMenu | Private slot called by the menu aboutToShow signal. |
handlePopupMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
handleRemove | Private slot to remove the selected entry from the OTHERS project data area. |
handleRename | Private method to rename a file of the project. |
handleShowPopupMenu | Slot called before the context menu is shown. |
handleShowPopupMenuMulti | Slot called before the context menu (multiple selections) is shown. |
Constructor
Public slot to add a node to this browser.
Private overloaded method to generate the popup menu.
Protected slot to handle the 'Collapse all directories' menu action.
Private slot to show the context menu of the listview.
Private method to delete the selected entry from the OTHERS project data area.
Protected slot to handle the 'Expand all directories' menu action.
Private slot to handle the open popup menu entry.
Private slot called by the menu aboutToShow signal.
Private slot called by the multiMenu aboutToShow signal.
Private slot to remove the selected entry from the OTHERS project data area.
Private method to rename a file of the project.
Slot called before the context menu is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the file status.
Slot called before the context menu (multiple selections) is shown. It enables/disables the VCS menu entries depending on the overall VCS status and the files status.
A class used to display the Sources part of the project. Via the context menu that is displayed by a right click the user can select various actions on the selected file.
ProjectSourcesBrowser | Constructor |
createPopupMenus | Private overloaded method to generate the popup menu. |
createPythonPopupMenus | Privat method to generate the popup menus for a Python project. |
createRubyPopupMenus | Privat method to generate the popup menus for a Ruby project. |
getOpenChildren | Private method to get a list of open siblings of QListViewItem itm. |
handleAddSourceDirectory | Private method to add source files of a directory to the project. |
handleAddSourceFiles | Private method to add a source file to the project. |
handleApplicationDiagram | Private method to handle the application diagram context menu action. |
handleClassDiagram | Private method to handle the class diagram context menu action. |
handleCodeCoverage | Private method to handle the code coverage context menu action. |
handleCodeMetrics | Private method to handle the code metrics context menu action. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleCyclopsReport | Private method to handle the show cyclops report context menu action. |
handleDelete | Private method to delete a file from the project. |
handleEditorSaved | Public slot to handle the editorSaved signal. |
handleImportsDiagram | Private method to handle the imports diagram context menu action. |
handlePackageDiagram | Private method to handle the package diagram context menu action. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handlePopupMenuDir | Private slot called by the dirMenu aboutToShow signal. |
handlePopupMenuDirMulti | Private slot called by the dirMultiMenu aboutToShow signal. |
handlePopupMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
handleProfileData | Private method to handle the show profile data context menu action. |
handleProjectClosed | Private slot to handle the projectClosed signal. |
handleProjectSourceAdded | Private slot to handle the projectSourceAdded signal. |
handlePyLint | Private method to handle the syntax check context menu action. |
handleRemoveCyclopsReport | Private method to handle the Remove Cyclops report context menu action. |
handleRename | Private method to rename a file of the project. |
handleShowShowMenu | Private slot called before the show menu is shown. |
handleSyntaxCheck | Private method to handle the syntax check context menu action. |
handleTabnanny | Private method to handle the tabnanny context menu action. |
setOpenChildren | Private method to find a child of a node and open it. |
Constructor
Private overloaded method to generate the popup menu.
Privat method to generate the popup menus for a Python project.
Privat method to generate the popup menus for a Ruby project.
Private method to get a list of open siblings of QListViewItem itm.
Private method to add source files of a directory to the project.
Private method to add a source file to the project.
Private method to handle the application diagram context menu action.
Private method to handle the class diagram context menu action.
Private method to handle the code coverage context menu action.
Private method to handle the code metrics context menu action.
Private slot to show the context menu of the listview.
Private method to handle the show cyclops report context menu action.
Private method to delete a file from the project.
Public slot to handle the editorSaved signal.
Private method to handle the imports diagram context menu action.
Private method to handle the package diagram context menu action.
Private slot called by the pyMenu 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.
Private method to handle the show profile data context menu action.
Private slot to handle the projectClosed signal.
Private slot to handle the projectSourceAdded signal.
Private method to handle the syntax check context menu action.
Private method to handle the Remove Cyclops report context menu action.
Private method to rename a file of the project.
Private slot called before the show menu is shown.
Private method to handle the syntax check context menu action.
Private method to handle the tabnanny context menu action.
Private method to find a child of a node and open it.
A class used to display the translations part of the project. Via the context menu that is displayed by a right click the user can select various actions on the selected file.
ProjectTranslationsBrowser | Constructor |
createPopupMenus | Private overloaded method to generate the popup menu. |
generateTSFile | Private method used to run pyludate to generate the .ts files. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleDelete | Private method to delete a translation file from the project. |
handleGenerateTSFileDone | Private slot to handle the processExit signal of the pylupdate/lrelease process. |
handleGeneration | Private method to generate the translation files (.ts) for Qt Linguist. |
handleGenerationAll | Private method to generate the translation files (.ts) for Qt Linguist. |
handleGenerationObsolete | Private method to generate the translation files (.ts) for Qt Linguist. |
handleGenerationObsoleteAll | Private method to generate the translation files (.ts) for Qt Linguist. |
handleOpenEditor | Private slot to handle the Open in Editor menu action. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handlePopupMenuDir | Private slot called by the dirMenu aboutToShow signal. |
handlePopupMenuMulti | Private slot called by the multiMenu aboutToShow signal. |
handleProjectLanguageAdded | Private slot to handle the projectLanguageAdded signal. |
handleProjectPropertiesChanged | Private slot to handle the projectPropertiesChanged signal. |
handleRelease | Private method to release the translation files (.qm). |
handleReleaseAll | Private method to release the translation files (.qm). |
handleReleaseTSFileDone | Private slot to handle the processExit signal of the pylupdate/lrelease process. |
handleRemove | Private method to remove a translation from the project. |
handleStderr | Private slot to handle the readyReadStderr signal of the pylupdate/lrelease process. |
handleStdout | Private slot to handle the readyReadStdout signal of the pylupdate/lrelease process. |
handleTRPreview | Private slot to handle the Preview translations action. |
releaseTSFile | Private method to run lrelease to release the translation files (.qm). |
writeTempProjectFile | Private method to write a temporary project file suitable for pylupdate and lrelease. |
Constructor
Private overloaded method to generate the popup menu.
Private method used to run pyludate to generate the .ts files.
Private slot to show the context menu of the listview.
Private method to delete a translation file from the project.
Private slot to handle the processExit signal of the pylupdate/lrelease process.
Private method to generate the translation files (.ts) for Qt Linguist. All obsolete strings are removed from the .ts file.
Private method to generate the translation files (.ts) for Qt Linguist. All obsolete strings are removed from the .ts file.
Private method to generate the translation files (.ts) for Qt Linguist. Obsolete strings are kept.
Private method to generate the translation files (.ts) for Qt Linguist. Obsolete strings are kept.
Private slot to handle the Open in Editor menu action.
Private slot called by the pyMenu aboutToShow signal.
Private slot called by the dirMenu aboutToShow signal.
Private slot called by the multiMenu aboutToShow signal.
Private slot to handle the projectLanguageAdded signal.
Private slot to handle the projectPropertiesChanged signal.
Private method to release the translation files (.qm).
Private method to release the translation files (.qm).
Private slot to handle the processExit signal of the pylupdate/lrelease process.
Private method to remove a translation from the project.
Private slot to handle the readyReadStderr signal of the pylupdate/lrelease process.
Private slot to handle the readyReadStdout signal of the pylupdate/lrelease process.
Private slot to handle the Preview translations action.
Private method to run lrelease to release the translation files (.qm).
Private method to write a temporary project file suitable for pylupdate and lrelease.