Module implementing a browser with class browsing capabilities.
The class browsing part is based on IDLE's classbrowser.
Browser | Class used to display a file system tree. |
BrowserClass | Class implementing a BrowserNode that represents a python class or function. |
BrowserDirectory | Class implementing a BrowserNode that represents a directory. |
BrowserFile | Class implementing a BrowserNode that represents a file. |
BrowserMethod | Class implementing a BrowserNode that represents a python method. |
BrowserNode | Class implementing a thin wrapper around QListViewItem. |
BrowserSysPath | Class implementing a BrowserNode that represents the Python sys.path. |
None |
Class used to display a file system tree.
Via the context menu that is displayed by a right click the user can select various actions on the selected file.
Browser | Constructor |
contentsMouseDoubleClickEvent | Protected method of QListView. |
createPopupMenus | Private method to generate the various popup menus. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleOpen | Private slot to handle the open popup menu entry. |
handleProgramChange | Public slot to handle the programChange signal. |
handleUnittest | Private slot to handle the unittest popup menu entry. |
Constructor
Protected method of QListView.
Reimplemented to disable expanding/collapsing of items when double-clicking. Instead the double-clicked entry is opened.
Private method to generate the various popup menus.
Private slot to show the context menu of the listview.
Private slot to handle the open popup menu entry.
Public slot to handle the programChange signal.
Private slot to handle the unittest popup menu entry.
Class implementing a BrowserNode that represents a python class or function.
BrowserClass | Constructor |
setOpen | Public slot to set/reset the open state. |
Constructor
Public slot to set/reset the open state.
Class implementing a BrowserNode that represents a directory.
BrowserDirectory | Constructor |
fileName | Public method returning the directory name of this node. |
setOpen | Public slot to set/reset the open state. |
Constructor
Public method returning the directory name of this node.
Public slot to set/reset the open state.
Class implementing a BrowserNode that represents a file.
BrowserFile | Constructor |
fileName | Public method returning the filename. |
isDesignerFile | Public method to check, if this file is a Qt-Designer file. |
isIdlFile | Public method to check, if this file is a CORBA IDL file. |
isLinguistFile | Public method to check, if this file is a Qt-Linguist. |
isPixmapFile | Public method to check, if this file is a pixmap file. |
isProjectFile | Public method to check, if this file is an eric3 project file. |
isPythonFile | Public method to check, if this file is a Python script. |
setOpen | Public slot to set/reset the open state. |
Constructor
Public method returning the filename.
Public method to check, if this file is a Qt-Designer file.
Public method to check, if this file is a CORBA IDL file.
Public method to check, if this file is a Qt-Linguist.
Public method to check, if this file is a pixmap file.
Public method to check, if this file is an eric3 project file.
Public method to check, if this file is a Python script.
Public slot to set/reset the open state.
Class implementing a BrowserNode that represents a python method.
BrowserMethod | Constructor |
Constructor
Class implementing a thin wrapper around QListViewItem.
It makes sure that it is positioned after the previous sibling.
BrowserNode | Constructor |
paintCell | Overwritten class to set a different text color, if bold is true. |
Constructor
Overwritten class to set a different text color, if bold is true.
Class implementing a BrowserNode that represents the Python sys.path.
BrowserSysPath | Constructor |
setOpen | Public slot to set/reset the open state. |
Constructor
Public slot to set/reset the open state.