eric4.Project.ProjectBrowser

Module implementing the project browser part of the eric4 UI.

Classes

ProjectBrowser Class implementing the project browser part of the eric4 UI.

Functions

None


ProjectBrowser

Class implementing the project browser part of the eric4 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. Optionally it contains a fifth tab with the file system browser.

Derived from

E4TabWidget

Methods

ProjectBrowser Constructor
__currentChanged Private slot to handle the currentChanged(int) signal.
__newProject Private slot to handle the newProject signal.
__projectClosed Private slot to handle the projectClosed signal.
__projectOpened Private slot to handle the projectOpened signal.
__projectPropertiesChanged Private slot to handle the projectPropertiesChanged signal.
__setBrowserTabEnabled Private method to set the enabled status of a browser tab.
__setSourcesIcon Private method to set the right icon for the sources browser tab.
getProjectBrowsers Public method to get references to the individual project browsers.
handleEditorChanged Public slot to handle the editorChanged signal.
showEvent Protected method handleing the show event.

ProjectBrowser (Constructor)

ProjectBrowser(project, qtdir, qt4dir, parent = None, embeddedBrowser = True)

Constructor

project
reference to the project object
qtdir
Qt installation directory (string)
parent
parent widget (QWidget)
embeddedBrowser
flag indicating whether the file browser should be included. This flag is set to False by those layouts, that have the file browser in a separate window or embedded in the debeug browser instead

ProjectBrowser.__currentChanged

__currentChanged(index)

Private slot to handle the currentChanged(int) signal.

ProjectBrowser.__newProject

__newProject()

Private slot to handle the newProject signal.

ProjectBrowser.__projectClosed

__projectClosed()

Private slot to handle the projectClosed signal.

ProjectBrowser.__projectOpened

__projectOpened()

Private slot to handle the projectOpened signal.

ProjectBrowser.__projectPropertiesChanged

__projectPropertiesChanged()

Private slot to handle the projectPropertiesChanged signal.

ProjectBrowser.__setBrowserTabEnabled

__setBrowserTabEnabled(browser, enabled)

Private method to set the enabled status of a browser tab.

browser
reference to the browser object (ProjectBaseBrowser)
enabled
flag indicating the enabled status (boolean)

ProjectBrowser.__setSourcesIcon

__setSourcesIcon()

Private method to set the right icon for the sources browser tab.

ProjectBrowser.getProjectBrowsers

getProjectBrowsers()

Public method to get references to the individual project browsers.

Returns:
list of references to project browsers

ProjectBrowser.handleEditorChanged

handleEditorChanged(fn)

Public slot to handle the editorChanged signal.

fn
The filename of the saved files. (string or QString)

ProjectBrowser.showEvent

showEvent(evt)

Protected method handleing the show event.

evt
show event to handle (QShowEvent)

Up