Module implementing the viewmanager base class.
None |
QuickSearchLineEdit | Class implementing a line edit that reacts to newline and cancel commands. |
ViewManager | Base class inherited by all specific viewmanager classes. |
None |
Class implementing a line edit that reacts to newline and cancel commands.
None |
None |
editorCommand | Public method to perform an editor command. |
focusInEvent | Re-implemented to record the current editor widget. |
keyPressEvent | Re-implemented to handle the press of the ESC key. |
None |
Public method to perform an editor command.
Re-implemented to record the current editor widget.
Re-implemented to handle the press of the ESC key.
Base class inherited by all specific viewmanager classes.
It defines the interface to be implemented by specific viewmanager classes and all common methods.
None |
None |
ViewManager | Constructor |
__addBookmarked | Private method to add the current file to the list of bookmarked files. |
__autosave | Private slot to save the contents of all editors automatically. |
__bookmarkSelected | Private method to handle the bookmark selected signal. |
__bookmarkToggled | Private slot to handle the bookmarkToggled signal. |
__breakpointToggled | Private slot to handle the breakpointToggled signal. |
__clearAllBookmarks | Private method to handle the clear all bookmarks action. |
__clearAllSyntaxErrors | Private method to handle the clear all syntax errors action. |
__clearBookmarked | Private method to clear the bookmarked files menu. |
__clearRecent | Private method to clear the recent files menu. |
__connectEditor | Private method to establish all editor connections. |
__convertEOL | Private method to handle the convert line end characters action. |
__coverageMarkersShown | Private slot to handle the coverageMarkersShown signal. |
__cursorChanged | Private slot to handle the cursorChanged signal. |
__editAutoComplete | Private method to handle the autocomplete action. |
__editAutoCompleteFromAPIs | Private method to handle the autocomplete from APIs action. |
__editAutoCompleteFromAll | Private method to handle the autocomplete from All action. |
__editAutoCompleteFromDoc | Private method to handle the autocomplete from document action. |
__editBookmarked | Private method to edit the list of bookmarked files. |
__editBoxComment | Private method to handle the box comment action. |
__editComment | Private method to handle the comment action. |
__editCopy | Private method to handle the copy action. |
__editCut | Private method to handle the cut action. |
__editDelete | Private method to handle the delete action. |
__editDeselectAll | Private method to handle the select all action. |
__editIndent | Private method to handle the indent action. |
__editPaste | Private method to handle the paste action. |
__editRedo | Private method to handle the redo action. |
__editRevert | Private method to handle the revert action. |
__editSelectAll | Private method to handle the select all action. |
__editSelectBrace | Private method to handle the select to brace action. |
__editShowCallTips | Private method to handle the calltips action. |
__editSmartIndent | Private method to handle the smart indent action |
__editStreamComment | Private method to handle the stream comment action. |
__editUncomment | Private method to handle the uncomment action. |
__editUndo | Private method to handle the undo action. |
__editUnindent | Private method to handle the unindent action. |
__editorAutoCompletionAPIsAvailable | Private method to handle the availability of API autocompletion signal. |
__editorCommand | Private method to send an editor command to the active window. |
__editorConfigChanged | Private method to handle changes of an editors configuration (e.g. |
__editorOpened | Private slot to handle the editorOpened signal. |
__editorSaved | Private slot to handle the editorSaved signal. |
__enableSpellingActions | Private method to set the enabled state of the spelling actions. |
__exportMenuTriggered | Private method to handle the selection of an export format. |
__findFileName | Private method to handle the search for file action. |
__goto | Private method to handle the goto action. |
__gotoBrace | Private method to handle the goto brace action. |
__gotoSyntaxError | Private method to handle the goto syntax error action. |
__initBookmarkActions | Private method defining the user interface actions for the bookmarks commands. |
__initContextMenuExporters | Private method used to setup the Exporters sub menu. |
__initEditActions | Private method defining the user interface actions for the edit commands. |
__initFileActions | Private method defining the user interface actions for file handling. |
__initMacroActions | Private method defining the user interface actions for the macro commands. |
__initSearchActions | Private method defining the user interface actions for the search commands. |
__initSpellingActions | Private method to initialize the spell checking actions. |
__initViewActions | Private method defining the user interface actions for the view commands. |
__lastEditorClosed | Private slot to handle the lastEditorClosed signal. |
__loadRecent | Private method to load the recently opened filenames. |
__macroDelete | Private method to handle the delete macro action. |
__macroLoad | Private method to handle the load macro action. |
__macroRun | Private method to handle the run macro action. |
__macroSave | Private method to handle the save macro action. |
__macroStartRecording | Private method to handle the start macro recording action. |
__macroStopRecording | Private method to handle the stop macro recording action. |
__newLineBelow | Private method to insert a new line below the current one even if cursor is not at the end of the line. |
__nextBookmark | Private method to handle the next bookmark action. |
__nextTask | Private method to handle the next task action. |
__nextUncovered | Private method to handle the next uncovered action. |
__openSourceFile | Private method to open a file from the list of rencently opened files. |
__previousBookmark | Private method to handle the previous bookmark action. |
__previousTask | Private method to handle the previous task action. |
__previousUncovered | Private method to handle the previous uncovered action. |
__quickSearch | Private slot to handle the incremental quick search. |
__quickSearchEnter | Private slot to handle the incremental quick search return pressed (jump back to text) |
__quickSearchEscape | Private slot to handle the incremental quick search escape pressed (jump back to text) |
__quickSearchExtend | Private method to handle the quicksearch extend action. |
__quickSearchFocusIn | Private method to handle a focus in signal of the quicksearch lineedit. |
__quickSearchInEditor | Private slot to perform a quick search. |
__quickSearchMarkOccurrences | Private method to mark all occurrences of the search text. |
__quickSearchPrev | Private slot to handle the quickFindPrev toolbutton action. |
__quickSearchSetEditColors | Private method to set the quick search edit colors. |
__quickSearchText | Private slot to handle the textChanged signal of the quicksearch edit. |
__replace | Private method to handle the replace action. |
__replaceFiles | Private method to handle the replace in files action. |
__saveRecent | Private method to save the list of recently opened filenames. |
__search | Private method to handle the search action. |
__searchClearMarkers | Private method to clear the search markers of the active window. |
__searchFiles | Private method to handle the search in files action. |
__setAutoSpellChecking | Private slot to set the automatic spell checking of all editors. |
__setSbFile | Private method to set the file info in the status bar. |
__shortenEmptyLines | Private method to handle the shorten empty lines action. |
__showBookmarkMenu | Private method to set up the bookmark menu. |
__showBookmarkedMenu | Private method to set up bookmarked files menu. |
__showBookmarksMenu | Private method to handle the show bookmarks menu signal. |
__showFileMenu | Private method to set up the file menu. |
__showRecentMenu | Private method to set up recent files menu. |
__spellCheck | Private slot to perform a spell check of the current editor. |
__splitOrientation | Private method to handle the split orientation action. |
__splitView | Private method to handle the split view action. |
__taskMarkersUpdated | Protected slot to handle the syntaxerrorToggled signal. |
__toggleAll | Private method to handle the toggle all folds action. |
__toggleAllChildren | Private method to handle the toggle all folds (including children) action. |
__toggleBookmark | Private method to handle the toggle bookmark action. |
__toggleCurrent | Private method to handle the toggle current fold action. |
__zoom | Private method to handle the zoom action. |
__zoomIn | Private method to handle the zoom in action. |
__zoomOut | Private method to handle the zoom out action. |
_addView | Protected method to add a view (i.e. |
_checkActions | Protected slot to check some actions for their enable/disable status and set the statusbar info. |
_getOpenFileFilter | Protected method to return the active filename filter for a file open dialog. |
_getOpenStartDir | Protected method to return the starting directory for a file open dialog. |
_initWindowActions | Protected method to define the user interface actions for window handling. |
_modificationStatusChanged | Protected slot to handle the modificationStatusChanged signal. |
_removeAllViews | Protected method to remove all views (i.e. |
_removeView | Protected method to remove a view (i.e. |
_showView | Protected method to show a view (i.e. |
_syntaxErrorToggled | Protected slot to handle the syntaxerrorToggled signal. |
activeWindow | Public method to return the active (i.e. |
addSplit | Public method used to split the current view. |
addToExtrasMenu | Public method to add some actions to the extras menu. |
addToRecentList | Public slot to add a filename to the list of recently opened files. |
appFocusChanged | Public method to handle the global change of focus. |
canCascade | Public method to signal if cascading of managed windows is available. |
canSplit | Public method to signal if splitting of the view is available. |
canTile | Public method to signal if tiling of managed windows is available. |
cascade | Public method to cascade the managed windows. |
checkAllDirty | Public method to check the dirty status of all editors. |
checkDirty | Public method to check dirty status and open a message window. |
cloneEditor | Public method to clone an editor displaying the given document. |
closeAllWindows | Private method to close all editor windows via file menu. |
closeCurrentWindow | Public method to close the current window. |
closeEditor | Public method to close an editor window. |
closeEditorWindow | Public method to close an arbitrary source editor. |
closeViewManager | Public method to shutdown the viewmanager. |
closeWindow | Public method to close an arbitrary source editor. |
editorsCheckFocusInEnabled | Public method returning the flag indicating editors should perform focus in checks. |
enableEditorsCheckFocusIn | Public method to set a flag enabling the editors to perform focus in checks. |
eventFilter | Public method called to filter an event. |
exit | Public method to handle the debugged program terminating. |
getAPIsManager | Public method to get a reference to the APIs manager. |
getActions | Public method to get a list of all actions. |
getActiveName | Public method to retrieve the filename of the active window. |
getEditor | Public method to return the editor displaying the given file. |
getMostRecent | Public method to get the most recently opened file. |
getOpenEditor | Public method to return the editor displaying the given file. |
getOpenEditorCount | Public method to return the count of editors displaying the given file. |
getOpenEditors | Public method to get references to all open editors. |
getOpenEditorsCount | Public method to get the number of open editors. |
getOpenFilenames | Public method returning a list of the filenames of all editors. |
getSRHistory | Public method to get the search or replace history list. |
handleResetUI | Public slot to handle the resetUI signal. |
initActions | Public method defining the user interface actions. |
initBookmarkMenu | Public method to create the Bookmark menu |
initBookmarkToolbar | Public method to create the Bookmark toolbar |
initEditMenu | Public method to create the Edit menu |
initEditToolbar | Public method to create the Edit toolbar |
initFileMenu | Public method to create the File menu. |
initFileToolbar | Public method to create the File toolbar. |
initMacroMenu | Public method to create the Macro menu |
initSearchToolbars | Public method to create the Search toolbars |
initSpellingToolbar | Public method to create the Spelling toolbar |
initViewMenu | Public method to create the View menu |
initViewToolbar | Public method to create the View toolbar |
newEditor | Public slot to generate a new empty editor. |
newEditorView | Public method to create a new editor displaying the given document. |
newProject | Public slot to handle the NewProject signal. |
nextSplit | Public slot used to move to the next split. |
openFiles | Public slot to open some files. |
openSourceFile | Public slot to display a file in an editor. |
preferencesChanged | Public slot to handle the preferencesChanged signal. |
prevSplit | Public slot used to move to the previous split. |
printCurrentEditor | Public slot to print the contents of the current editor. |
printEditor | Public slot to print an editor. |
printPreviewCurrentEditor | Public slot to show a print preview of the current editor. |
projectClosed | Public slot to handle the projectClosed signal. |
projectFileRenamed | Public slot to handle the projectFileRenamed signal. |
projectLexerAssociationsChanged | Public slot to handle changes of the project lexer associations. |
projectOpened | Public slot to handle the projectOpened signal. |
removeSplit | Public method used to remove the current split view. |
saveAllEditors | Public slot to save the contents of all editors. |
saveAsCurrentEditor | Public slot to save the contents of the current editor to a new file. |
saveAsEditorEd | Public slot to save the contents of an editor to a new file. |
saveCurrentEditor | Public slot to save the contents of the current editor. |
saveCurrentEditorToProject | Public slot to save the contents of the current editor to the current project. |
saveEditor | Public method to save a named editor file. |
saveEditorEd | Public slot to save the contents of an editor. |
saveEditorToProjectEd | Public slot to save the contents of an editor to the current project. |
saveEditorsList | Public slot to save a list of editors. |
setEditorName | Public method to change the displayed name of the editor. |
setFileLine | Public method to update the user interface when the current program or line changes. |
setReferences | Public method to set some references needed later on. |
setSbInfo | Public method to transfer statusbar info from the user interface to viewmanager. |
setSplitOrientation | Public method used to set the orientation of the split view. |
showDebugSource | Public method to open the given file and highlight the given line in it. |
showWindowMenu | Public method to set up the viewmanager part of the Window menu. |
textForFind | Public method to determine the selection or the current word for the next find operation. |
tile | Public method to tile the managed windows. |
unhighlight | Public method to switch off all highlights. |
None |
Constructor
Private method to add the current file to the list of bookmarked files.
Private slot to save the contents of all editors automatically.
Only named editors will be saved by the autosave timer.
Private method to handle the bookmark selected signal.
Private slot to handle the bookmarkToggled signal.
It checks some bookmark actions and reemits the signal.
Private slot to handle the breakpointToggled signal.
It simply reemits the signal.
Private method to handle the clear all bookmarks action.
Private method to handle the clear all syntax errors action.
Private method to clear the bookmarked files menu.
Private method to clear the recent files menu.
Private method to establish all editor connections.
Private method to handle the convert line end characters action.
Private slot to handle the coverageMarkersShown signal.
Private slot to handle the cursorChanged signal.
It emits the signal cursorChanged with parameter editor.
Private method to handle the autocomplete action.
Private method to handle the autocomplete from APIs action.
Private method to handle the autocomplete from All action.
Private method to handle the autocomplete from document action.
Private method to edit the list of bookmarked files.
Private method to handle the box comment action.
Private method to handle the comment action.
Private method to handle the copy action.
Private method to handle the cut action.
Private method to handle the delete action.
Private method to handle the select all action.
Private method to handle the indent action.
Private method to handle the paste action.
Private method to handle the redo action.
Private method to handle the revert action.
Private method to handle the select all action.
Private method to handle the select to brace action.
Private method to handle the calltips action.
Private method to handle the smart indent action
Private method to handle the stream comment action.
Private method to handle the uncomment action.
Private method to handle the undo action.
Private method to handle the unindent action.
Private method to handle the availability of API autocompletion signal.
Private method to send an editor command to the active window.
Private method to handle changes of an editors configuration (e.g. language).
Private slot to handle the editorOpened signal.
Private slot to handle the editorSaved signal.
It simply reemits the signal.
Private method to set the enabled state of the spelling actions.
Private method to handle the selection of an export format.
Private method to handle the search for file action.
Private method to handle the goto action.
Private method to handle the goto brace action.
Private method to handle the goto syntax error action.
Private method defining the user interface actions for the bookmarks commands.
Private method used to setup the Exporters sub menu.
Private method defining the user interface actions for the edit commands.
Private method defining the user interface actions for file handling.
Private method defining the user interface actions for the macro commands.
Private method defining the user interface actions for the search commands.
Private method to initialize the spell checking actions.
Private method defining the user interface actions for the view commands.
Private slot to handle the lastEditorClosed signal.
Private method to load the recently opened filenames.
Private method to handle the delete macro action.
Private method to handle the load macro action.
Private method to handle the run macro action.
Private method to handle the save macro action.
Private method to handle the start macro recording action.
Private method to handle the stop macro recording action.
Private method to insert a new line below the current one even if cursor is not at the end of the line.
Private method to handle the next bookmark action.
Private method to handle the next task action.
Private method to handle the next uncovered action.
Private method to open a file from the list of rencently opened files.
Private method to handle the previous bookmark action.
Private method to handle the previous task action.
Private method to handle the previous uncovered action.
Private slot to handle the incremental quick search.
Private slot to handle the incremental quick search return pressed (jump back to text)
Private slot to handle the incremental quick search escape pressed (jump back to text)
Private method to handle the quicksearch extend action.
Private method to handle a focus in signal of the quicksearch lineedit.
Private slot to perform a quick search.
Author(s): Maciek Fijalkowski, 2005-07-23
Private method to mark all occurrences of the search text.
Private slot to handle the quickFindPrev toolbutton action.
Private method to set the quick search edit colors.
Private slot to handle the textChanged signal of the quicksearch edit.
Private method to handle the replace action.
Private method to handle the replace in files action.
Private method to save the list of recently opened filenames.
Private method to handle the search action.
Private method to clear the search markers of the active window.
Private method to handle the search in files action.
Private slot to set the automatic spell checking of all editors.
Private method to set the file info in the status bar.
Private method to handle the shorten empty lines action.
Private method to set up the bookmark menu.
Private method to set up bookmarked files menu.
Private method to handle the show bookmarks menu signal.
Private method to set up the file menu.
Private method to set up recent files menu.
Private slot to perform a spell check of the current editor.
Private method to handle the split orientation action.
Private method to handle the split view action.
Protected slot to handle the syntaxerrorToggled signal.
It checks some syntax error actions and reemits the signal.
Private method to handle the toggle all folds action.
Private method to handle the toggle all folds (including children) action.
Private method to handle the toggle bookmark action.
Private method to handle the toggle current fold action.
Private method to handle the zoom action.
Private method to handle the zoom in action.
Private method to handle the zoom out action.
Protected method to add a view (i.e. window)
Protected slot to check some actions for their enable/disable status and set the statusbar info.
Protected method to return the active filename filter for a file open dialog.
The appropriate filename filter is determined by file extension of the currently active editor.
Protected method to return the starting directory for a file open dialog.
The appropriate starting directory is calculated
using the following search order, until a match is found:
1: Directory of currently active editor
2: Directory of currently active Project
3: CWD
Protected method to define the user interface actions for window handling.
Protected slot to handle the modificationStatusChanged signal.
Protected method to remove all views (i.e. windows)
Protected method to remove a view (i.e. window)
Protected method to show a view (i.e. window)
Protected slot to handle the syntaxerrorToggled signal.
It checks some syntax error actions and reemits the signal.
Public method to return the active (i.e. current) window.
Public method used to split the current view.
Public method to add some actions to the extras menu.
Public slot to add a filename to the list of recently opened files.
Public method to handle the global change of focus.
Public method to signal if cascading of managed windows is available.
Public method to signal if splitting of the view is available.
Public method to signal if tiling of managed windows is available.
Public method to cascade the managed windows.
Public method to check the dirty status of all editors.
Public method to check dirty status and open a message window.
Public method to clone an editor displaying the given document.
Private method to close all editor windows via file menu.
Public method to close the current window.
Public method to close an editor window.
Public method to close an arbitrary source editor.
Public method to shutdown the viewmanager.
If it cannot close all editor windows, it aborts the shutdown process.
Public method to close an arbitrary source editor.
Public method returning the flag indicating editors should perform focus in checks.
Public method to set a flag enabling the editors to perform focus in checks.
Public method called to filter an event.
Public method to handle the debugged program terminating.
Public method to get a reference to the APIs manager.
Public method to get a list of all actions.
Public method to retrieve the filename of the active window.
Public method to return the editor displaying the given file.
If there is no editor with the given file, a new editor window is created.
Public method to get the most recently opened file.
Public method to return the editor displaying the given file.
Public method to return the count of editors displaying the given file.
Public method to get references to all open editors.
Public method to get the number of open editors.
Public method returning a list of the filenames of all editors.
Public method to get the search or replace history list.
Public slot to handle the resetUI signal.
Public method defining the user interface actions.
Public method to create the Bookmark menu
Public method to create the Bookmark toolbar
Public method to create the Edit menu
Public method to create the Edit toolbar
Public method to create the File menu.
Public method to create the File toolbar.
Public method to create the Macro menu
Public method to create the Search toolbars
Public method to create the Spelling toolbar
Public method to create the View menu
Public method to create the View toolbar
Public slot to generate a new empty editor.
Public method to create a new editor displaying the given document.
Public slot to handle the NewProject signal.
Public slot used to move to the next split.
Public slot to open some files.
Public slot to display a file in an editor.
Public slot to handle the preferencesChanged signal.
This method performs the following actions
Public slot used to move to the previous split.
Public slot to print the contents of the current editor.
Public slot to print an editor.
Public slot to show a print preview of the current editor.
Public slot to handle the projectClosed signal.
Public slot to handle the projectFileRenamed signal.
Public slot to handle changes of the project lexer associations.
Public slot to handle the projectOpened signal.
Public method used to remove the current split view.
Public slot to save the contents of all editors.
Public slot to save the contents of the current editor to a new file.
Public slot to save the contents of an editor to a new file.
Public slot to save the contents of the current editor.
Public slot to save the contents of the current editor to the current project.
Public method to save a named editor file.
Public slot to save the contents of an editor.
Public slot to save the contents of an editor to the current project.
Public slot to save a list of editors.
Public method to change the displayed name of the editor.
Public method to update the user interface when the current program or line changes.
Public method to set some references needed later on.
Public method to transfer statusbar info from the user interface to viewmanager.
Public method used to set the orientation of the split view.
Public method to open the given file and highlight the given line in it.
Public method to set up the viewmanager part of the Window menu.
Public method to determine the selection or the current word for the next find operation.
Public method to tile the managed windows.
Public method to switch off all highlights.