<!DOCTYPE UI><UI version="3.2" stdsetdef="1"> <class>MainWindow</class> <comment>********************************************************************* ** 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 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 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. ** *********************************************************************</comment> <widget class="TQMainWindow"> <property name="name"> <cstring>MainWindow</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>949</width> <height>670</height> </rect> </property> <property name="caption"> <string>TQt Assistant by Trolltech</string> </property> </widget> <menubar> <property name="name"> <cstring>menubar</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>949</width> <height>29</height> </rect> </property> <item text="&File" name="fileMenu"> <action name="actionNewWindow"/> <action name="actionOpenPage"/> <action name="actionClosePage"/> <separator/> <action name="actionFilePrint"/> <separator/> <action name="actionClose"/> <action name="actionFileExit"/> </item> <item text="&Edit" name="editMenu"> <action name="actionEditCopy"/> <action name="actionEditFind"/> <action name="actionEditFindAgain"/> <action name="actionEditFindAgainPrev"/> <separator/> <action name="actionSettings"/> </item> <item text="&View" name="PopupMenu"> <action name="actionZoomIn"/> <action name="actionZoomOut"/> <separator/> </item> <item text="&Go" name="goMenu"> <action name="actionGoPrevious"/> <action name="actionGoNext"/> <action name="actionGoHome"/> <separator/> <action name="actionNextPage"/> <action name="actionPrevPage"/> </item> <item text="Boo&kmarks" name="bookmarkMenu"> </item> <item text="&Help" name="helpMenu"> <action name="actionHelpAssistant"/> <separator/> <action name="helpAbout_TQt_AssistantAction"/> <action name="actionAboutApplication"/> <separator/> <action name="actionHelpWhatsThis"/> </item> </menubar> <toolbars> <toolbar dock="2"> <property name="name"> <cstring>Toolbar</cstring> </property> <property name="label"> <string>Toolbar</string> </property> <action name="actionGoPrevious"/> <action name="actionGoNext"/> <action name="actionGoHome"/> <separator/> <action name="actionEditCopy"/> <action name="actionEditFind"/> <action name="actionFilePrint"/> <separator/> <action name="actionZoomIn"/> <action name="actionZoomOut"/> <separator/> <action name="actionHelpWhatsThis"/> </toolbar> <toolbar dock="2"> <property name="name"> <cstring>goActionToolbar</cstring> </property> <property name="label"> <string>Go</string> </property> </toolbar> </toolbars> <actions> <action> <property name="name"> <cstring>actionFilePrint</cstring> </property> <property name="iconSet"> <iconset>print.png</iconset> </property> <property name="text"> <string>Print</string> </property> <property name="menuText"> <string>&Print...</string> </property> <property name="whatsThis"> <string>Print the currently displayed page.</string> </property> <property name="accel"> <string>Ctrl+P</string> </property> </action> <action> <property name="name"> <cstring>actionFileExit</cstring> </property> <property name="text"> <string>Exit</string> </property> <property name="menuText"> <string>E&xit</string> </property> <property name="whatsThis"> <string>Quit TQt Assistant.</string> </property> <property name="accel"> <string>Ctrl+Q</string> </property> </action> <action> <property name="name"> <cstring>actionEditCopy</cstring> </property> <property name="iconSet"> <iconset>editcopy.png</iconset> </property> <property name="text"> <string>Copy</string> </property> <property name="menuText"> <string>&Copy</string> </property> <property name="whatsThis"> <string>Copy the selected text to the clipboard.</string> </property> <property name="accel"> <string>Ctrl+C</string> </property> </action> <action> <property name="name"> <cstring>actionEditFind</cstring> </property> <property name="iconSet"> <iconset>find.png</iconset> </property> <property name="text"> <string>Find in Text</string> </property> <property name="menuText"> <string>&Find in Text...</string> </property> <property name="whatsThis"> <string>Open the Find dialog. TQt Assistant will search the currently displayed page for the text you enter.</string> </property> <property name="accel"> <string>Ctrl+F</string> </property> </action> <action> <property name="name"> <cstring>actionEditFindAgain</cstring> </property> <property name="menuText"> <string>Find &Next</string> </property> <property name="text"> <string>Find Next</string> </property> <property name="accel"> <string>F3</string> </property> </action> <action> <property name="name"> <cstring>actionEditFindAgainPrev</cstring> </property> <property name="menuText"> <string>Find &Previous</string> </property> <property name="text"> <string>Find Previous</string> </property> <property name="accel"> <string>Shift+F3</string> </property> </action> <action> <property name="name"> <cstring>actionGoHome</cstring> </property> <property name="iconSet"> <iconset>home.png</iconset> </property> <property name="text"> <string>Home</string> </property> <property name="menuText"> <string>&Home</string> </property> <property name="whatsThis"> <string>Go to the home page. TQt Assistant's home page is the TQt Reference Documentation.</string> </property> <property name="accel"> <string>Ctrl+Home</string> </property> </action> <action> <property name="name"> <cstring>actionGoPrevious</cstring> </property> <property name="iconSet"> <iconset>previous.png</iconset> </property> <property name="text"> <string>Previous</string> </property> <property name="menuText"> <string>&Previous</string> </property> <property name="whatsThis"> <string>Go to the previous page.</string> </property> <property name="accel"> <string>Alt+Left</string> </property> </action> <action> <property name="name"> <cstring>actionGoNext</cstring> </property> <property name="iconSet"> <iconset>next.png</iconset> </property> <property name="text"> <string>Next</string> </property> <property name="menuText"> <string>&Next</string> </property> <property name="whatsThis"> <string>Go to the next page.</string> </property> <property name="accel"> <string>Alt+Right</string> </property> </action> <action> <property name="name"> <cstring>helpAbout_TQt_AssistantAction</cstring> </property> <property name="text"> <string>About TQt Assistant</string> </property> <property name="menuText"> <string>About TQt Assistant</string> </property> <property name="whatsThis"> <string>Display further information about TQt Assistant.</string> </property> </action> <action> <property name="name"> <cstring>actionAboutApplication</cstring> </property> </action> <action> <property name="name"> <cstring>actionZoomIn</cstring> </property> <property name="iconSet"> <iconset>zoomin.png</iconset> </property> <property name="text"> <string>Zoom in</string> </property> <property name="menuText"> <string>Zoom &in</string> </property> <property name="whatsThis"> <string>Zoom in on the document, i.e. increase the font size.</string> </property> <property name="accel"> <string>Ctrl++</string> </property> </action> <action> <property name="name"> <cstring>actionZoomOut</cstring> </property> <property name="iconSet"> <iconset>zoomout.png</iconset> </property> <property name="text"> <string>Zoom out</string> </property> <property name="menuText"> <string>Zoom &out</string> </property> <property name="whatsThis"> <string>Zoom out on the document, i.e. decrease the font size.</string> </property> <property name="accel"> <string>Ctrl+-</string> </property> </action> <action> <property name="name"> <cstring>actionSettings</cstring> </property> <property name="text"> <string>Settings</string> </property> <property name="menuText"> <string>&Settings...</string> </property> <property name="whatsThis"> <string>Open the settings dialog.</string> </property> </action> <action> <property name="name"> <cstring>actionNewWindow</cstring> </property> <property name="text"> <string>New Window</string> </property> <property name="menuText"> <string>New Window</string> </property> <property name="whatsThis"> <string>Open a new window.</string> </property> <property name="accel"> <string>Ctrl+N</string> </property> </action> <action> <property name="name"> <cstring>actionClose</cstring> </property> <property name="text"> <string>Close</string> </property> <property name="menuText"> <string>&Close</string> </property> <property name="whatsThis"> <string>Close the current window.</string> </property> </action> <action> <property name="name"> <cstring>actionAddBookmark</cstring> </property> <property name="text"> <string>Add Bookmark</string> </property> <property name="menuText"> <string>&Add Bookmark</string> </property> <property name="whatsThis"> <string>Add the currently displayed page as a new bookmark.</string> </property> </action> <action> <property name="name"> <cstring>actionHelpWhatsThis</cstring> </property> <property name="iconSet"> <iconset>whatsthis.xpm</iconset> </property> <property name="text"> <string>What's This?</string> </property> <property name="statusTip"> <string>"What's This?" context sensitive help.</string> </property> <property name="whatsThis"> <string>"What's This?" context sensitive help.</string> </property> <property name="accel"> <string>Shift+F1</string> </property> </action> <action> <property name="name"> <cstring>actionOpenPage</cstring> </property> <property name="text"> <string>Add Tab</string> </property> <property name="accel"> <string>Ctrl+Alt+N</string> </property> </action> <action> <property name="name"> <cstring>actionNextPage</cstring> </property> <property name="text"> <string>Next Tab</string> </property> <property name="accel"> <string>Ctrl+Alt+Right</string> </property> </action> <action> <property name="name"> <cstring>actionPrevPage</cstring> </property> <property name="text"> <string>Previous Tab</string> </property> <property name="accel"> <string>Ctrl+Alt+Left</string> </property> </action> <action> <property name="name"> <cstring>actionClosePage</cstring> </property> <property name="text"> <string>Close Tab</string> </property> <property name="accel"> <string>Ctrl+Alt+Q</string> </property> </action> <action> <property name="name"> <cstring>actionHelpAssistant</cstring> </property> <property name="iconSet"> <iconset>assistant.png</iconset> </property> <property name="text"> <string>TQt Assistant Manual</string> </property> <property name="accel"> <string>F1</string> </property> </action> </actions> <connections> <connection> <sender>actionGoHome</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>goHome()</slot> </connection> <connection> <sender>helpAbout_TQt_AssistantAction</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>about()</slot> </connection> <connection> <sender>actionEditFind</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>find()</slot> </connection> <connection> <sender>actionEditFindAgain</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>findAgain()</slot> </connection> <connection> <sender>actionEditFindAgainPrev</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>findAgainPrev()</slot> </connection> <connection> <sender>actionFilePrint</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>print()</slot> </connection> <connection> <sender>actionSettings</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>showSettingsDialog()</slot> </connection> <connection> <sender>actionNewWindow</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>newWindow()</slot> </connection> <connection> <sender>actionClose</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>close()</slot> </connection> <connection> <sender>actionHelpWhatsThis</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>whatsThis()</slot> </connection> <connection> <sender>actionHelpAssistant</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>showAssistantHelp()</slot> </connection> <connection> <sender>actionAboutApplication</sender> <signal>activated()</signal> <receiver>MainWindow</receiver> <slot>aboutApplication()</slot> </connection> </connections> <includes> <include location="global" impldecl="in implementation">ntqtoolbutton.h</include> <include location="local" impldecl="in implementation">settingsdialogimpl.h</include> <include location="global" impldecl="in implementation">ntqmessagebox.h</include> <include location="global" impldecl="in implementation">ntqfontdatabase.h</include> <include location="global" impldecl="in implementation">ntqaccel.h</include> <include location="global" impldecl="in implementation">ntqcombobox.h</include> <include location="global" impldecl="in implementation">ntqpaintdevicemetrics.h</include> <include location="global" impldecl="in implementation">ntqsimplerichtext.h</include> <include location="global" impldecl="in implementation">ntqfileinfo.h</include> <include location="global" impldecl="in implementation">ntqtextstream.h</include> <include location="global" impldecl="in implementation">ntqdockwindow.h</include> <include location="global" impldecl="in implementation">stdlib.h</include> <include location="global" impldecl="in implementation">ntqmime.h</include> <include location="local" impldecl="in implementation">helpwindow.h</include> <include location="global" impldecl="in implementation">ntqstylesheet.h</include> <include location="global" impldecl="in implementation">ntqapplication.h</include> <include location="local" impldecl="in implementation">helpdialogimpl.h</include> <include location="global" impldecl="in implementation">ntqdir.h</include> <include location="global" impldecl="in implementation">ntqprinter.h</include> <include location="global" impldecl="in implementation">ntqpainter.h</include> <include location="global" impldecl="in implementation">ntqurl.h</include> <include location="global" impldecl="in implementation">ntqstatusbar.h</include> <include location="global" impldecl="in implementation">ntqlineedit.h</include> <include location="global" impldecl="in implementation">ntqsettings.h</include> <include location="global" impldecl="in implementation">ntqcheckbox.h</include> <include location="local" impldecl="in implementation">tabbedbrowser.h</include> <include location="global" impldecl="in declaration">ntqptrlist.h</include> <include location="global" impldecl="in declaration">ntqguardedptr.h</include> <include location="global" impldecl="in declaration">ntqmap.h</include> <include location="local" impldecl="in declaration">finddialog.h</include> <include location="global" impldecl="in declaration">ntqstringlist.h</include> <include location="local" impldecl="in declaration">helpwindow.h</include> <include location="local" impldecl="in implementation">mainwindow.ui.h</include> </includes> <forwards> <forward>class SettingsDialog;</forward> <forward>class HelpDialog;</forward> <forward>class TabbedBrowser;</forward> <forward>class TQTimerEvent;</forward> </forwards> <variables> <variable>TQPtrList<TQAction> *goActions;</variable> <variable>int setupCompleted:1;</variable> <variable>TabbedBrowser *tabs;</variable> <variable>SettingsDialog * settingsDia;</variable> <variable>TQMap<int, TQString> bookmarks;</variable> <variable>HelpDialog *helpDock;</variable> <variable>TQDockWindow *dw;</variable> <variable>TQGuardedPtr<FindDialog> findDialog;</variable> <variable>static TQPtrList<MainWindow> *windows;</variable> <variable>TQMap<TQAction*,TQString> *goActionDocFiles;</variable> <variable>TQStringList pendingLinks;</variable> <variable>TQPtrList<HelpWindow> pendingBrowsers</variable> </variables> <slots> <slot>init()</slot> <slot>setup()</slot> <slot>destroy()</slot> <slot>about()</slot> <slot>aboutApplication()</slot> <slot>find()</slot> <slot>findAgain()</slot> <slot>findAgainPrev()</slot> <slot>goHome()</slot> <slot>print()</slot> <slot>updateBookmarkMenu()</slot> <slot>setupBookmarkMenu()</slot> <slot>showBookmark( int id )</slot> <slot>showLinkFromClient( const TQString & link )</slot> <slot>showLink( const TQString & link )</slot> <slot>showLinks( const TQStringList & links )</slot> <slot>showTQtHelp()</slot> <slot>showSettingsDialog()</slot> <slot>showWebBrowserSettings()</slot> <slot>showSettingsDialog( int page )</slot> <slot>hide()</slot> <slot returnType="MainWindow *">newWindow()</slot> <slot>saveSettings()</slot> <slot>saveToolbarSettings()</slot> <slot>showSearchLink( const TQString & link, const TQStringList & terms )</slot> <slot>showGoActionLink()</slot> <slot>showAssistantHelp()</slot> <slot>updateProfileSettings()</slot> <slot>backwardAvailable(bool)</slot> <slot>forwardAvailable(bool)</slot> <slot>browserTabChanged()</slot> </slots> <functions> <function access="private">setupGoActions()</function> <function access="private" returnType="bool">insertActionSeparator()</function> <function returnType="bool">close( bool alsoDelete )</function> <function specifier="non virtual" returnType="TabbedBrowser *">browsers()</function> <function returnType="HelpDialog*">helpDialog()</function> <function>timerEvent(TQTimerEvent *)</function> </functions> <pixmapinproject/> <layoutdefaults spacing="6" margin="11"/> </UI>