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. |
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). |
handleCVSMerge | Private slot called by the context menu to merge changes into to a file. |
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. |
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. |
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. |
handleShowPopupMenu | Slot called before the context menu is shown. |
handleVCSAdd | Private slot called by the context menu to add the selected file to the VCS repository. |
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. |
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. |
removeNode | Private method to remove a parent (dir) node, if it doesn't have any children. |
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.
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 merge changes into to a file.
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 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 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.
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.
Private slot called by the context menu to add the selected file 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 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.
Private method to remove a parent (dir) node, if it doesn't have any children.
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. |
handleProjectOpened | Private slot to handle the projectOpened signal. |
Constructor
Public slot to handle the editorSaved signal.
It simply reemits it.
Private slot to handle the projectOpened signal.
Class implementig a BrowserNode that represents a directory.
ProjectBrowserDirectory | Constructor |
setOpen | Slot called to open/close the directory node. |
Constructor
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 |
setOpen | Slot called to open/close the tree node. |
Constructor
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 |
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. |
handleCompileUI | Privat method to compile a .ui file to a .py file. |
handleCompileUIDone | Private slot to handle the processExit signal of the pyuic process. |
handleDelete | Private method to delete a file from the project. |
handleNewForm | Private slot to handle the New Form menu action. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handleProjectFormAdded | Private slot to handle the projectFormAdded signal. |
handleRemove | Private method to remove a file from 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. |
Constructor
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.
Privat method to compile a .ui file to a .py file.
Private slot to handle the processExit signal of the pyuic process.
Private method to delete a file from the project.
Private slot to handle the New Form menu action.
Private slot called by the pyMenu aboutToShow signal.
Private slot to handle the projectFormAdded signal.
Private method to remove a file from 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.
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. |
handleDelete | Private method to delete a file from the project. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handleProjectInterfaceAdded | Private slot to handle the projectInterfaceAdded signal. |
handleRemove | Private method to remove a file from 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 delete a file from the project.
Private slot called by the pyMenu aboutToShow signal.
Private slot to handle the projectInterfaceAdded signal.
Private method to remove a file from 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 |
addNode | Public slot to add a node to this browser. |
addVCSMenu | Public method used to add the VCS menu to all project browsers. |
createPopupMenus | Private overloaded method to generate the popup menu. |
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. |
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. |
handleRemove | Private slot to remove the selected entry from the OTHERS project data area. |
handleShowPopupMenu | Slot called before the context menu is shown. |
handleVCSAdd | Private slot called by the context menu. |
handleVCSAddBinary | Private slot called by the context menu. |
handleVCSAddTree | Private slot called by the context menu. |
handleVCSRemove | Private slot called by the context menu. |
Constructor
Public slot to add a node to this browser.
Public method used to add the VCS menu to all project browsers.
Private overloaded method to generate the popup menu.
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.
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 to remove the selected entry from the OTHERS project data area.
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.
Private slot called by the context menu.
It is used to add the selected file/directory 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.
It is used to remove the selected file/directory from the VCS repository.
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. |
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. |
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. |
handleRemove | Private method to remove a file from 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.
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 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 remove a file from 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). |
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. |
handleGenerationObsolete | Private method to generate the translation files (.ts) for Qt Linguist. |
handlePopupMenu | Private slot called by the pyMenu aboutToShow signal. |
handleProjectLanguageAdded | Private slot to handle the projectLanguageAdded signal. |
handleRelease | Private method to release the translation files (.qm). |
handleReleaseDone | 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. |
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. |
handleVCSUpdate | Private slot called by the context menu to update a file from the VCS repository. |
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 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.
Obsolete strings are kept.
Private slot called by the pyMenu aboutToShow signal.
Private slot to handle the projectLanguageAdded signal.
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 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 update a file from the VCS repository.
Private method to write a temporary project file suitable for pylupdate and lrelease.