MainWindow ********************************************************************* ** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. ** ** This file is part of Qt Assistant. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with ** the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** ********************************************************************* MainWindow 0 0 949 670 Qt Assistant by Trolltech menubar 0 0 949 29 Toolbar Toolbar goActionToolbar Go actionFilePrint print.png Print &Print... Print the currently displayed page. Ctrl+P actionFileExit Exit E&xit Quit Qt Assistant. Ctrl+Q actionEditCopy editcopy.png Copy &Copy Copy the selected text to the clipboard. Ctrl+C actionEditFind find.png Find in Text &Find in Text... Open the Find dialog. Qt Assistant will search the currently displayed page for the text you enter. Ctrl+F actionEditFindAgain Find &Next Find Next F3 actionEditFindAgainPrev Find &Previous Find Previous Shift+F3 actionGoHome home.png Home &Home Go to the home page. Qt Assistant's home page is the Qt Reference Documentation. Ctrl+Home actionGoPrevious previous.png Previous &Previous Go to the previous page. Alt+Left actionGoNext next.png Next &Next Go to the next page. Alt+Right helpAbout_Qt_AssistantAction About Qt Assistant About Qt Assistant Display further information about Qt Assistant. actionAboutApplication actionZoomIn zoomin.png Zoom in Zoom &in Zoom in on the document, i.e. increase the font size. Ctrl++ actionZoomOut zoomout.png Zoom out Zoom &out Zoom out on the document, i.e. decrease the font size. Ctrl+- actionSettings Settings &Settings... Open the settings dialog. actionNewWindow New Window New Window Open a new window. Ctrl+N actionClose Close &Close Close the current window. actionAddBookmark Add Bookmark &Add Bookmark Add the currently displayed page as a new bookmark. actionHelpWhatsThis whatsthis.xpm What's This? "What's This?" context sensitive help. "What's This?" context sensitive help. Shift+F1 actionOpenPage Add Tab Ctrl+Alt+N actionNextPage Next Tab Ctrl+Alt+Right actionPrevPage Previous Tab Ctrl+Alt+Left actionClosePage Close Tab Ctrl+Alt+Q actionHelpAssistant assistant.png Qt Assistant Manual F1 actionGoHome activated() MainWindow goHome() helpAbout_Qt_AssistantAction activated() MainWindow about() actionEditFind activated() MainWindow find() actionEditFindAgain activated() MainWindow findAgain() actionEditFindAgainPrev activated() MainWindow findAgainPrev() actionFilePrint activated() MainWindow print() actionSettings activated() MainWindow showSettingsDialog() actionNewWindow activated() MainWindow newWindow() actionClose activated() MainWindow close() actionHelpWhatsThis activated() MainWindow whatsThis() actionHelpAssistant activated() MainWindow showAssistantHelp() actionAboutApplication activated() MainWindow aboutApplication() qtoolbutton.h settingsdialogimpl.h qmessagebox.h qfontdatabase.h qaccel.h qcombobox.h qpaintdevicemetrics.h qsimplerichtext.h qfileinfo.h qtextstream.h qdockwindow.h stdlib.h qmime.h helpwindow.h qstylesheet.h qapplication.h helpdialogimpl.h qdir.h qprinter.h qpainter.h qurl.h qstatusbar.h qlineedit.h qsettings.h qcheckbox.h tabbedbrowser.h qptrlist.h qguardedptr.h qmap.h finddialog.h qstringlist.h helpwindow.h mainwindow.ui.h class SettingsDialog; class HelpDialog; class TabbedBrowser; class QTimerEvent; QPtrList<QAction> *goActions; int setupCompleted:1; TabbedBrowser *tabs; SettingsDialog * settingsDia; QMap<int, QString> bookmarks; HelpDialog *helpDock; QDockWindow *dw; QGuardedPtr<FindDialog> findDialog; static QPtrList<MainWindow> *windows; QMap<QAction*,QString> *goActionDocFiles; QStringList pendingLinks; QPtrList<HelpWindow> pendingBrowsers init() setup() destroy() about() aboutApplication() find() findAgain() findAgainPrev() goHome() print() updateBookmarkMenu() setupBookmarkMenu() showBookmark( int id ) showLinkFromClient( const QString & link ) showLink( const QString & link ) showLinks( const QStringList & links ) showQtHelp() showSettingsDialog() showWebBrowserSettings() showSettingsDialog( int page ) hide() newWindow() saveSettings() saveToolbarSettings() showSearchLink( const QString & link, const QStringList & terms ) showGoActionLink() showAssistantHelp() updateProfileSettings() backwardAvailable(bool) forwardAvailable(bool) browserTabChanged() setupGoActions() insertActionSeparator() close( bool alsoDelete ) browsers() helpDialog() timerEvent(QTimerEvent *)