Module implementing the helpviewer main window.
HelpWindow | Class implementing the helpviewer main window. |
None |
Class implementing the helpviewer main window.
It was ported to PyQt from the Qt examples. This version includes some enhancements to the original like a search dialog, a history and a bookmark function.
HelpWindow | Constructor |
closeEvent | Private event handler for the close event. |
handleAbout | Private slot to show the about information. |
handleAboutQt | Private slot to show info about Qt. |
handleAddBookmark | Private slot called to add the displayed file to the bookmarks. |
handleBookmChosen | Private slot called by the bookmarks menu to display the selected file. |
handleClearHistory | Private slot called to clear the current history. |
handleEditBookmarks | Private slot called to edit the bookmarks. |
handleFind | Private slot to handle the find action. |
handleHistChosen | Private slot called by the history menu to display the selected file. |
handleNewWindow | Public slot called to open a new help window. |
handleOpenFile | Private slot called to open a file. |
handlePathSelected | Private slot called when a file is selected in the combobox. |
handlePrintFile | Private slot called to print the displayed file. |
handleShowBookmarksMenu | Private slot called in order to show the bookmarks menu. |
handleShowHistoryMenu | Private slot called in order to show the history menu. |
handleTextChanged | Private slot called when the displayed text of the combobox is changed. |
initActions | Private method to define the user interface actions. |
initMenus | Private method to create the menus. |
initToolbars | Private method to create the toolbars. |
readBookmarks | Private function to read the bookmarks from the eric3 preferences file. |
readHistory | Private function to read the history from the eric3 preferences file. |
setBackwardAvailable | Private slot called when backward references are available. |
setForwardAvailable | Private slot called when forward references are available. |
writeBookmarks | Public function to write the bookmarks to the eric3 preferences file. |
Constructor
Private event handler for the close event.
This handler saves the current history entries to the eric3 Preferences file.
Private slot to show the about information.
Private slot to show info about Qt.
Private slot called to add the displayed file to the bookmarks.
Private slot called by the bookmarks menu to display the selected file.
Private slot called to clear the current history.
Private slot called to edit the bookmarks.
It opens the bookmark dialog to rearrange, delete or edit the collection of bookmarks.
Private slot to handle the find action.
It opens the search dialog in order to perform the various search actions and to collect the various search info.
Private slot called by the history menu to display the selected file.
Public slot called to open a new help window.
This new help window is a clone of the current one unless a new file is given.
Private slot called to open a file.
Private slot called when a file is selected in the combobox.
Private slot called to print the displayed file.
Private slot called in order to show the bookmarks menu.
Private slot called in order to show the history menu.
Private slot called when the displayed text of the combobox is changed.
Private method to define the user interface actions.
Private method to create the menus.
Private method to create the toolbars.
Private function to read the bookmarks from the eric3 preferences file.
Private function to read the history from the eric3 preferences file.
Private slot called when backward references are available.
Private slot called when forward references are available.
Public function to write the bookmarks to the eric3 preferences file.