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 |
addVCSMenu | Public method used to add the VCS menu to all project browsers. |
addVCSMenuBack | Public method used to add the VCS menu to all project browsers. |
addVCSMenuDir | Public method used to add the VCS menu to all project browsers. |
addVCSMenuDirMulti | Public method used to add the VCS menu to all project browsers. |
addVCSMenuMulti | Public method used to add the VCS menu for multi selection to all project browsers. |
createPopupMenus | Private overloaded method to generate the popup menu. |
findItem | Reimplemented method |
findParentNode | Private method used to find or create the parent node. |
handleCVSEdit | Private slot called by the context menu to edit a file (CVS). |
handleCVSUnedit | Private slot called by the context menu to unedit a file (CVS). |
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. |
handleSVNCopy | Private slot called by the context menu to copy the selected file (Subversion). |
handleSVNDelProp | Private slot called by the context menu to delete a subversion property of a file. |
handleSVNExtendedDiff | Private slot called by the context menu to show the difference of a file to the repository. |
handleSVNListProps | Private slot called by the context menu to list the subversion properties of a file. |
handleSVNMove | Private slot called by the context menu to move the selected file (Subversion). |
handleSVNResolve | Private slot called by the context menu to resolve conflicts of a file. |
handleSVNSetProp | Private slot called by the context menu to set a subversion property of a file. |
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. |
handleVCSAdd | Private slot called by the context menu to add the selected file to the VCS repository. |
handleVCSAddBinary | Private slot called by the context menu. |
handleVCSAddTree | Private slot called by the context menu. |
handleVCSCommit | Private slot called by the context menu to commit the changes to the VCS repository. |
handleVCSDiff | Private slot called by the context menu to show the difference of a file to the repository. |
handleVCSHistory | Private slot called by the context menu to show the history of a file. |
handleVCSLog | Private slot called by the context menu to show the VCS log of a file. |
handleVCSMerge | Private slot called by the context menu to merge changes into to a file. |
handleVCSRemove | Private slot called by the context menu to remove the selected file from the VCS repository. |
handleVCSRevert | Private slot called by the context menu to revert changes made to a file. |
handleVCSStatus | Private slot called by the context menu to show the status of a file. |
handleVCSUpdate | Private slot called by the context menu to update a file from the VCS repository. |
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. |
updateVCSStatus | Private method used to set the vcs status of a node. |
Constructor
Public method used to add the VCS menu to all project browsers.
Public method used to add the VCS menu to all project browsers.
Public method used to add the VCS menu to all project browsers.
Public method used to add the VCS menu to all project browsers.
Public method used to add the VCS menu for multi selection to all project browsers.
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.
Private slot called by the context menu to edit a file (CVS).
Private slot called by the context menu to unedit a file (CVS).
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 called by the context menu to copy the selected file (Subversion).
Private slot called by the context menu to delete a subversion property of a file.
Private slot called by the context menu to show the difference of a file to the repository. This gives the chance to enter the revisions to compare.
Private slot called by the context menu to list the subversion properties of a file.
Private slot called by the context menu to move the selected file (Subversion).
Private slot called by the context menu to resolve conflicts of a file.
Private slot called by the context menu to set a subversion property of a file.
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.
Private slot called by the context menu to add the selected file to the VCS repository.
Private slot called by the context menu. It is used to add the selected file/directory in binary mode to the VCS repository.
Private slot called by the context menu. It is used to add the selected directory tree to the VCS repository.
Private slot called by the context menu to commit the changes to the VCS repository.
Private slot called by the context menu to show the difference of a file to the repository.
Private slot called by the context menu to show the history of a file.
Private slot called by the context menu to show the VCS log of a file.
Private slot called by the context menu to merge changes into to a file.
Private slot called by the context menu to remove the selected file from the VCS repository.
Private slot called by the context menu to revert changes made to a file.
Private slot called by the context menu to show the status of a file.
Private slot called by the context menu to update a file from the VCS repository.
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.
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 |
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 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. |
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 file. |
handleCompileUIDone | Private slot to handle the processExit signal of the pyuic 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 process. |
handleStdout | Private slot to handle the readyReadStdout signal of the pyuic 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 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 file.
Private slot to handle the processExit signal of the pyuic 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 process.
Private slot to handle the readyReadStdout signal of the pyuic 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. |
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 pyuic process. |
handleStdout | Private slot to handle the readyReadStdout signal of the pyuic process. |
Constructor
Private overloaded method to generate the popup menu.
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 pyuic process.
Private slot to handle the readyReadStdout signal of the pyuic 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 |
__itemsHaveDirectories | Private method to check, if items contain directory type items. |
__itemsHaveFiles | Private method to check, if items contain file type items. |
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
Private method to check, if items contain directory type items.
Private method to check, if items contain file type items.
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. |
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. |
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 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 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. |
handleCVSEdit | Private slot called by the context menu to edit a file (CVS). |
handleCVSUnedit | Private slot called by the context menu to unedit a file (CVS). |
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. |
handleSVNDelProp | Private slot called by the context menu to delete a subversion property of a file. |
handleSVNListProps | Private slot called by the context menu to list the subversion properties of a file. |
handleSVNSetProp | Private slot called by the context menu to set a subversion property of a file. |
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. |
handleVCSAdd | Private slot called by the context menu to add the selected language to the VCS repository. |
handleVCSCommit | Private slot called by the context menu to commit the changes to the VCS repository. |
handleVCSRemove | Private slot called by the context menu to remove the selected language from the VCS repository. |
handleVCSStatus | Private slot called by the context menu to show the status of a file. |
handleVCSUpdate | Private slot called by the context menu to update a file from the VCS repository. |
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 called by the context menu to edit a file (CVS).
Private slot called by the context menu to unedit a file (CVS).
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 called by the context menu to delete a subversion property of a file.
Private slot called by the context menu to list the subversion properties of a file.
Private slot called by the context menu to set a subversion property of a file.
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 slot called by the context menu to add the selected language to the VCS repository.
Private slot called by the context menu to commit the changes to the VCS repository.
Private slot called by the context menu to remove the selected language from the VCS repository.
Private slot called by the context menu to show the status of a file.
Private slot called by the context menu to update a file from the VCS repository.
Private method to run lrelease to release the translation files (.qm).
Private method to write a temporary project file suitable for pylupdate and lrelease.