MainWindow ********************************************************************* ** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. ** ** This file is part of TQt 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 TQt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing retquirements 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 TQt Commercial licenses may use this file in ** accordance with the TQt 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 TQt 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 TQt 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. TQt 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. TQt Assistant's home page is the TQt 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_TQt_AssistantAction About TQt Assistant About TQt Assistant Display further information about TQt 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 TQt Assistant Manual F1 actionGoHome activated() MainWindow goHome() helpAbout_TQt_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 TQTimerEvent; TQPtrList<TQAction> *goActions; int setupCompleted:1; TabbedBrowser *tabs; SettingsDialog * settingsDia; TQMap<int, TQString> bookmarks; HelpDialog *helpDock; TQDockWindow *dw; TQGuardedPtr<FindDialog> findDialog; static TQPtrList<MainWindow> *windows; TQMap<TQAction*,TQString> *goActionDocFiles; TQStringList pendingLinks; TQPtrList<HelpWindow> pendingBrowsers init() setup() destroy() about() aboutApplication() find() findAgain() findAgainPrev() goHome() print() updateBookmarkMenu() setupBookmarkMenu() showBookmark( int id ) showLinkFromClient( const TQString & link ) showLink( const TQString & link ) showLinks( const TQStringList & links ) showTQtHelp() showSettingsDialog() showWebBrowserSettings() showSettingsDialog( int page ) hide() newWindow() saveSettings() saveToolbarSettings() showSearchLink( const TQString & link, const TQStringList & terms ) showGoActionLink() showAssistantHelp() updateProfileSettings() backwardAvailable(bool) forwardAvailable(bool) browserTabChanged() setupGoActions() insertActionSeparator() close( bool alsoDelete ) browsers() helpDialog() timerEvent(TQTimerEvent *)