util/tests/auto/uic3/baseline/newform.ui
changeset 7 f7bc934e204c
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
       
     1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
       
     2 <class>NewFormBase</class>
       
     3 <comment>*********************************************************************
       
     4 **
       
     5 ** Copyright (C) 2010 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 autotests of the Qt Toolkit.
       
    10 **
       
    11 ** $QT_BEGIN_LICENSE:LGPL$
       
    12 ** No Commercial Usage
       
    13 ** This file contains pre-release code and may not be distributed.
       
    14 ** You may use this file in accordance with the terms and conditions
       
    15 ** contained in the Technology Preview License Agreement accompanying
       
    16 ** this package.
       
    17 **
       
    18 ** GNU Lesser General Public License Usage
       
    19 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    20 ** General Public License version 2.1 as published by the Free Software
       
    21 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    22 ** packaging of this file.  Please review the following information to
       
    23 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    25 **
       
    26 ** In addition, as a special exception, Nokia gives you certain additional
       
    27 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    29 **
       
    30 ** If you have questions regarding the use of this file, please contact
       
    31 ** Nokia at qt-info@nokia.com.
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 **
       
    40 ** $QT_END_LICENSE$
       
    41 **
       
    42 *********************************************************************</comment>
       
    43 <widget class="QDialog">
       
    44     <property name="name">
       
    45         <cstring>NewFormBase</cstring>
       
    46     </property>
       
    47     <property name="geometry">
       
    48         <rect>
       
    49             <x>0</x>
       
    50             <y>0</y>
       
    51             <width>557</width>
       
    52             <height>436</height>
       
    53         </rect>
       
    54     </property>
       
    55     <property name="caption">
       
    56         <string>New File</string>
       
    57     </property>
       
    58     <property name="sizeGripEnabled">
       
    59         <bool>true</bool>
       
    60     </property>
       
    61     <property name="whatsThis" stdset="0">
       
    62         <string>&lt;b&gt;New Form&lt;/b&gt;&lt;p&gt;Select a template for the new form and click the &lt;b&gt;OK&lt;/b&gt;-button to create it.&lt;/p&gt;</string>
       
    63     </property>
       
    64     <grid>
       
    65         <property name="name">
       
    66             <cstring>unnamed</cstring>
       
    67         </property>
       
    68         <property name="margin">
       
    69             <number>11</number>
       
    70         </property>
       
    71         <property name="spacing">
       
    72             <number>6</number>
       
    73         </property>
       
    74         <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
       
    75             <property name="name">
       
    76                 <cstring>Layout1</cstring>
       
    77             </property>
       
    78             <hbox>
       
    79                 <property name="name">
       
    80                     <cstring>unnamed</cstring>
       
    81                 </property>
       
    82                 <property name="margin">
       
    83                     <number>0</number>
       
    84                 </property>
       
    85                 <property name="spacing">
       
    86                     <number>6</number>
       
    87                 </property>
       
    88                 <widget class="QPushButton">
       
    89                     <property name="name">
       
    90                         <cstring>helpButton</cstring>
       
    91                     </property>
       
    92                     <property name="text">
       
    93                         <string>&amp;Help</string>
       
    94                     </property>
       
    95                     <property name="autoDefault">
       
    96                         <bool>true</bool>
       
    97                     </property>
       
    98                 </widget>
       
    99                 <spacer>
       
   100                     <property name="name">
       
   101                         <cstring>Horizontal Spacing2</cstring>
       
   102                     </property>
       
   103                     <property name="orientation">
       
   104                         <enum>Horizontal</enum>
       
   105                     </property>
       
   106                     <property name="sizeType">
       
   107                         <enum>Expanding</enum>
       
   108                     </property>
       
   109                     <property name="sizeHint">
       
   110                         <size>
       
   111                             <width>20</width>
       
   112                             <height>20</height>
       
   113                         </size>
       
   114                     </property>
       
   115                 </spacer>
       
   116                 <widget class="QPushButton">
       
   117                     <property name="name">
       
   118                         <cstring>buttonOk</cstring>
       
   119                     </property>
       
   120                     <property name="text">
       
   121                         <string>&amp;OK</string>
       
   122                     </property>
       
   123                     <property name="autoDefault">
       
   124                         <bool>true</bool>
       
   125                     </property>
       
   126                     <property name="default">
       
   127                         <bool>true</bool>
       
   128                     </property>
       
   129                     <property name="whatsThis" stdset="0">
       
   130                         <string>Create a new form using the selected template.</string>
       
   131                     </property>
       
   132                 </widget>
       
   133                 <widget class="QPushButton">
       
   134                     <property name="name">
       
   135                         <cstring>buttonCancel</cstring>
       
   136                     </property>
       
   137                     <property name="text">
       
   138                         <string>&amp;Cancel</string>
       
   139                     </property>
       
   140                     <property name="autoDefault">
       
   141                         <bool>true</bool>
       
   142                     </property>
       
   143                     <property name="whatsThis" stdset="0">
       
   144                         <string>Close the dialog without creating a new form.</string>
       
   145                     </property>
       
   146                 </widget>
       
   147             </hbox>
       
   148         </widget>
       
   149         <widget class="QIconView" row="1" column="0" rowspan="1" colspan="3">
       
   150             <property name="name">
       
   151                 <cstring>templateView</cstring>
       
   152             </property>
       
   153             <property name="gridX">
       
   154                 <number>120</number>
       
   155             </property>
       
   156             <property name="resizeMode">
       
   157                 <enum>Adjust</enum>
       
   158             </property>
       
   159             <property name="itemsMovable">
       
   160                 <bool>false</bool>
       
   161             </property>
       
   162             <property name="wordWrapIconText">
       
   163                 <bool>true</bool>
       
   164             </property>
       
   165             <property name="whatsThis" stdset="0">
       
   166                 <string>Displays a list of the available templates.</string>
       
   167             </property>
       
   168         </widget>
       
   169         <widget class="QLabel" row="0" column="0">
       
   170             <property name="name">
       
   171                 <cstring>labelProject</cstring>
       
   172             </property>
       
   173             <property name="text">
       
   174                 <string>&amp;Insert into:</string>
       
   175             </property>
       
   176             <property name="buddy" stdset="0">
       
   177                 <cstring>projectCombo</cstring>
       
   178             </property>
       
   179         </widget>
       
   180         <widget class="QComboBox" row="0" column="1">
       
   181             <property name="name">
       
   182                 <cstring>projectCombo</cstring>
       
   183             </property>
       
   184         </widget>
       
   185         <spacer row="0" column="2">
       
   186             <property name="name">
       
   187                 <cstring>Spacer2</cstring>
       
   188             </property>
       
   189             <property name="orientation">
       
   190                 <enum>Horizontal</enum>
       
   191             </property>
       
   192             <property name="sizeType">
       
   193                 <enum>Expanding</enum>
       
   194             </property>
       
   195             <property name="sizeHint">
       
   196                 <size>
       
   197                     <width>20</width>
       
   198                     <height>20</height>
       
   199                 </size>
       
   200             </property>
       
   201         </spacer>
       
   202     </grid>
       
   203 </widget>
       
   204 <connections>
       
   205     <connection>
       
   206         <sender>buttonOk</sender>
       
   207         <signal>clicked()</signal>
       
   208         <receiver>NewFormBase</receiver>
       
   209         <slot>accept()</slot>
       
   210     </connection>
       
   211     <connection>
       
   212         <sender>buttonCancel</sender>
       
   213         <signal>clicked()</signal>
       
   214         <receiver>NewFormBase</receiver>
       
   215         <slot>reject()</slot>
       
   216     </connection>
       
   217     <connection>
       
   218         <sender>projectCombo</sender>
       
   219         <signal>activated(const QString&amp;)</signal>
       
   220         <receiver>NewFormBase</receiver>
       
   221         <slot>projectChanged(const QString&amp;)</slot>
       
   222     </connection>
       
   223     <connection>
       
   224         <sender>templateView</sender>
       
   225         <signal>currentChanged(QIconViewItem*)</signal>
       
   226         <receiver>NewFormBase</receiver>
       
   227         <slot>itemChanged(QIconViewItem*)</slot>
       
   228     </connection>
       
   229     <connection>
       
   230         <sender>templateView</sender>
       
   231         <signal>doubleClicked(QIconViewItem*)</signal>
       
   232         <receiver>NewFormBase</receiver>
       
   233         <slot>accept()</slot>
       
   234     </connection>
       
   235     <connection>
       
   236         <sender>templateView</sender>
       
   237         <signal>returnPressed(QIconViewItem*)</signal>
       
   238         <receiver>NewFormBase</receiver>
       
   239         <slot>accept()</slot>
       
   240     </connection>
       
   241 </connections>
       
   242 <tabstops>
       
   243     <tabstop>templateView</tabstop>
       
   244     <tabstop>helpButton</tabstop>
       
   245     <tabstop>buttonOk</tabstop>
       
   246     <tabstop>buttonCancel</tabstop>
       
   247 </tabstops>
       
   248 <slots>
       
   249     <slot access="protected">itemChanged( QIconViewItem * )</slot>
       
   250     <slot access="protected">projectChanged( const QString &amp; )</slot>
       
   251 </slots>
       
   252 <layoutdefaults spacing="6" margin="11"/>
       
   253 </UI>