You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/tools/assistant/mainwindow.ui

671 lines
23 KiB

<!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="&amp;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="&amp;Edit" name="editMenu">
<action name="actionEditCopy"/>
<action name="actionEditFind"/>
<action name="actionEditFindAgain"/>
<action name="actionEditFindAgainPrev"/>
<separator/>
<action name="actionSettings"/>
</item>
<item text="&amp;View" name="PopupMenu">
<action name="actionZoomIn"/>
<action name="actionZoomOut"/>
<separator/>
</item>
<item text="&amp;Go" name="goMenu">
<action name="actionGoPrevious"/>
<action name="actionGoNext"/>
<action name="actionGoHome"/>
<separator/>
<action name="actionNextPage"/>
<action name="actionPrevPage"/>
</item>
<item text="Boo&amp;kmarks" name="bookmarkMenu">
</item>
<item text="&amp;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>&amp;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&amp;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>&amp;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>&amp;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 &amp;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 &amp;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>&amp;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>&amp;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>&amp;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 &amp;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 &amp;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>&amp;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>&amp;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>&amp;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">tqptrlist.h</include>
<include location="global" impldecl="in declaration">ntqguardedptr.h</include>
<include location="global" impldecl="in declaration">tqmap.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&lt;TQAction&gt; *goActions;</variable>
<variable>int setupCompleted:1;</variable>
<variable>TabbedBrowser *tabs;</variable>
<variable>SettingsDialog * settingsDia;</variable>
<variable>TQMap&lt;int, TQString&gt; bookmarks;</variable>
<variable>HelpDialog *helpDock;</variable>
<variable>TQDockWindow *dw;</variable>
<variable>TQGuardedPtr&lt;FindDialog&gt; findDialog;</variable>
<variable>static TQPtrList&lt;MainWindow&gt; *windows;</variable>
<variable>TQMap&lt;TQAction*,TQString&gt; *goActionDocFiles;</variable>
<variable>TQStringList pendingLinks;</variable>
<variable>TQPtrList&lt;HelpWindow&gt; 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 &amp; link )</slot>
<slot>showLink( const TQString &amp; link )</slot>
<slot>showLinks( const TQStringList &amp; 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 &amp; link, const TQStringList &amp; 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>