<ui version="4.0" > <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 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> <class>SaveFormAsTemplate</class> <widget class="QDialog" name="SaveFormAsTemplate" > <property name="windowTitle" > <string>Save Form As Template</string> </property> <layout class="QVBoxLayout" > <item> <layout class="QFormLayout" > <item row="0" column="0" > <widget class="QLabel" name="label" > <property name="frameShape" > <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow" > <enum>QFrame::Plain</enum> </property> <property name="text" > <string>&Name:</string> </property> <property name="textFormat" > <enum>Qt::AutoText</enum> </property> <property name="buddy" > <cstring>templateNameEdit</cstring> </property> </widget> </item> <item row="0" column="1" > <widget class="QLineEdit" name="templateNameEdit" > <property name="minimumSize" > <size> <width>222</width> <height>0</height> </size> </property> <property name="text" > <string/> </property> <property name="echoMode" > <enum>QLineEdit::Normal</enum> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="label_2" > <property name="frameShape" > <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow" > <enum>QFrame::Plain</enum> </property> <property name="text" > <string>&Category:</string> </property> <property name="textFormat" > <enum>Qt::AutoText</enum> </property> <property name="buddy" > <cstring>categoryCombo</cstring> </property> </widget> </item> <item row="1" column="1" > <widget class="QComboBox" name="categoryCombo" /> </item> </layout> </item> <item> <widget class="QFrame" name="horizontalLine" > <property name="frameShape" > <enum>QFrame::HLine</enum> </property> <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="standardButtons" > <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>SaveFormAsTemplate</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>256</x> <y>124</y> </hint> <hint type="destinationlabel" > <x>113</x> <y>143</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>SaveFormAsTemplate</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>332</x> <y>127</y> </hint> <hint type="destinationlabel" > <x>372</x> <y>147</y> </hint> </hints> </connection> </connections> </ui>