|
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>PhraseBookBox</class> |
|
43 <widget class="QDialog" name="PhraseBookBox" > |
|
44 <property name="geometry" > |
|
45 <rect> |
|
46 <x>0</x> |
|
47 <y>0</y> |
|
48 <width>596</width> |
|
49 <height>454</height> |
|
50 </rect> |
|
51 </property> |
|
52 <property name="windowTitle" > |
|
53 <string>Edit Phrase Book</string> |
|
54 </property> |
|
55 <property name="whatsThis" > |
|
56 <string>This window allows you to add, modify, or delete phrases in a phrase book.</string> |
|
57 </property> |
|
58 <layout class="QHBoxLayout" name="unnamed" > |
|
59 <item> |
|
60 <layout class="QVBoxLayout" name="inputsLayout" > |
|
61 <item> |
|
62 <layout class="QGridLayout" name="gridLayout" > |
|
63 <item row="1" column="0" > |
|
64 <widget class="QLabel" name="target" > |
|
65 <property name="text" > |
|
66 <string>&Translation:</string> |
|
67 </property> |
|
68 <property name="buddy" > |
|
69 <cstring>targetLed</cstring> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item row="1" column="1" > |
|
74 <widget class="QLineEdit" name="targetLed" > |
|
75 <property name="whatsThis" > |
|
76 <string>This is the phrase in the target language corresponding to the source phrase.</string> |
|
77 </property> |
|
78 </widget> |
|
79 </item> |
|
80 <item row="0" column="0" > |
|
81 <widget class="QLabel" name="source" > |
|
82 <property name="text" > |
|
83 <string>S&ource phrase:</string> |
|
84 </property> |
|
85 <property name="buddy" > |
|
86 <cstring>sourceLed</cstring> |
|
87 </property> |
|
88 </widget> |
|
89 </item> |
|
90 <item row="2" column="1" > |
|
91 <widget class="QLineEdit" name="definitionLed" > |
|
92 <property name="whatsThis" > |
|
93 <string>This is a definition for the source phrase.</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item row="0" column="1" > |
|
98 <widget class="QLineEdit" name="sourceLed" > |
|
99 <property name="whatsThis" > |
|
100 <string>This is the phrase in the source language.</string> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 <item row="2" column="0" > |
|
105 <widget class="QLabel" name="definition" > |
|
106 <property name="text" > |
|
107 <string>&Definition:</string> |
|
108 </property> |
|
109 <property name="buddy" > |
|
110 <cstring>definitionLed</cstring> |
|
111 </property> |
|
112 </widget> |
|
113 </item> |
|
114 </layout> |
|
115 </item> |
|
116 <item> |
|
117 <widget class="QTreeView" name="phraseList" > |
|
118 <property name="rootIsDecorated" > |
|
119 <bool>false</bool> |
|
120 </property> |
|
121 <property name="uniformRowHeights" > |
|
122 <bool>true</bool> |
|
123 </property> |
|
124 <property name="itemsExpandable" > |
|
125 <bool>false</bool> |
|
126 </property> |
|
127 <property name="sortingEnabled" > |
|
128 <bool>true</bool> |
|
129 </property> |
|
130 <property name="expandsOnDoubleClick" > |
|
131 <bool>false</bool> |
|
132 </property> |
|
133 </widget> |
|
134 </item> |
|
135 </layout> |
|
136 </item> |
|
137 <item> |
|
138 <layout class="QVBoxLayout" name="buttonLayout" > |
|
139 <item> |
|
140 <widget class="QPushButton" name="newBut" > |
|
141 <property name="whatsThis" > |
|
142 <string>Click here to add the phrase to the phrase book.</string> |
|
143 </property> |
|
144 <property name="text" > |
|
145 <string>&New Phrase</string> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item> |
|
150 <widget class="QPushButton" name="removeBut" > |
|
151 <property name="whatsThis" > |
|
152 <string>Click here to remove the phrase from the phrase book.</string> |
|
153 </property> |
|
154 <property name="text" > |
|
155 <string>&Remove Phrase</string> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 <item> |
|
160 <widget class="QPushButton" name="saveBut" > |
|
161 <property name="whatsThis" > |
|
162 <string>Click here to save the changes made.</string> |
|
163 </property> |
|
164 <property name="text" > |
|
165 <string>&Save</string> |
|
166 </property> |
|
167 </widget> |
|
168 </item> |
|
169 <item> |
|
170 <widget class="QPushButton" name="closeBut" > |
|
171 <property name="whatsThis" > |
|
172 <string>Click here to close this window.</string> |
|
173 </property> |
|
174 <property name="text" > |
|
175 <string>Close</string> |
|
176 </property> |
|
177 </widget> |
|
178 </item> |
|
179 <item> |
|
180 <spacer name="spacer1" > |
|
181 <property name="orientation" > |
|
182 <enum>Qt::Vertical</enum> |
|
183 </property> |
|
184 <property name="sizeType" > |
|
185 <enum>QSizePolicy::Expanding</enum> |
|
186 </property> |
|
187 <property name="sizeHint" stdset="0" > |
|
188 <size> |
|
189 <width>20</width> |
|
190 <height>51</height> |
|
191 </size> |
|
192 </property> |
|
193 </spacer> |
|
194 </item> |
|
195 </layout> |
|
196 </item> |
|
197 </layout> |
|
198 </widget> |
|
199 <layoutdefault spacing="6" margin="11" /> |
|
200 <tabstops> |
|
201 <tabstop>sourceLed</tabstop> |
|
202 <tabstop>targetLed</tabstop> |
|
203 <tabstop>definitionLed</tabstop> |
|
204 <tabstop>newBut</tabstop> |
|
205 <tabstop>removeBut</tabstop> |
|
206 <tabstop>saveBut</tabstop> |
|
207 <tabstop>closeBut</tabstop> |
|
208 </tabstops> |
|
209 <resources/> |
|
210 <connections/> |
|
211 </ui> |