eric4.Project.ProjectSourcesBrowser

Module implementing a class used to display the Sources part of the project.

Classes

ProjectSourcesBrowser A class used to display the Sources part of the project.

Functions

None


ProjectSourcesBrowser

A class used to display the Sources part of the project.

Signals

closeSourceWindow(string)
emitted after a file has been removed/deleted from the project

Derived from

ProjectBaseBrowser

Methods

ProjectSourcesBrowser Constructor
__addSourceDirectory Private method to add source files of a directory to the project.
__addSourceFiles Private method to add a source file to the project.
__closeAllWindows Private method to close all project related windows.
__createPythonPopupMenus Privat method to generate the popup menus for a Python project.
__createRubyPopupMenus Privat method to generate the popup menus for a Ruby project.
__deleteFile Private method to delete files from the project.
__removeCyclopsReport Private method to handle the Remove Cyclops report context menu action.
__showApplicationDiagram Private method to handle the application diagram context menu action.
__showClassDiagram Private method to handle the class diagram context menu action.
__showCodeCoverage Private method to handle the code coverage context menu action.
__showCodeMetrics Private method to handle the code metrics context menu action.
__showCyclopsReport Private method to handle the show cyclops report context menu action.
__showImportsDiagram Private method to handle the imports diagram context menu action.
__showPackageDiagram Private method to handle the package diagram context menu action.
__showPopupMenu Private slot called by the sourceMenu aboutToShow signal.
__showPopupMenuDir Private slot called by the dirMenu aboutToShow signal.
__showPopupMenuDirMulti Private slot called by the dirMultiMenu aboutToShow signal.
__showPopupMenuMulti Private slot called by the multiMenu aboutToShow signal.
__showProfileData Private method to handle the show profile data context menu action.
__showShowMenu Private slot called before the show menu is shown.
_createPopupMenus Protected overloaded method to generate the popup menu.
_projectClosed Protected slot to handle the projectClosed signal.
_showContextMenu Protected slot to show the context menu.
handlePyLint Public method to handle the syntax check context menu action.
handleSyntaxCheck Public method to handle the syntax check context menu action.
handleTabnanny Public method to handle the tabnanny context menu action.

ProjectSourcesBrowser (Constructor)

ProjectSourcesBrowser(project, parent = None)

Constructor

project
reference to the project object
parent
parent widget of this browser (QWidget)

ProjectSourcesBrowser.__addSourceDirectory

__addSourceDirectory()

Private method to add source files of a directory to the project.

ProjectSourcesBrowser.__addSourceFiles

__addSourceFiles()

Private method to add a source file to the project.

ProjectSourcesBrowser.__closeAllWindows

__closeAllWindows()

Private method to close all project related windows.

ProjectSourcesBrowser.__createPythonPopupMenus

__createPythonPopupMenus()

Privat method to generate the popup menus for a Python project.

ProjectSourcesBrowser.__createRubyPopupMenus

__createRubyPopupMenus()

Privat method to generate the popup menus for a Ruby project.

ProjectSourcesBrowser.__deleteFile

__deleteFile()

Private method to delete files from the project.

ProjectSourcesBrowser.__removeCyclopsReport

__removeCyclopsReport()

Private method to handle the Remove Cyclops report context menu action.

ProjectSourcesBrowser.__showApplicationDiagram

__showApplicationDiagram()

Private method to handle the application diagram context menu action.

ProjectSourcesBrowser.__showClassDiagram

__showClassDiagram()

Private method to handle the class diagram context menu action.

ProjectSourcesBrowser.__showCodeCoverage

__showCodeCoverage()

Private method to handle the code coverage context menu action.

ProjectSourcesBrowser.__showCodeMetrics

__showCodeMetrics()

Private method to handle the code metrics context menu action.

ProjectSourcesBrowser.__showCyclopsReport

__showCyclopsReport()

Private method to handle the show cyclops report context menu action.

ProjectSourcesBrowser.__showImportsDiagram

__showImportsDiagram()

Private method to handle the imports diagram context menu action.

ProjectSourcesBrowser.__showPackageDiagram

__showPackageDiagram()

Private method to handle the package diagram context menu action.

ProjectSourcesBrowser.__showPopupMenu

__showPopupMenu()

Private slot called by the sourceMenu aboutToShow signal.

ProjectSourcesBrowser.__showPopupMenuDir

__showPopupMenuDir()

Private slot called by the dirMenu aboutToShow signal.

ProjectSourcesBrowser.__showPopupMenuDirMulti

__showPopupMenuDirMulti()

Private slot called by the dirMultiMenu aboutToShow signal.

ProjectSourcesBrowser.__showPopupMenuMulti

__showPopupMenuMulti()

Private slot called by the multiMenu aboutToShow signal.

ProjectSourcesBrowser.__showProfileData

__showProfileData()

Private method to handle the show profile data context menu action.

ProjectSourcesBrowser.__showShowMenu

__showShowMenu()

Private slot called before the show menu is shown.

ProjectSourcesBrowser._createPopupMenus

_createPopupMenus()

Protected overloaded method to generate the popup menu.

ProjectSourcesBrowser._projectClosed

_projectClosed()

Protected slot to handle the projectClosed signal.

ProjectSourcesBrowser._showContextMenu

_showContextMenu(coord)

Protected slot to show the context menu.

coord
the position of the mouse pointer (QPoint)

ProjectSourcesBrowser.handlePyLint

handlePyLint()

Public method to handle the syntax check context menu action.

ProjectSourcesBrowser.handleSyntaxCheck

handleSyntaxCheck()

Public method to handle the syntax check context menu action.

ProjectSourcesBrowser.handleTabnanny

handleTabnanny()

Public method to handle the tabnanny context menu action.

Up