| 1 |
<ui version="4.0" > |
| 2 |
<comment>********************************************************************* |
| 3 |
** |
| 4 |
** Copyright (C) 2016 The Qt Company Ltd. |
| 5 |
** Contact: https://www.qt.io/licensing/ |
| 6 |
** |
| 7 |
** This file is part of the autotests of the Qt Toolkit. |
| 8 |
** |
| 9 |
** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
| 10 |
** Commercial License Usage |
| 11 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 12 |
** accordance with the commercial license agreement provided with the |
| 13 |
** Software or, alternatively, in accordance with the terms contained in |
| 14 |
** a written agreement between you and The Qt Company. For licensing terms |
| 15 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 16 |
** information use the contact form at https://www.qt.io/contact-us. |
| 17 |
** |
| 18 |
** GNU General Public License Usage |
| 19 |
** Alternatively, this file may be used under the terms of the GNU |
| 20 |
** General Public License version 3 as published by the Free Software |
| 21 |
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
| 22 |
** included in the packaging of this file. Please review the following |
| 23 |
** information to ensure the GNU General Public License requirements will |
| 24 |
** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
| 25 |
** |
| 26 |
** $QT_END_LICENSE$ |
| 27 |
** |
| 28 |
*********************************************************************</comment> |
| 29 |
<class>PhraseBookBox</class> |
| 30 |
<widget class="QDialog" name="PhraseBookBox" > |
| 31 |
<property name="geometry" > |
| 32 |
<rect> |
| 33 |
<x>0</x> |
| 34 |
<y>0</y> |
| 35 |
<width>596</width> |
| 36 |
<height>454</height> |
| 37 |
</rect> |
| 38 |
</property> |
| 39 |
<property name="windowTitle" > |
| 40 |
<string>Edit Phrase Book</string> |
| 41 |
</property> |
| 42 |
<property name="whatsThis" > |
| 43 |
<string>This window allows you to add, modify, or delete phrases in a phrase book.</string> |
| 44 |
</property> |
| 45 |
<layout class="QHBoxLayout" name="unnamed" > |
| 46 |
<item> |
| 47 |
<layout class="QVBoxLayout" name="inputsLayout" > |
| 48 |
<item> |
| 49 |
<layout class="QGridLayout" name="gridLayout" > |
| 50 |
<item row="1" column="0" > |
| 51 |
<widget class="QLabel" name="target" > |
| 52 |
<property name="text" > |
| 53 |
<string>&Translation:</string> |
| 54 |
</property> |
| 55 |
<property name="buddy" > |
| 56 |
<cstring>targetLed</cstring> |
| 57 |
</property> |
| 58 |
</widget> |
| 59 |
</item> |
| 60 |
<item row="1" column="1" > |
| 61 |
<widget class="QLineEdit" name="targetLed" > |
| 62 |
<property name="whatsThis" > |
| 63 |
<string>This is the phrase in the target language corresponding to the source phrase.</string> |
| 64 |
</property> |
| 65 |
</widget> |
| 66 |
</item> |
| 67 |
<item row="0" column="0" > |
| 68 |
<widget class="QLabel" name="source" > |
| 69 |
<property name="text" > |
| 70 |
<string>S&ource phrase:</string> |
| 71 |
</property> |
| 72 |
<property name="buddy" > |
| 73 |
<cstring>sourceLed</cstring> |
| 74 |
</property> |
| 75 |
</widget> |
| 76 |
</item> |
| 77 |
<item row="2" column="1" > |
| 78 |
<widget class="QLineEdit" name="definitionLed" > |
| 79 |
<property name="whatsThis" > |
| 80 |
<string>This is a definition for the source phrase.</string> |
| 81 |
</property> |
| 82 |
</widget> |
| 83 |
</item> |
| 84 |
<item row="0" column="1" > |
| 85 |
<widget class="QLineEdit" name="sourceLed" > |
| 86 |
<property name="whatsThis" > |
| 87 |
<string>This is the phrase in the source language.</string> |
| 88 |
</property> |
| 89 |
</widget> |
| 90 |
</item> |
| 91 |
<item row="2" column="0" > |
| 92 |
<widget class="QLabel" name="definition" > |
| 93 |
<property name="text" > |
| 94 |
<string>&Definition:</string> |
| 95 |
</property> |
| 96 |
<property name="buddy" > |
| 97 |
<cstring>definitionLed</cstring> |
| 98 |
</property> |
| 99 |
</widget> |
| 100 |
</item> |
| 101 |
</layout> |
| 102 |
</item> |
| 103 |
<item> |
| 104 |
<widget class="QTreeView" name="phraseList" > |
| 105 |
<property name="rootIsDecorated" > |
| 106 |
<bool>false</bool> |
| 107 |
</property> |
| 108 |
<property name="uniformRowHeights" > |
| 109 |
<bool>true</bool> |
| 110 |
</property> |
| 111 |
<property name="itemsExpandable" > |
| 112 |
<bool>false</bool> |
| 113 |
</property> |
| 114 |
<property name="sortingEnabled" > |
| 115 |
<bool>true</bool> |
| 116 |
</property> |
| 117 |
<property name="expandsOnDoubleClick" > |
| 118 |
<bool>false</bool> |
| 119 |
</property> |
| 120 |
</widget> |
| 121 |
</item> |
| 122 |
</layout> |
| 123 |
</item> |
| 124 |
<item> |
| 125 |
<layout class="QVBoxLayout" name="buttonLayout" > |
| 126 |
<item> |
| 127 |
<widget class="QPushButton" name="newBut" > |
| 128 |
<property name="whatsThis" > |
| 129 |
<string>Click here to add the phrase to the phrase book.</string> |
| 130 |
</property> |
| 131 |
<property name="text" > |
| 132 |
<string>&New Phrase</string> |
| 133 |
</property> |
| 134 |
</widget> |
| 135 |
</item> |
| 136 |
<item> |
| 137 |
<widget class="QPushButton" name="removeBut" > |
| 138 |
<property name="whatsThis" > |
| 139 |
<string>Click here to remove the phrase from the phrase book.</string> |
| 140 |
</property> |
| 141 |
<property name="text" > |
| 142 |
<string>&Remove Phrase</string> |
| 143 |
</property> |
| 144 |
</widget> |
| 145 |
</item> |
| 146 |
<item> |
| 147 |
<widget class="QPushButton" name="saveBut" > |
| 148 |
<property name="whatsThis" > |
| 149 |
<string>Click here to save the changes made.</string> |
| 150 |
</property> |
| 151 |
<property name="text" > |
| 152 |
<string>&Save</string> |
| 153 |
</property> |
| 154 |
</widget> |
| 155 |
</item> |
| 156 |
<item> |
| 157 |
<widget class="QPushButton" name="closeBut" > |
| 158 |
<property name="whatsThis" > |
| 159 |
<string>Click here to close this window.</string> |
| 160 |
</property> |
| 161 |
<property name="text" > |
| 162 |
<string>Close</string> |
| 163 |
</property> |
| 164 |
</widget> |
| 165 |
</item> |
| 166 |
<item> |
| 167 |
<spacer name="spacer1" > |
| 168 |
<property name="orientation" > |
| 169 |
<enum>Qt::Vertical</enum> |
| 170 |
</property> |
| 171 |
<property name="sizeType" > |
| 172 |
<enum>QSizePolicy::Expanding</enum> |
| 173 |
</property> |
| 174 |
<property name="sizeHint" stdset="0" > |
| 175 |
<size> |
| 176 |
<width>20</width> |
| 177 |
<height>51</height> |
| 178 |
</size> |
| 179 |
</property> |
| 180 |
</spacer> |
| 181 |
</item> |
| 182 |
</layout> |
| 183 |
</item> |
| 184 |
</layout> |
| 185 |
</widget> |
| 186 |
<layoutdefault spacing="6" margin="11" /> |
| 187 |
<tabstops> |
| 188 |
<tabstop>sourceLed</tabstop> |
| 189 |
<tabstop>targetLed</tabstop> |
| 190 |
<tabstop>definitionLed</tabstop> |
| 191 |
<tabstop>newBut</tabstop> |
| 192 |
<tabstop>removeBut</tabstop> |
| 193 |
<tabstop>saveBut</tabstop> |
| 194 |
<tabstop>closeBut</tabstop> |
| 195 |
</tabstops> |
| 196 |
<resources/> |
| 197 |
<connections/> |
| 198 |
</ui> |