1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0" stdsetdef="1">
3  <author></author>
4  <comment>*********************************************************************
5**
6** Copyright (C) 2015 The Qt Company Ltd.
7** Contact: http://www.qt.io/licensing/
8**
9** This file is part of the test suite of the Qt Toolkit.
10**
11** $QT_BEGIN_LICENSE:LGPL$
12** Commercial License Usage
13** Licensees holding valid commercial Qt licenses may use this file in
14** accordance with the commercial license agreement provided with the
15** Software or, alternatively, in accordance with the terms contained in
16** a written agreement between you and The Qt Company. For licensing terms
17** and conditions see http://www.qt.io/terms-conditions. For further
18** information use the contact form at http://www.qt.io/contact-us.
19**
20** GNU Lesser General Public License Usage
21** Alternatively, this file may be used under the terms of the GNU Lesser
22** General Public License version 2.1 or version 3 as published by the Free
23** Software Foundation and appearing in the file LICENSE.LGPLv21 and
24** LICENSE.LGPLv3 included in the packaging of this file. Please review the
25** following information to ensure the GNU Lesser General Public License
26** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
27** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
28**
29** As a special exception, The Qt Company gives you certain additional
30** rights. These rights are described in The Qt Company LGPL Exception
31** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
32**
33** GNU General Public License Usage
34** Alternatively, this file may be used under the terms of the GNU
35** General Public License version 3.0 as published by the Free Software
36** Foundation and appearing in the file LICENSE.GPL included in the
37** packaging of this file.  Please review the following information to
38** ensure the GNU General Public License version 3.0 requirements will be
39** met: http://www.gnu.org/copyleft/gpl.html.
40**
41** $QT_END_LICENSE$
42**
43*********************************************************************</comment>
44  <exportmacro></exportmacro>
45  <class>CreateTemplate</class>
46  <widget class="QDialog" name="CreateTemplate">
47    <property name="geometry">
48      <rect>
49        <x>0</x>
50        <y>0</y>
51        <width>347</width>
52        <height>248</height>
53      </rect>
54    </property>
55    <property name="windowTitle">
56      <string>Create Template</string>
57    </property>
58    <property name="sizeGripEnabled">
59      <bool>true</bool>
60    </property>
61    <layout class="QGridLayout">
62      <property name="margin">
63        <number>11</number>
64      </property>
65      <property name="spacing">
66        <number>6</number>
67      </property>
68      <item row="0" column="0">
69        <widget class="QLabel" name="TextLabel1">
70          <property name="text">
71            <string>Template &amp;Name:</string>
72          </property>
73          <property name="buddy">
74            <cstring>editName</cstring>
75          </property>
76          <property name="wordWrap">
77            <bool>false</bool>
78          </property>
79        </widget>
80      </item>
81      <item row="0" column="1">
82        <widget class="QLineEdit" name="editName">
83          <property name="toolTip">
84            <string>Name of the new template</string>
85          </property>
86          <property name="whatsThis">
87            <string>Enter the name of the new template</string>
88          </property>
89        </widget>
90      </item>
91      <item row="1" column="1" rowspan="2" colspan="1">
92        <widget class="Q3ListBox" name="listClass">
93          <property name="toolTip">
94            <string>Class of the new template</string>
95          </property>
96          <property name="whatsThis">
97            <string>Enter the name of the class which should be used as the template's base class</string>
98          </property>
99        </widget>
100      </item>
101      <item row="3" column="0" rowspan="1" colspan="2">
102        <layout class="QHBoxLayout">
103          <property name="margin">
104            <number>0</number>
105          </property>
106          <property name="spacing">
107            <number>6</number>
108          </property>
109          <item>
110            <spacer name="Spacer1">
111              <property name="sizeHint">
112                <size>
113                  <width>20</width>
114                  <height>20</height>
115                </size>
116              </property>
117              <property name="sizeType">
118                <enum>QSizePolicy::Expanding</enum>
119              </property>
120              <property name="orientation">
121                <enum>Qt::Horizontal</enum>
122              </property>
123            </spacer>
124          </item>
125          <item>
126            <widget class="QPushButton" name="buttonCreate">
127              <property name="text">
128                <string>C&amp;reate</string>
129              </property>
130              <property name="default">
131                <bool>true</bool>
132              </property>
133              <property name="whatsThis">
134                <string>Creates the new template</string>
135              </property>
136            </widget>
137          </item>
138          <item>
139            <widget class="QPushButton" name="PushButton1">
140              <property name="text">
141                <string>&amp;Cancel</string>
142              </property>
143              <property name="whatsThis">
144                <string>Closes the Dialog</string>
145              </property>
146            </widget>
147          </item>
148        </layout>
149      </item>
150      <item row="1" column="0">
151        <widget class="QLabel" name="TextLabel2">
152          <property name="text">
153            <string>&amp;Baseclass for Template:</string>
154          </property>
155          <property name="buddy">
156            <cstring>listClass</cstring>
157          </property>
158          <property name="wordWrap">
159            <bool>false</bool>
160          </property>
161        </widget>
162      </item>
163      <item row="2" column="0">
164        <spacer name="Spacer2">
165          <property name="sizeHint">
166            <size>
167              <width>20</width>
168              <height>20</height>
169            </size>
170          </property>
171          <property name="sizeType">
172            <enum>QSizePolicy::Expanding</enum>
173          </property>
174          <property name="orientation">
175            <enum>Qt::Vertical</enum>
176          </property>
177        </spacer>
178      </item>
179    </layout>
180  </widget>
181  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
182  <connections>
183    <connection>
184      <sender>buttonCreate</sender>
185      <signal>clicked()</signal>
186      <receiver>CreateTemplate</receiver>
187      <slot>accept()</slot>
188    </connection>
189    <connection>
190      <sender>PushButton1</sender>
191      <signal>clicked()</signal>
192      <receiver>CreateTemplate</receiver>
193      <slot>reject()</slot>
194    </connection>
195  </connections>
196</ui>
197