tests/auto/uiloader/baseline/translatedialog.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     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>TranslateDialog</class>
       
    43  <widget class="QDialog" name="TranslateDialog" >
       
    44   <property name="geometry" >
       
    45    <rect>
       
    46     <x>0</x>
       
    47     <y>0</y>
       
    48     <width>407</width>
       
    49     <height>145</height>
       
    50    </rect>
       
    51   </property>
       
    52   <property name="sizePolicy" >
       
    53    <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
       
    54     <horstretch>0</horstretch>
       
    55     <verstretch>0</verstretch>
       
    56    </sizepolicy>
       
    57   </property>
       
    58   <property name="windowTitle" >
       
    59    <string>Qt Linguist</string>
       
    60   </property>
       
    61   <property name="whatsThis" >
       
    62    <string>This window allows you to search for some text in the translation source file.</string>
       
    63   </property>
       
    64   <layout class="QHBoxLayout" >
       
    65    <property name="spacing" >
       
    66     <number>6</number>
       
    67    </property>
       
    68    <property name="leftMargin" >
       
    69     <number>9</number>
       
    70    </property>
       
    71    <property name="topMargin" >
       
    72     <number>9</number>
       
    73    </property>
       
    74    <property name="rightMargin" >
       
    75     <number>9</number>
       
    76    </property>
       
    77    <property name="bottomMargin" >
       
    78     <number>9</number>
       
    79    </property>
       
    80    <item>
       
    81     <layout class="QVBoxLayout" >
       
    82      <property name="spacing" >
       
    83       <number>6</number>
       
    84      </property>
       
    85      <property name="leftMargin" >
       
    86       <number>0</number>
       
    87      </property>
       
    88      <property name="topMargin" >
       
    89       <number>0</number>
       
    90      </property>
       
    91      <property name="rightMargin" >
       
    92       <number>0</number>
       
    93      </property>
       
    94      <property name="bottomMargin" >
       
    95       <number>0</number>
       
    96      </property>
       
    97      <item>
       
    98       <layout class="QGridLayout" >
       
    99        <property name="leftMargin" >
       
   100         <number>0</number>
       
   101        </property>
       
   102        <property name="topMargin" >
       
   103         <number>0</number>
       
   104        </property>
       
   105        <property name="rightMargin" >
       
   106         <number>0</number>
       
   107        </property>
       
   108        <property name="bottomMargin" >
       
   109         <number>0</number>
       
   110        </property>
       
   111        <property name="horizontalSpacing" >
       
   112         <number>6</number>
       
   113        </property>
       
   114        <property name="verticalSpacing" >
       
   115         <number>6</number>
       
   116        </property>
       
   117        <item row="1" column="1" >
       
   118         <widget class="QLineEdit" name="ledTranslateTo" >
       
   119          <property name="whatsThis" >
       
   120           <string>Type in the text to search for.</string>
       
   121          </property>
       
   122         </widget>
       
   123        </item>
       
   124        <item row="0" column="0" >
       
   125         <widget class="QLabel" name="findWhat" >
       
   126          <property name="text" >
       
   127           <string>Find &amp;source text:</string>
       
   128          </property>
       
   129          <property name="buddy" >
       
   130           <cstring>ledFindWhat</cstring>
       
   131          </property>
       
   132         </widget>
       
   133        </item>
       
   134        <item row="1" column="0" >
       
   135         <widget class="QLabel" name="translateTo" >
       
   136          <property name="text" >
       
   137           <string>&amp;Translate to:</string>
       
   138          </property>
       
   139          <property name="buddy" >
       
   140           <cstring>ledTranslateTo</cstring>
       
   141          </property>
       
   142         </widget>
       
   143        </item>
       
   144        <item row="0" column="1" >
       
   145         <widget class="QLineEdit" name="ledFindWhat" >
       
   146          <property name="whatsThis" >
       
   147           <string>Type in the text to search for.</string>
       
   148          </property>
       
   149         </widget>
       
   150        </item>
       
   151       </layout>
       
   152      </item>
       
   153      <item>
       
   154       <widget class="QGroupBox" name="groupBox" >
       
   155        <property name="title" >
       
   156         <string>Search options</string>
       
   157        </property>
       
   158        <layout class="QVBoxLayout" >
       
   159         <item>
       
   160          <widget class="QCheckBox" name="ckMatchCase" >
       
   161           <property name="whatsThis" >
       
   162            <string>Texts such as 'TeX' and 'tex' are considered as different when checked.</string>
       
   163           </property>
       
   164           <property name="text" >
       
   165            <string>Match &amp;case</string>
       
   166           </property>
       
   167          </widget>
       
   168         </item>
       
   169         <item>
       
   170          <widget class="QCheckBox" name="ckMarkFinished" >
       
   171           <property name="text" >
       
   172            <string>Mark new translation as &amp;finished</string>
       
   173           </property>
       
   174          </widget>
       
   175         </item>
       
   176         <item>
       
   177          <spacer>
       
   178           <property name="orientation" >
       
   179            <enum>Qt::Vertical</enum>
       
   180           </property>
       
   181           <property name="sizeHint" >
       
   182            <size>
       
   183             <width>20</width>
       
   184             <height>40</height>
       
   185            </size>
       
   186           </property>
       
   187          </spacer>
       
   188         </item>
       
   189        </layout>
       
   190       </widget>
       
   191      </item>
       
   192     </layout>
       
   193    </item>
       
   194    <item>
       
   195     <layout class="QVBoxLayout" >
       
   196      <property name="spacing" >
       
   197       <number>6</number>
       
   198      </property>
       
   199      <property name="leftMargin" >
       
   200       <number>0</number>
       
   201      </property>
       
   202      <property name="topMargin" >
       
   203       <number>0</number>
       
   204      </property>
       
   205      <property name="rightMargin" >
       
   206       <number>0</number>
       
   207      </property>
       
   208      <property name="bottomMargin" >
       
   209       <number>0</number>
       
   210      </property>
       
   211      <item>
       
   212       <widget class="QPushButton" name="findNxt" >
       
   213        <property name="whatsThis" >
       
   214         <string>Click here to find the next occurrence of the text you typed in.</string>
       
   215        </property>
       
   216        <property name="text" >
       
   217         <string>Find Next</string>
       
   218        </property>
       
   219        <property name="default" >
       
   220         <bool>true</bool>
       
   221        </property>
       
   222        <property name="flat" >
       
   223         <bool>false</bool>
       
   224        </property>
       
   225       </widget>
       
   226      </item>
       
   227      <item>
       
   228       <widget class="QPushButton" name="translate" >
       
   229        <property name="text" >
       
   230         <string>Translate</string>
       
   231        </property>
       
   232       </widget>
       
   233      </item>
       
   234      <item>
       
   235       <widget class="QPushButton" name="translateAll" >
       
   236        <property name="text" >
       
   237         <string>Translate All</string>
       
   238        </property>
       
   239       </widget>
       
   240      </item>
       
   241      <item>
       
   242       <widget class="QPushButton" name="cancel" >
       
   243        <property name="whatsThis" >
       
   244         <string>Click here to close this window.</string>
       
   245        </property>
       
   246        <property name="text" >
       
   247         <string>Cancel</string>
       
   248        </property>
       
   249       </widget>
       
   250      </item>
       
   251      <item>
       
   252       <spacer>
       
   253        <property name="orientation" >
       
   254         <enum>Qt::Vertical</enum>
       
   255        </property>
       
   256        <property name="sizeType" >
       
   257         <enum>QSizePolicy::Expanding</enum>
       
   258        </property>
       
   259        <property name="sizeHint" >
       
   260         <size>
       
   261          <width>20</width>
       
   262          <height>51</height>
       
   263         </size>
       
   264        </property>
       
   265       </spacer>
       
   266      </item>
       
   267     </layout>
       
   268    </item>
       
   269   </layout>
       
   270  </widget>
       
   271  <layoutdefault spacing="6" margin="11" />
       
   272  <tabstops>
       
   273   <tabstop>ledFindWhat</tabstop>
       
   274   <tabstop>ledTranslateTo</tabstop>
       
   275   <tabstop>findNxt</tabstop>
       
   276   <tabstop>translate</tabstop>
       
   277   <tabstop>translateAll</tabstop>
       
   278   <tabstop>cancel</tabstop>
       
   279   <tabstop>ckMatchCase</tabstop>
       
   280   <tabstop>ckMarkFinished</tabstop>
       
   281  </tabstops>
       
   282  <resources/>
       
   283  <connections>
       
   284   <connection>
       
   285    <sender>cancel</sender>
       
   286    <signal>clicked()</signal>
       
   287    <receiver>TranslateDialog</receiver>
       
   288    <slot>reject()</slot>
       
   289    <hints>
       
   290     <hint type="sourcelabel" >
       
   291      <x>397</x>
       
   292      <y>157</y>
       
   293     </hint>
       
   294     <hint type="destinationlabel" >
       
   295      <x>373</x>
       
   296      <y>109</y>
       
   297     </hint>
       
   298    </hints>
       
   299   </connection>
       
   300  </connections>
       
   301 </ui>