tests/auto/uic3/baseline/helpdialog.ui
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 22 Apr 2010 16:15:11 +0300
branchRCL_3
changeset 14 8c4229025c0b
parent 4 3b1da2848fc7
permissions -rw-r--r--
930346f3335f271b808bd69409c708262673ba3a

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>HelpDialogBase</class>
<comment>*********************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights.  These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
*********************************************************************</comment>
<widget class="QWidget">
    <property name="name">
        <cstring>HelpDialogBase</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>268</width>
            <height>448</height>
        </rect>
    </property>
    <property name="caption">
        <string>Help</string>
    </property>
    <property name="whatsThis" stdset="0">
        <string>&lt;b&gt;Help&lt;/b&gt;&lt;p&gt;Choose the topic you want help on from the contents list, or search the index for keywords.&lt;/p&gt;</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <property name="spacing">
            <number>6</number>
        </property>
        <widget class="QTabWidget">
            <property name="name">
                <cstring>tabWidget</cstring>
            </property>
            <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">
                <property name="name">
                    <cstring>contentPage</cstring>
                </property>
                <attribute name="title">
                    <string>Con&amp;tents</string>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>5</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="QListView">
                        <column>
                            <property name="text">
                                <string>Column 1</string>
                            </property>
                            <property name="clickable">
                                <bool>true</bool>
                            </property>
                            <property name="resizable">
                                <bool>true</bool>
                            </property>
                        </column>
                        <property name="name">
                            <cstring>listContents</cstring>
                        </property>
                        <property name="rootIsDecorated">
                            <bool>true</bool>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;b&gt;Help topics organized by category.&lt;/b&gt;&lt;p&gt;Double-click an item to see the topics in that category. To view a topic, just double-click it.&lt;/p&gt;</string>
                        </property>
                    </widget>
                </vbox>
            </widget>
            <widget class="QWidget">
                <property name="name">
                    <cstring>Widget8</cstring>
                </property>
                <attribute name="title">
                    <string>&amp;Index</string>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>5</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="QLabel">
                        <property name="name">
                            <cstring>TextLabel1</cstring>
                        </property>
                        <property name="text">
                            <string>&amp;Look For:</string>
                        </property>
                        <property name="buddy" stdset="0">
                            <cstring>editIndex</cstring>
                        </property>
                    </widget>
                    <widget class="QLineEdit">
                        <property name="name">
                            <cstring>editIndex</cstring>
                        </property>
                        <property name="toolTip" stdset="0">
                            <string>Enter keyword</string>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;b&gt;Enter a keyword.&lt;/b&gt;&lt;p&gt;The list will select an item that matches the entered string best.&lt;/p&gt;</string>
                        </property>
                    </widget>
                    <widget class="QListBox">
                        <property name="name">
                            <cstring>listIndex</cstring>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;b&gt;List of available help topics.&lt;/b&gt;&lt;p&gt;Double-click on an item to open its help page. If more than one is found, you must specify which page you want.&lt;/p&gt;</string>
                        </property>
                    </widget>
                </vbox>
            </widget>
            <widget class="QWidget">
                <property name="name">
                    <cstring>Widget9</cstring>
                </property>
                <attribute name="title">
                    <string>&amp;Bookmarks</string>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>5</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="QListView">
                        <column>
                            <property name="text">
                                <string>Column 1</string>
                            </property>
                            <property name="clickable">
                                <bool>true</bool>
                            </property>
                            <property name="resizable">
                                <bool>true</bool>
                            </property>
                        </column>
                        <property name="name">
                            <cstring>listBookmarks</cstring>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>Displays the list of bookmarks.</string>
                        </property>
                    </widget>
                    <widget class="QLayoutWidget">
                        <property name="name">
                            <cstring>Layout3</cstring>
                        </property>
                        <hbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <property name="margin">
                                <number>0</number>
                            </property>
                            <property name="spacing">
                                <number>6</number>
                            </property>
                            <spacer>
                                <property name="name">
                                    <cstring>Spacer1</cstring>
                                </property>
                                <property name="orientation">
                                    <enum>Horizontal</enum>
                                </property>
                                <property name="sizeType">
                                    <enum>Expanding</enum>
                                </property>
                                <property name="sizeHint">
                                    <size>
                                        <width>20</width>
                                        <height>20</height>
                                    </size>
                                </property>
                            </spacer>
                            <widget class="QPushButton">
                                <property name="name">
                                    <cstring>buttonAdd</cstring>
                                </property>
                                <property name="text">
                                    <string>&amp;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>
                            <widget class="QPushButton">
                                <property name="name">
                                    <cstring>buttonRemove</cstring>
                                </property>
                                <property name="text">
                                    <string>&amp;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>
                        </hbox>
                    </widget>
                </vbox>
            </widget>
            <widget class="QWidget">
                <property name="name">
                    <cstring>searchTab</cstring>
                </property>
                <attribute name="title">
                    <string>&amp;Search</string>
                </attribute>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>5</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <spacer row="3" column="0">
                        <property name="name">
                            <cstring>Spacer3</cstring>
                        </property>
                        <property name="orientation">
                            <enum>Vertical</enum>
                        </property>
                        <property name="sizeType">
                            <enum>Fixed</enum>
                        </property>
                        <property name="sizeHint">
                            <size>
                                <width>20</width>
                                <height>20</height>
                            </size>
                        </property>
                    </spacer>
                    <widget class="QLabel" row="0" column="0">
                        <property name="name">
                            <cstring>TextLabel1_2</cstring>
                        </property>
                        <property name="text">
                            <string>Searching f&amp;or:</string>
                        </property>
                        <property name="buddy" stdset="0">
                            <cstring>termsEdit</cstring>
                        </property>
                    </widget>
                    <widget class="QLineEdit" row="1" column="0">
                        <property name="name">
                            <cstring>termsEdit</cstring>
                        </property>
                        <property name="toolTip" stdset="0">
                            <string>Enter searchword(s).</string>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;b&gt;Enter search word(s).&lt;/b&gt;&lt;p&gt;Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.&lt;/p&gt;</string>
                        </property>
                    </widget>
                    <widget class="QListBox" row="5" column="0">
                        <property name="name">
                            <cstring>resultBox</cstring>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;b&gt;Found documents&lt;/b&gt;&lt;p&gt;This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.&lt;/p&gt;</string>
                        </property>
                    </widget>
                    <widget class="QLabel" row="4" column="0">
                        <property name="name">
                            <cstring>TextLabel2</cstring>
                        </property>
                        <property name="text">
                            <string>Found &amp;Documents:</string>
                        </property>
                        <property name="buddy" stdset="0">
                            <cstring>resultBox</cstring>
                        </property>
                    </widget>
                    <widget class="QLayoutWidget" row="2" column="0">
                        <property name="name">
                            <cstring>Layout2</cstring>
                        </property>
                        <hbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="QPushButton">
                                <property name="name">
                                    <cstring>helpButton</cstring>
                                </property>
                                <property name="text">
                                    <string>He&amp;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>
                            <spacer>
                                <property name="name">
                                    <cstring>Spacer2</cstring>
                                </property>
                                <property name="orientation">
                                    <enum>Horizontal</enum>
                                </property>
                                <property name="sizeType">
                                    <enum>Expanding</enum>
                                </property>
                                <property name="sizeHint">
                                    <size>
                                        <width>61</width>
                                        <height>21</height>
                                    </size>
                                </property>
                            </spacer>
                            <widget class="QPushButton">
                                <property name="name">
                                    <cstring>searchButton</cstring>
                                </property>
                                <property name="text">
                                    <string>&amp;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>
                        </hbox>
                    </widget>
                </grid>
            </widget>
        </widget>
        <widget class="QFrame">
            <property name="name">
                <cstring>framePrepare</cstring>
            </property>
            <property name="frameShape">
                <enum>StyledPanel</enum>
            </property>
            <property name="frameShadow">
                <enum>Raised</enum>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>3</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="QLabel">
                    <property name="name">
                        <cstring>labelPrepare</cstring>
                    </property>
                    <property name="text">
                        <string>Preparing...</string>
                    </property>
                </widget>
                <widget class="QProgressBar">
                    <property name="name">
                        <cstring>progressPrepare</cstring>
                    </property>
                </widget>
            </hbox>
        </widget>
    </vbox>
</widget>
<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(QListBoxItem*)</signal>
        <receiver>HelpDialogBase</receiver>
        <slot>showResultPage(QListBoxItem*)</slot>
    </connection>
    <connection>
        <sender>resultBox</sender>
        <signal>mouseButtonClicked(int, QListBoxItem*, const QPoint &amp;)</signal>
        <receiver>HelpDialogBase</receiver>
        <slot>showResultPage(int, QListBoxItem*, const QPoint &amp; )</slot>
    </connection>
</connections>
<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>
<slots>
    <slot access="protected">init()</slot>
    <slot access="protected">destroy()</slot>
    <slot access="protected">addBookmark()</slot>
    <slot access="protected">currentBookmarkChanged( QListViewItem * )</slot>
    <slot access="protected">currentIndexChanged( QListBoxItem * )</slot>
    <slot access="protected">currentTabChanged( const QString &amp; )</slot>
    <slot access="protected">loadIndexFile()</slot>
    <slot access="protected">currentContentsChanged( QListViewItem * )</slot>
    <slot access="protected">removeBookmark()</slot>
    <slot access="protected">searchInIndex( const QString &amp; )</slot>
    <slot access="protected">showTopic()</slot>
    <slot access="protected">showTopic( int, QListBoxItem *, const QPoint &amp; )</slot>
    <slot access="protected">showSearchHelp()</slot>
    <slot access="protected">startSearch()</slot>
    <slot access="protected">showResultPage( QListBoxItem * )</slot>
    <slot access="protected">showResultPage( int, QListBoxItem *, const QPoint &amp; )</slot>
    <slot access="protected">showResultPage( int, QListViewItem *, const QPoint &amp; )</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>