tests/auto/uic3/baseline/helpdialog.ui.4
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 20:15:53 +0300
branchRCL_3
changeset 13 c0432d11811c
parent 4 3b1da2848fc7
permissions -rw-r--r--
eb175c3290cd7ea85da4a590db9461504a4904bc

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
  <author></author>
  <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>
  <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>&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>
    <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&amp;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>&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>
                  <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>&amp;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>&amp;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>&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>
              </item>
              <item>
                <widget class="Q3ListBox" name="listIndex">
                  <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>
              </item>
            </layout>
          </widget>
          <widget class="QWidget" name="Widget9">
            <attribute name="title">
              <string>&amp;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>&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>
                  </item>
                  <item>
                    <widget class="QPushButton" name="buttonRemove">
                      <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>
                  </item>
                </layout>
              </item>
            </layout>
          </widget>
          <widget class="QWidget" name="searchTab">
            <attribute name="title">
              <string>&amp;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&amp;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>&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>
              </item>
              <item row="5" column="0">
                <widget class="Q3ListBox" name="resultBox">
                  <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>
              </item>
              <item row="4" column="0">
                <widget class="QLabel" name="TextLabel2">
                  <property name="text">
                    <string>Found &amp;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&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>
                  </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>&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>
                  </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>