Module implementing the baseclass for the various project browsers.
None |
ProjectBaseBrowser | Baseclass implementing common functionality for the various project browsers. |
None |
Baseclass implementing common functionality for the various project browsers.
None |
None |
ProjectBaseBrowser | Constructor |
__checkHookKey | Private method to check a hook key. |
__modelRowsInserted | Private slot called after rows have been inserted into the model. |
_collapseAllDirs | Protected slot to handle the 'Collapse all directories' menu action. |
_completeRepopulateItem | Protected slot to handle the completeRepopulateItem signal. |
_configure | Protected method to open the configuration dialog. |
_connectExpandedCollapsed | Protected method to connect the expanded and collapsed signals. |
_contextMenuRequested | Protected slot to show the context menu. |
_copyToClipboard | Protected method to copy the path of an entry to the clipboard. |
_createPopupMenus | Protected overloaded method to generate the popup menus. |
_deleteDirectory | Protected method to delete the selected directory from the project data area. |
_disconnectExpandedCollapsed | Protected method to disconnect the expanded and collapsed signals. |
_expandAllDirs | Protected slot to handle the 'Expand all directories' menu action. |
_initHookMethods | Protected method to initialize the hooks dictionary. |
_initMenusAndVcs | Protected slot to initialize the menus and the Vcs interface. |
_keyboardSearchType | Protected method to check, if the item is of the correct type. |
_newProject | Protected slot to handle the newProject signal. |
_prepareRepopulateItem | Protected slot to handle the prepareRepopulateItem signal. |
_projectClosed | Protected slot to handle the projectClosed signal. |
_projectOpened | Protected slot to handle the projectOpened signal. |
_removeDir | Protected method to remove a (single) directory from the project. |
_removeFile | Protected method to remove a file or files from the project. |
_renameFile | Protected method to rename a file of the project. |
_selectEntries | Protected method to select entries based on their VCS status. |
_selectSingleItem | Protected method to select a single item. |
_setItemRangeSelected | Protected method to set the selection status of a range of items. |
_setItemSelected | Protected method to set the selection status of an item. |
_showContextMenu | Protected slot called before the context menu is shown. |
_showContextMenuBack | Protected slot called before the context menu is shown. |
_showContextMenuDir | Protected slot called before the context menu is shown. |
_showContextMenuDirMulti | Protected slot called before the context menu is shown. |
_showContextMenuMulti | Protected slot called before the context menu (multiple selections) is shown. |
addHookMethod | Public method to add a hook method to the dictionary. |
addHookMethodAndMenuEntry | Public method to add a hook method to the dictionary. |
currentItem | Public method to get a reference to the current item. |
expandItemsByName | Public method to expand items given their names. |
getExpandedItemNames | Public method to get the file/directory names of all expanded items. |
removeHookMethod | Public method to remove a hook method from the dictionary. |
selectFile | Public method to highlight a node given its filename. |
selectFileLine | Public method to highlight a node given its filename. |
selectLocalDirEntries | Public slot to handle the select local directories context menu entries. |
selectLocalEntries | Public slot to handle the select local files context menu entries. |
selectVCSDirEntries | Public slot to handle the select VCS directories context menu entries. |
selectVCSEntries | Public slot to handle the select VCS files context menu entries. |
None |
Constructor
Private method to check a hook key.
Private slot called after rows have been inserted into the model.
Protected slot to handle the 'Collapse all directories' menu action.
Protected slot to handle the completeRepopulateItem signal.
Protected method to open the configuration dialog.
Protected method to connect the expanded and collapsed signals.
Protected slot to show the context menu.
Protected method to copy the path of an entry to the clipboard.
Protected overloaded method to generate the popup menus.
Protected method to delete the selected directory from the project data area.
Protected method to disconnect the expanded and collapsed signals.
Protected slot to handle the 'Expand all directories' menu action.
Protected method to initialize the hooks dictionary.
This method should be overridden by subclasses. All supported hook methods should be initialized with a None value. The keys must be strings.
Protected slot to initialize the menus and the Vcs interface.
Protected method to check, if the item is of the correct type.
Protected slot to handle the newProject signal.
Protected slot to handle the prepareRepopulateItem signal.
Protected slot to handle the projectClosed signal.
Protected slot to handle the projectOpened signal.
Protected method to remove a (single) directory from the project.
Protected method to remove a file or files from the project.
Protected method to rename a file of the project.
Protected method to select entries based on their VCS status.
Protected method to select a single item.
Protected method to set the selection status of a range of items.
Protected method to set the selection status of an item.
Protected 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.
Protected slot called before the context menu is shown.
Protected slot called before the context menu is shown.
It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.
Protected slot called before the context menu is shown.
It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.
Protected slot called before the context menu (multiple selections) is shown.
It enables/disables the VCS menu entries depending on the overall VCS status and the files status.
Public method to add a hook method to the dictionary.
Public method to add a hook method to the dictionary.
Public method to get a reference to the current item.
Public method to expand items given their names.
Public method to get the file/directory names of all expanded items.
Public method to remove a hook method from the dictionary.
Public method to highlight a node given its filename.
Public method to highlight a node given its filename.
Public slot to handle the select local directories context menu entries.
Public slot to handle the select local files context menu entries.
Public slot to handle the select VCS directories context menu entries.
Public slot to handle the select VCS files context menu entries.