tests/auto/uic3/baseline/replacedialog.ui.4
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0" stdsetdef="1">
       
     3   <author></author>
       
     4   <comment>*********************************************************************
       
     5 **
       
     6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     7 ** All rights reserved.
       
     8 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     9 **
       
    10 ** This file is part of the autotests of the Qt Toolkit.
       
    11 **
       
    12 ** $QT_BEGIN_LICENSE:LGPL$
       
    13 ** No Commercial Usage
       
    14 ** This file contains pre-release code and may not be distributed.
       
    15 ** You may use this file in accordance with the terms and conditions
       
    16 ** contained in the Technology Preview License Agreement accompanying
       
    17 ** this package.
       
    18 **
       
    19 ** GNU Lesser General Public License Usage
       
    20 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    21 ** General Public License version 2.1 as published by the Free Software
       
    22 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    23 ** packaging of this file.  Please review the following information to
       
    24 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    26 **
       
    27 ** In addition, as a special exception, Nokia gives you certain additional
       
    28 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    30 **
       
    31 ** If you have questions regarding the use of this file, please contact
       
    32 ** Nokia at qt-info@nokia.com.
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 **
       
    40 **
       
    41 ** $QT_END_LICENSE$
       
    42 **
       
    43 *********************************************************************</comment>
       
    44   <exportmacro></exportmacro>
       
    45   <class>ReplaceDialog</class>
       
    46   <widget class="QDialog" name="ReplaceDialog">
       
    47     <property name="geometry">
       
    48       <rect>
       
    49         <x>0</x>
       
    50         <y>0</y>
       
    51         <width>286</width>
       
    52         <height>217</height>
       
    53       </rect>
       
    54     </property>
       
    55     <property name="windowTitle">
       
    56       <string>Replace Text</string>
       
    57     </property>
       
    58     <layout class="QGridLayout">
       
    59       <property name="margin">
       
    60         <number>11</number>
       
    61       </property>
       
    62       <property name="spacing">
       
    63         <number>6</number>
       
    64       </property>
       
    65       <item row="0" column="0" rowspan="1" colspan="2">
       
    66         <layout class="QGridLayout">
       
    67           <property name="margin">
       
    68             <number>0</number>
       
    69           </property>
       
    70           <property name="spacing">
       
    71             <number>6</number>
       
    72           </property>
       
    73           <item row="1" column="0">
       
    74             <widget class="QLabel" name="TextLabel2">
       
    75               <property name="text">
       
    76                 <string>R&amp;eplace</string>
       
    77               </property>
       
    78               <property name="buddy" stdset="0">
       
    79                 <cstring>comboReplace</cstring>
       
    80               </property>
       
    81               <property name="wordWrap">
       
    82                 <bool>false</bool>
       
    83               </property>
       
    84             </widget>
       
    85           </item>
       
    86           <item row="0" column="0">
       
    87             <widget class="QLabel" name="TextLabel1">
       
    88               <property name="text">
       
    89                 <string>&amp;Find</string>
       
    90               </property>
       
    91               <property name="buddy" stdset="0">
       
    92                 <cstring>comboFind</cstring>
       
    93               </property>
       
    94               <property name="wordWrap">
       
    95                 <bool>false</bool>
       
    96               </property>
       
    97             </widget>
       
    98           </item>
       
    99           <item row="0" column="1">
       
   100             <widget class="QComboBox" name="comboFind">
       
   101               <property name="sizePolicy">
       
   102                 <sizepolicy>
       
   103                   <hsizetype>7</hsizetype>
       
   104                   <vsizetype>0</vsizetype>
       
   105                   <horstretch>0</horstretch>
       
   106                   <verstretch>0</verstretch>
       
   107                 </sizepolicy>
       
   108               </property>
       
   109               <property name="editable">
       
   110                 <bool>true</bool>
       
   111               </property>
       
   112             </widget>
       
   113           </item>
       
   114           <item row="1" column="1">
       
   115             <widget class="QComboBox" name="comboReplace">
       
   116               <property name="sizePolicy">
       
   117                 <sizepolicy>
       
   118                   <hsizetype>7</hsizetype>
       
   119                   <vsizetype>0</vsizetype>
       
   120                   <horstretch>0</horstretch>
       
   121                   <verstretch>0</verstretch>
       
   122                 </sizepolicy>
       
   123               </property>
       
   124               <property name="editable">
       
   125                 <bool>true</bool>
       
   126               </property>
       
   127             </widget>
       
   128           </item>
       
   129         </layout>
       
   130       </item>
       
   131       <item row="2" column="0" rowspan="1" colspan="2">
       
   132         <layout class="QHBoxLayout">
       
   133           <property name="margin">
       
   134             <number>0</number>
       
   135           </property>
       
   136           <property name="spacing">
       
   137             <number>6</number>
       
   138           </property>
       
   139           <item>
       
   140             <spacer name="Spacer1">
       
   141               <property name="sizeHint">
       
   142                 <size>
       
   143                   <width>20</width>
       
   144                   <height>20</height>
       
   145                 </size>
       
   146               </property>
       
   147               <property name="sizeType">
       
   148                 <enum>QSizePolicy::Expanding</enum>
       
   149               </property>
       
   150               <property name="orientation">
       
   151                 <enum>Qt::Horizontal</enum>
       
   152               </property>
       
   153             </spacer>
       
   154           </item>
       
   155           <item>
       
   156             <widget class="QPushButton" name="buttonReplace">
       
   157               <property name="text">
       
   158                 <string>&amp;Replace</string>
       
   159               </property>
       
   160               <property name="default">
       
   161                 <bool>true</bool>
       
   162               </property>
       
   163             </widget>
       
   164           </item>
       
   165           <item>
       
   166             <widget class="QPushButton" name="buttonReplaceAll">
       
   167               <property name="text">
       
   168                 <string>Replace &amp;All</string>
       
   169               </property>
       
   170             </widget>
       
   171           </item>
       
   172           <item>
       
   173             <widget class="QPushButton" name="PushButton2">
       
   174               <property name="text">
       
   175                 <string>&amp;Close</string>
       
   176               </property>
       
   177             </widget>
       
   178           </item>
       
   179         </layout>
       
   180       </item>
       
   181       <item row="1" column="0">
       
   182         <widget class="Q3ButtonGroup" name="ButtonGroup1">
       
   183           <property name="title">
       
   184             <string>Options</string>
       
   185           </property>
       
   186           <layout class="QVBoxLayout">
       
   187             <property name="margin">
       
   188               <number>11</number>
       
   189             </property>
       
   190             <property name="spacing">
       
   191               <number>6</number>
       
   192             </property>
       
   193             <item>
       
   194               <widget class="QCheckBox" name="checkWords">
       
   195                 <property name="text">
       
   196                   <string>&amp;Whole words only</string>
       
   197                 </property>
       
   198               </widget>
       
   199             </item>
       
   200             <item>
       
   201               <widget class="QCheckBox" name="checkCase">
       
   202                 <property name="text">
       
   203                   <string>Case &amp;sensitive</string>
       
   204                 </property>
       
   205               </widget>
       
   206             </item>
       
   207             <item>
       
   208               <widget class="QCheckBox" name="checkBegin">
       
   209                 <property name="text">
       
   210                   <string>Start at &amp;Beginning</string>
       
   211                 </property>
       
   212               </widget>
       
   213             </item>
       
   214           </layout>
       
   215         </widget>
       
   216       </item>
       
   217       <item row="1" column="1">
       
   218         <widget class="Q3ButtonGroup" name="ButtonGroup2">
       
   219           <property name="title">
       
   220             <string>Direction</string>
       
   221           </property>
       
   222           <layout class="QVBoxLayout">
       
   223             <property name="margin">
       
   224               <number>11</number>
       
   225             </property>
       
   226             <property name="spacing">
       
   227               <number>6</number>
       
   228             </property>
       
   229             <item>
       
   230               <widget class="QRadioButton" name="radioForward">
       
   231                 <property name="text">
       
   232                   <string>Forwar&amp;d</string>
       
   233                 </property>
       
   234                 <property name="checked">
       
   235                   <bool>true</bool>
       
   236                 </property>
       
   237               </widget>
       
   238             </item>
       
   239             <item>
       
   240               <widget class="QRadioButton" name="radioBackward">
       
   241                 <property name="text">
       
   242                   <string>Bac&amp;kward</string>
       
   243                 </property>
       
   244               </widget>
       
   245             </item>
       
   246           </layout>
       
   247         </widget>
       
   248       </item>
       
   249     </layout>
       
   250   </widget>
       
   251   <layoutdefault spacing="6" margin="11"/>
       
   252   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
       
   253   <tabstops>
       
   254     <tabstop>comboFind</tabstop>
       
   255     <tabstop>comboReplace</tabstop>
       
   256     <tabstop>checkWords</tabstop>
       
   257     <tabstop>checkCase</tabstop>
       
   258     <tabstop>checkBegin</tabstop>
       
   259     <tabstop>radioForward</tabstop>
       
   260     <tabstop>radioBackward</tabstop>
       
   261     <tabstop>buttonReplace</tabstop>
       
   262     <tabstop>buttonReplaceAll</tabstop>
       
   263     <tabstop>PushButton2</tabstop>
       
   264   </tabstops>
       
   265   <connections>
       
   266     <connection>
       
   267       <sender>buttonReplace</sender>
       
   268       <signal>clicked()</signal>
       
   269       <receiver>ReplaceDialog</receiver>
       
   270       <slot>doReplace()</slot>
       
   271     </connection>
       
   272     <connection>
       
   273       <sender>buttonReplaceAll</sender>
       
   274       <signal>clicked()</signal>
       
   275       <receiver>ReplaceDialog</receiver>
       
   276       <slot>doReplaceAll()</slot>
       
   277     </connection>
       
   278     <connection>
       
   279       <sender>PushButton2</sender>
       
   280       <signal>clicked()</signal>
       
   281       <receiver>ReplaceDialog</receiver>
       
   282       <slot>reject()</slot>
       
   283     </connection>
       
   284   </connections>
       
   285 </ui>