|
1 <ui version="4.0" > |
|
2 <comment>********************************************************************* |
|
3 ** |
|
4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
5 ** All rights reserved. |
|
6 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
7 ** |
|
8 ** This file is part of the autotests of the Qt Toolkit. |
|
9 ** |
|
10 ** $QT_BEGIN_LICENSE:LGPL$ |
|
11 ** No Commercial Usage |
|
12 ** This file contains pre-release code and may not be distributed. |
|
13 ** You may use this file in accordance with the terms and conditions |
|
14 ** contained in the Technology Preview License Agreement accompanying |
|
15 ** this package. |
|
16 ** |
|
17 ** GNU Lesser General Public License Usage |
|
18 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
19 ** General Public License version 2.1 as published by the Free Software |
|
20 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
21 ** packaging of this file. Please review the following information to |
|
22 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
24 ** |
|
25 ** In addition, as a special exception, Nokia gives you certain additional |
|
26 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
28 ** |
|
29 ** If you have questions regarding the use of this file, please contact |
|
30 ** Nokia at qt-info@nokia.com. |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** $QT_END_LICENSE$ |
|
40 ** |
|
41 *********************************************************************</comment> |
|
42 <class>SaveFormAsTemplate</class> |
|
43 <widget class="QDialog" name="SaveFormAsTemplate" > |
|
44 <property name="windowTitle" > |
|
45 <string>Save Form As Template</string> |
|
46 </property> |
|
47 <layout class="QVBoxLayout" > |
|
48 <item> |
|
49 <layout class="QFormLayout" > |
|
50 <item row="0" column="0" > |
|
51 <widget class="QLabel" name="label" > |
|
52 <property name="frameShape" > |
|
53 <enum>QFrame::NoFrame</enum> |
|
54 </property> |
|
55 <property name="frameShadow" > |
|
56 <enum>QFrame::Plain</enum> |
|
57 </property> |
|
58 <property name="text" > |
|
59 <string>&Name:</string> |
|
60 </property> |
|
61 <property name="textFormat" > |
|
62 <enum>Qt::AutoText</enum> |
|
63 </property> |
|
64 <property name="buddy" > |
|
65 <cstring>templateNameEdit</cstring> |
|
66 </property> |
|
67 </widget> |
|
68 </item> |
|
69 <item row="0" column="1" > |
|
70 <widget class="QLineEdit" name="templateNameEdit" > |
|
71 <property name="minimumSize" > |
|
72 <size> |
|
73 <width>222</width> |
|
74 <height>0</height> |
|
75 </size> |
|
76 </property> |
|
77 <property name="text" > |
|
78 <string/> |
|
79 </property> |
|
80 <property name="echoMode" > |
|
81 <enum>QLineEdit::Normal</enum> |
|
82 </property> |
|
83 </widget> |
|
84 </item> |
|
85 <item row="1" column="0" > |
|
86 <widget class="QLabel" name="label_2" > |
|
87 <property name="frameShape" > |
|
88 <enum>QFrame::NoFrame</enum> |
|
89 </property> |
|
90 <property name="frameShadow" > |
|
91 <enum>QFrame::Plain</enum> |
|
92 </property> |
|
93 <property name="text" > |
|
94 <string>&Category:</string> |
|
95 </property> |
|
96 <property name="textFormat" > |
|
97 <enum>Qt::AutoText</enum> |
|
98 </property> |
|
99 <property name="buddy" > |
|
100 <cstring>categoryCombo</cstring> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 <item row="1" column="1" > |
|
105 <widget class="QComboBox" name="categoryCombo" /> |
|
106 </item> |
|
107 </layout> |
|
108 </item> |
|
109 <item> |
|
110 <widget class="QFrame" name="horizontalLine" > |
|
111 <property name="frameShape" > |
|
112 <enum>QFrame::HLine</enum> |
|
113 </property> |
|
114 <property name="frameShadow" > |
|
115 <enum>QFrame::Sunken</enum> |
|
116 </property> |
|
117 </widget> |
|
118 </item> |
|
119 <item> |
|
120 <widget class="QDialogButtonBox" name="buttonBox" > |
|
121 <property name="orientation" > |
|
122 <enum>Qt::Horizontal</enum> |
|
123 </property> |
|
124 <property name="standardButtons" > |
|
125 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
126 </property> |
|
127 </widget> |
|
128 </item> |
|
129 </layout> |
|
130 </widget> |
|
131 <resources/> |
|
132 <connections> |
|
133 <connection> |
|
134 <sender>buttonBox</sender> |
|
135 <signal>accepted()</signal> |
|
136 <receiver>SaveFormAsTemplate</receiver> |
|
137 <slot>accept()</slot> |
|
138 <hints> |
|
139 <hint type="sourcelabel" > |
|
140 <x>256</x> |
|
141 <y>124</y> |
|
142 </hint> |
|
143 <hint type="destinationlabel" > |
|
144 <x>113</x> |
|
145 <y>143</y> |
|
146 </hint> |
|
147 </hints> |
|
148 </connection> |
|
149 <connection> |
|
150 <sender>buttonBox</sender> |
|
151 <signal>rejected()</signal> |
|
152 <receiver>SaveFormAsTemplate</receiver> |
|
153 <slot>reject()</slot> |
|
154 <hints> |
|
155 <hint type="sourcelabel" > |
|
156 <x>332</x> |
|
157 <y>127</y> |
|
158 </hint> |
|
159 <hint type="destinationlabel" > |
|
160 <x>372</x> |
|
161 <y>147</y> |
|
162 </hint> |
|
163 </hints> |
|
164 </connection> |
|
165 </connections> |
|
166 </ui> |