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. |
BrowserClassAttributes | Class implementing a BrowserNode that represents the attributes of a python class. |
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. |
getSelectedItems | Public method to get the selected items. |
getSelectedItemsCount | Public method to get the count of items selcted. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleOpen | Private slot to handle the open popup menu entry. |
handlePreferencesChanged | Public slot used to handle the preferencesChanged signal. |
handleProgramChange | Public slot to handle the programChange signal. |
handleUnittest | Private slot to handle the unittest popup menu entry. |
refreshTree | Private slot to refresh the tree. |
wantedSelectedItem | Private method to check type of a listview item. |
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.
Public method to get the selected items.
Public method to get the count of items selcted.
Private slot to show the context menu of the listview.
Private slot to handle the open popup menu entry.
Public slot used to handle the preferencesChanged signal.
Public slot to handle the programChange signal.
Private slot to handle the unittest popup menu entry.
Private slot to refresh the tree. The tree is refreshed by closing all open items and reopening them.
Private method to check type of a listview item.
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 the attributes of a python class.
BrowserClassAttributes | 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 |
compare | Private method to compare two items. |
fileName | Public method returning the filename. |
isDesignerFile | Public method to check, if this file is a Qt-Designer file. |
isDesignerHeaderFile | Public method to check, if this file is a Qt-Designer header 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
Private method to compare two items.
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 Qt-Designer header 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 |
compare | Private method to compare two items. |
setOpen | Public slot to set/reset the open state. |
Constructor
Private method to compare two items.
Public slot to set/reset the open state.
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.