<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" stdsetdef="1"> <author></author> <comment>********************************************************************* ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 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 Nokia Corporation and/or its subsidiary(-ies) (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. ** *********************************************************************</comment> <exportmacro></exportmacro> <class>HelpDialogBase</class> <widget class="QWidget" name="HelpDialogBase"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>268</width> <height>448</height> </rect> </property> <property name="windowTitle"> <string>Help</string> </property> <property name="whatsThis" stdset="0"> <string><b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p></string> </property> <layout class="QVBoxLayout"> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="QTabWidget" name="tabWidget"> <property name="whatsThis" stdset="0"> <string>Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.</string> </property> <widget class="QWidget" name="contentPage"> <attribute name="title"> <string>Con&tents</string> </attribute> <layout class="QVBoxLayout"> <property name="margin"> <number>5</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="Q3ListView" name="listContents"> <property name="rootIsDecorated"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>Help topics organized by category.</b><p>Double-click an item to see the topics in that category. To view a topic, just double-click it.</p></string> </property> <column> <property name="text"> <string>Column 1</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizable"> <bool>true</bool> </property> </column> </widget> </item> </layout> </widget> <widget class="QWidget" name="Widget8"> <attribute name="title"> <string>&Index</string> </attribute> <layout class="QVBoxLayout"> <property name="margin"> <number>5</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="QLabel" name="TextLabel1"> <property name="text"> <string>&Look For:</string> </property> <property name="buddy" stdset="0"> <cstring>editIndex</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLineEdit" name="editIndex"> <property name="toolTip" stdset="0"> <string>Enter keyword</string> </property> <property name="whatsThis" stdset="0"> <string><b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p></string> </property> </widget> </item> <item> <widget class="Q3ListBox" name="listIndex"> <property name="whatsThis" stdset="0"> <string><b>List of available help topics.</b><p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.</p></string> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="Widget9"> <attribute name="title"> <string>&Bookmarks</string> </attribute> <layout class="QVBoxLayout"> <property name="margin"> <number>5</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="Q3ListView" name="listBookmarks"> <property name="whatsThis" stdset="0"> <string>Displays the list of bookmarks.</string> </property> <column> <property name="text"> <string>Column 1</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizable"> <bool>true</bool> </property> </column> </widget> </item> <item> <layout class="QHBoxLayout"> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <item> <spacer name="Spacer1"> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </spacer> </item> <item> <widget class="QPushButton" name="buttonAdd"> <property name="text"> <string>&New</string> </property> <property name="toolTip" stdset="0"> <string>Add new bookmark</string> </property> <property name="whatsThis" stdset="0"> <string>Add the currently displayed page as a new bookmark.</string> </property> </widget> </item> <item> <widget class="QPushButton" name="buttonRemove"> <property name="text"> <string>&Delete</string> </property> <property name="toolTip" stdset="0"> <string>Delete bookmark</string> </property> <property name="whatsThis" stdset="0"> <string>Delete the selected bookmark.</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="searchTab"> <attribute name="title"> <string>&Search</string> </attribute> <layout class="QGridLayout"> <property name="margin"> <number>5</number> </property> <property name="spacing"> <number>6</number> </property> <item row="3" column="0"> <spacer name="Spacer3"> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </spacer> </item> <item row="0" column="0"> <widget class="QLabel" name="TextLabel1_2"> <property name="text"> <string>Searching f&or:</string> </property> <property name="buddy" stdset="0"> <cstring>termsEdit</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLineEdit" name="termsEdit"> <property name="toolTip" stdset="0"> <string>Enter searchword(s).</string> </property> <property name="whatsThis" stdset="0"> <string><b>Enter search word(s).</b><p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.</p></string> </property> </widget> </item> <item row="5" column="0"> <widget class="Q3ListBox" name="resultBox"> <property name="whatsThis" stdset="0"> <string><b>Found documents</b><p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.</p></string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="TextLabel2"> <property name="text"> <string>Found &Documents:</string> </property> <property name="buddy" stdset="0"> <cstring>resultBox</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="2" column="0"> <layout class="QHBoxLayout"> <item> <widget class="QPushButton" name="helpButton"> <property name="text"> <string>He&lp</string> </property> <property name="toolTip" stdset="0"> <string>Display the help page.</string> </property> <property name="whatsThis" stdset="0"> <string>Display the help page for the full text search.</string> </property> </widget> </item> <item> <spacer name="Spacer2"> <property name="sizeHint"> <size> <width>61</width> <height>21</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </spacer> </item> <item> <widget class="QPushButton" name="searchButton"> <property name="text"> <string>&Search</string> </property> <property name="toolTip" stdset="0"> <string>Start searching.</string> </property> <property name="whatsThis" stdset="0"> <string>Pressing this button starts the search.</string> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> </item> <item> <widget class="Q3Frame" name="framePrepare"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout"> <property name="margin"> <number>3</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="QLabel" name="labelPrepare"> <property name="text"> <string>Preparing...</string> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item> <widget class="Q3ProgressBar" name="progressPrepare"/> </item> </layout> </widget> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>tabWidget</tabstop> <tabstop>listContents</tabstop> <tabstop>editIndex</tabstop> <tabstop>listIndex</tabstop> <tabstop>listBookmarks</tabstop> <tabstop>buttonAdd</tabstop> <tabstop>buttonRemove</tabstop> <tabstop>termsEdit</tabstop> <tabstop>searchButton</tabstop> <tabstop>helpButton</tabstop> <tabstop>resultBox</tabstop> </tabstops> <connections> <connection> <sender>buttonAdd</sender> <signal>clicked()</signal> <receiver>HelpDialogBase</receiver> <slot>addBookmark()</slot> </connection> <connection> <sender>buttonRemove</sender> <signal>clicked()</signal> <receiver>HelpDialogBase</receiver> <slot>removeBookmark()</slot> </connection> <connection> <sender>termsEdit</sender> <signal>returnPressed()</signal> <receiver>searchButton</receiver> <slot>animateClick()</slot> </connection> <connection> <sender>helpButton</sender> <signal>clicked()</signal> <receiver>HelpDialogBase</receiver> <slot>showSearchHelp()</slot> </connection> <connection> <sender>searchButton</sender> <signal>clicked()</signal> <receiver>HelpDialogBase</receiver> <slot>startSearch()</slot> </connection> <connection> <sender>resultBox</sender> <signal>returnPressed(Q3ListBoxItem*)</signal> <receiver>HelpDialogBase</receiver> <slot>showResultPage(Q3ListBoxItem*)</slot> </connection> <connection> <sender>resultBox</sender> <signal>mouseButtonClicked(int,Q3ListBoxItem*,QPoint)</signal> <receiver>HelpDialogBase</receiver> <slot>showResultPage(int,Q3ListBoxItem*,QPoint)</slot> </connection> </connections> </ui>