|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>CreateTemplate</class>
|
|
|
|
<comment>*********************************************************************
|
|
|
|
** Copyright (C) 2000 Trolltech AS. All rights reserved.
|
|
|
|
**
|
|
|
|
** This file is part of Qt Designer.
|
|
|
|
**
|
|
|
|
** This file may be distributed and/or modified under the terms of the
|
|
|
|
** GNU General Public License version 2 as published by the Free Software
|
|
|
|
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
|
|
** packaging of this file.
|
|
|
|
**
|
|
|
|
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
|
|
|
** 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
|
|
|
|
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**
|
|
|
|
** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
|
|
|
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
|
|
|
** information about Qt Commercial License Agreements.
|
|
|
|
**
|
|
|
|
** Contact info@trolltech.com if any conditions of this licensing are
|
|
|
|
** not clear to you.
|
|
|
|
**
|
|
|
|
*********************************************************************</comment>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>CreateTemplate</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>347</width>
|
|
|
|
<height>248</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>Create Template</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeGripEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>11</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Template &name:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>editName</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>editName</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Name of the new template</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Enter the name of the new template</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQListBox" row="1" column="1" rowspan="2" colspan="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>listClass</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Class of the new template</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Enter the name of the class which should be used as the template's base class</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Layout1</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="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonCreate</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>C&reate</string>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Creates the new template</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>PushButton1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Closes the Dialog</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Baseclass for template:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>listClass</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<spacer row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonCreate</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>CreateTemplate</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>PushButton1</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>CreateTemplate</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
<includehints>
|
|
|
|
<includehint>klineedit.h</includehint>
|
|
|
|
</includehints>
|
|
|
|
</UI>
|