<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" stdsetdef="1"> <author></author> <comment>********************************************************************* ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the autotests 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>TopicChooserBase</class> <widget class="QDialog" name="TopicChooserBase"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>391</width> <height>223</height> </rect> </property> <property name="windowTitle"> <string>Choose Topic</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Select a topic from the list and click the <b>Display</b>-button to open the online help.</string> </property> <layout class="QVBoxLayout"> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <item> <widget class="QLabel" name="label"> <property name="text"> <string>&Topics</string> </property> <property name="buddy" stdset="0"> <cstring>listbox</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item> <widget class="Q3ListBox" name="listbox"> <property name="whatsThis" stdset="0"> <string>Displays a list of available help topics for the keyword.</string> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <item> <spacer name="Horizontal Spacing2"> <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="buttonDisplay"> <property name="text"> <string>&Display</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="default"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Open the topic selected in the list.</string> </property> </widget> </item> <item> <widget class="QPushButton" name="buttonCancel"> <property name="text"> <string>&Close</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Close the Dialog.</string> </property> </widget> </item> </layout> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <connections> <connection> <sender>buttonDisplay</sender> <signal>clicked()</signal> <receiver>TopicChooserBase</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>TopicChooserBase</receiver> <slot>reject()</slot> </connection> <connection> <sender>listbox</sender> <signal>doubleClicked(Q3ListBoxItem*)</signal> <receiver>TopicChooserBase</receiver> <slot>accept()</slot> </connection> <connection> <sender>listbox</sender> <signal>returnPressed(Q3ListBoxItem*)</signal> <receiver>TopicChooserBase</receiver> <slot>accept()</slot> </connection> </connections> </ui>