/tools/linguist/linguist/phrasebookbox.ui

https://bitbucket.org/ultra_iter/qt-vtl · Qt · 236 lines · 236 code · 0 blank · 0 comment · 0 complexity · 63589fb07bbca251cc12245d06a962e4 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <comment>*********************************************************************
  4. **
  5. ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
  6. ** All rights reserved.
  7. ** Contact: Nokia Corporation (qt-info@nokia.com)
  8. **
  9. ** This file is part of the Qt Linguist of the Qt Toolkit.
  10. **
  11. ** $QT_BEGIN_LICENSE:LGPL$
  12. ** GNU Lesser General Public License Usage
  13. ** This file may be used under the terms of the GNU Lesser General Public
  14. ** License version 2.1 as published by the Free Software Foundation and
  15. ** appearing in the file LICENSE.LGPL included in the packaging of this
  16. ** file. Please review the following information to ensure the GNU Lesser
  17. ** General Public License version 2.1 requirements will be met:
  18. ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
  19. **
  20. ** In addition, as a special exception, Nokia gives you certain additional
  21. ** rights. These rights are described in the Nokia Qt LGPL Exception
  22. ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
  23. **
  24. ** GNU General Public License Usage
  25. ** Alternatively, this file may be used under the terms of the GNU General
  26. ** Public License version 3.0 as published by the Free Software Foundation
  27. ** and appearing in the file LICENSE.GPL included in the packaging of this
  28. ** file. Please review the following information to ensure the GNU General
  29. ** Public License version 3.0 requirements will be met:
  30. ** http://www.gnu.org/copyleft/gpl.html.
  31. **
  32. ** Other Usage
  33. ** Alternatively, this file may be used in accordance with the terms and
  34. ** conditions contained in a signed written agreement between you and Nokia.
  35. **
  36. **
  37. **
  38. **
  39. **
  40. ** $QT_END_LICENSE$
  41. **
  42. *********************************************************************</comment>
  43. <class>PhraseBookBox</class>
  44. <widget class="QDialog" name="PhraseBookBox">
  45. <property name="geometry">
  46. <rect>
  47. <x>0</x>
  48. <y>0</y>
  49. <width>596</width>
  50. <height>454</height>
  51. </rect>
  52. </property>
  53. <property name="windowTitle">
  54. <string>Edit Phrase Book</string>
  55. </property>
  56. <property name="whatsThis">
  57. <string>This window allows you to add, modify, or delete entries in a phrase book.</string>
  58. </property>
  59. <layout class="QHBoxLayout" name="hboxLayout">
  60. <item>
  61. <layout class="QVBoxLayout" name="inputsLayout">
  62. <item>
  63. <layout class="QGridLayout" name="gridLayout">
  64. <item row="1" column="0">
  65. <widget class="QLabel" name="target">
  66. <property name="text">
  67. <string>&amp;Translation:</string>
  68. </property>
  69. <property name="buddy">
  70. <cstring>targetLed</cstring>
  71. </property>
  72. </widget>
  73. </item>
  74. <item row="1" column="1">
  75. <widget class="QLineEdit" name="targetLed">
  76. <property name="whatsThis">
  77. <string>This is the phrase in the target language corresponding to the source phrase.</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="0" column="0">
  82. <widget class="QLabel" name="source">
  83. <property name="text">
  84. <string>S&amp;ource phrase:</string>
  85. </property>
  86. <property name="buddy">
  87. <cstring>sourceLed</cstring>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="2" column="1">
  92. <widget class="QLineEdit" name="definitionLed">
  93. <property name="whatsThis">
  94. <string>This is a definition for the source phrase.</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="0" column="1">
  99. <widget class="QLineEdit" name="sourceLed">
  100. <property name="whatsThis">
  101. <string>This is the phrase in the source language.</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item row="2" column="0">
  106. <widget class="QLabel" name="definition">
  107. <property name="text">
  108. <string>&amp;Definition:</string>
  109. </property>
  110. <property name="buddy">
  111. <cstring>definitionLed</cstring>
  112. </property>
  113. </widget>
  114. </item>
  115. </layout>
  116. </item>
  117. <item>
  118. <widget class="QTreeView" name="phraseList">
  119. <property name="rootIsDecorated">
  120. <bool>false</bool>
  121. </property>
  122. <property name="uniformRowHeights">
  123. <bool>true</bool>
  124. </property>
  125. <property name="itemsExpandable">
  126. <bool>false</bool>
  127. </property>
  128. <property name="sortingEnabled">
  129. <bool>true</bool>
  130. </property>
  131. <property name="expandsOnDoubleClick">
  132. <bool>false</bool>
  133. </property>
  134. </widget>
  135. </item>
  136. </layout>
  137. </item>
  138. <item>
  139. <layout class="QVBoxLayout" name="buttonLayout">
  140. <item>
  141. <widget class="QPushButton" name="newBut">
  142. <property name="whatsThis">
  143. <string>Click here to add the phrase to the phrase book.</string>
  144. </property>
  145. <property name="text">
  146. <string>&amp;New Entry</string>
  147. </property>
  148. </widget>
  149. </item>
  150. <item>
  151. <widget class="QPushButton" name="removeBut">
  152. <property name="whatsThis">
  153. <string>Click here to remove the entry from the phrase book.</string>
  154. </property>
  155. <property name="text">
  156. <string>&amp;Remove Entry</string>
  157. </property>
  158. </widget>
  159. </item>
  160. <item>
  161. <widget class="QPushButton" name="settingsBut">
  162. <property name="text">
  163. <string>Settin&amp;gs...</string>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="QPushButton" name="saveBut">
  169. <property name="whatsThis">
  170. <string>Click here to save the changes made.</string>
  171. </property>
  172. <property name="text">
  173. <string>&amp;Save</string>
  174. </property>
  175. </widget>
  176. </item>
  177. <item>
  178. <widget class="QPushButton" name="closeBut">
  179. <property name="whatsThis">
  180. <string>Click here to close this window.</string>
  181. </property>
  182. <property name="text">
  183. <string>Close</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <spacer name="spacer1">
  189. <property name="orientation">
  190. <enum>Qt::Vertical</enum>
  191. </property>
  192. <property name="sizeType">
  193. <enum>QSizePolicy::Expanding</enum>
  194. </property>
  195. <property name="sizeHint" stdset="0">
  196. <size>
  197. <width>20</width>
  198. <height>51</height>
  199. </size>
  200. </property>
  201. </spacer>
  202. </item>
  203. </layout>
  204. </item>
  205. </layout>
  206. </widget>
  207. <layoutdefault spacing="6" margin="11"/>
  208. <tabstops>
  209. <tabstop>sourceLed</tabstop>
  210. <tabstop>targetLed</tabstop>
  211. <tabstop>definitionLed</tabstop>
  212. <tabstop>newBut</tabstop>
  213. <tabstop>removeBut</tabstop>
  214. <tabstop>saveBut</tabstop>
  215. <tabstop>closeBut</tabstop>
  216. </tabstops>
  217. <resources/>
  218. <connections>
  219. <connection>
  220. <sender>closeBut</sender>
  221. <signal>clicked()</signal>
  222. <receiver>PhraseBookBox</receiver>
  223. <slot>reject()</slot>
  224. <hints>
  225. <hint type="sourcelabel">
  226. <x>545</x>
  227. <y>166</y>
  228. </hint>
  229. <hint type="destinationlabel">
  230. <x>545</x>
  231. <y>199</y>
  232. </hint>
  233. </hints>
  234. </connection>
  235. </connections>
  236. </ui>