tests/auto/uic3/baseline/createtemplate.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI>
       
     2 <class>CreateTemplate</class>
       
     3 <comment>*********************************************************************
       
     4 **
       
     5 ** Copyright (C) 2009 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 test suite 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>
       
    44     <class>QDialog</class>
       
    45     <property stdset="1">
       
    46         <name>name</name>
       
    47         <cstring>CreateTemplate</cstring>
       
    48     </property>
       
    49     <property stdset="1">
       
    50         <name>geometry</name>
       
    51         <rect>
       
    52             <x>0</x>
       
    53             <y>0</y>
       
    54             <width>347</width>
       
    55             <height>248</height>
       
    56         </rect>
       
    57     </property>
       
    58     <property stdset="1">
       
    59         <name>caption</name>
       
    60         <string>Create Template</string>
       
    61     </property>
       
    62     <property stdset="1">
       
    63         <name>sizeGripEnabled</name>
       
    64         <bool>true</bool>
       
    65     </property>
       
    66     <grid>
       
    67         <property stdset="1">
       
    68             <name>margin</name>
       
    69             <number>11</number>
       
    70         </property>
       
    71         <property stdset="1">
       
    72             <name>spacing</name>
       
    73             <number>6</number>
       
    74         </property>
       
    75         <widget row="0"  column="0" >
       
    76             <class>QLabel</class>
       
    77             <property stdset="1">
       
    78                 <name>name</name>
       
    79                 <cstring>TextLabel1</cstring>
       
    80             </property>
       
    81             <property stdset="1">
       
    82                 <name>text</name>
       
    83                 <string>Template &amp;Name:</string>
       
    84             </property>
       
    85             <property>
       
    86                 <name>buddy</name>
       
    87                 <cstring>editName</cstring>
       
    88             </property>
       
    89         </widget>
       
    90         <widget row="0"  column="1" >
       
    91             <class>QLineEdit</class>
       
    92             <property stdset="1">
       
    93                 <name>name</name>
       
    94                 <cstring>editName</cstring>
       
    95             </property>
       
    96             <property>
       
    97                 <name>toolTip</name>
       
    98                 <string>Name of the new template</string>
       
    99             </property>
       
   100             <property>
       
   101                 <name>whatsThis</name>
       
   102                 <string>Enter the name of the new template</string>
       
   103             </property>
       
   104         </widget>
       
   105         <widget row="1"  column="1"  rowspan="2"  colspan="1" >
       
   106             <class>QListBox</class>
       
   107             <property stdset="1">
       
   108                 <name>name</name>
       
   109                 <cstring>listClass</cstring>
       
   110             </property>
       
   111             <property>
       
   112                 <name>toolTip</name>
       
   113                 <string>Class of the new template</string>
       
   114             </property>
       
   115             <property>
       
   116                 <name>whatsThis</name>
       
   117                 <string>Enter the name of the class which should be used as the template's base class</string>
       
   118             </property>
       
   119         </widget>
       
   120         <widget row="3"  column="0"  rowspan="1"  colspan="2" >
       
   121             <class>QLayoutWidget</class>
       
   122             <property stdset="1">
       
   123                 <name>name</name>
       
   124                 <cstring>Layout1</cstring>
       
   125             </property>
       
   126             <hbox>
       
   127                 <property stdset="1">
       
   128                     <name>margin</name>
       
   129                     <number>0</number>
       
   130                 </property>
       
   131                 <property stdset="1">
       
   132                     <name>spacing</name>
       
   133                     <number>6</number>
       
   134                 </property>
       
   135                 <spacer>
       
   136                     <property>
       
   137                         <name>name</name>
       
   138                         <cstring>Spacer1</cstring>
       
   139                     </property>
       
   140                     <property stdset="1">
       
   141                         <name>orientation</name>
       
   142                         <enum>Horizontal</enum>
       
   143                     </property>
       
   144                     <property stdset="1">
       
   145                         <name>sizeType</name>
       
   146                         <enum>Expanding</enum>
       
   147                     </property>
       
   148                     <property>
       
   149                         <name>sizeHint</name>
       
   150                         <size>
       
   151                             <width>20</width>
       
   152                             <height>20</height>
       
   153                         </size>
       
   154                     </property>
       
   155                 </spacer>
       
   156                 <widget>
       
   157                     <class>QPushButton</class>
       
   158                     <property stdset="1">
       
   159                         <name>name</name>
       
   160                         <cstring>buttonCreate</cstring>
       
   161                     </property>
       
   162                     <property stdset="1">
       
   163                         <name>text</name>
       
   164                         <string>C&amp;reate</string>
       
   165                     </property>
       
   166                     <property stdset="1">
       
   167                         <name>default</name>
       
   168                         <bool>true</bool>
       
   169                     </property>
       
   170                     <property>
       
   171                         <name>whatsThis</name>
       
   172                         <string>Creates the new template</string>
       
   173                     </property>
       
   174                 </widget>
       
   175                 <widget>
       
   176                     <class>QPushButton</class>
       
   177                     <property stdset="1">
       
   178                         <name>name</name>
       
   179                         <cstring>PushButton1</cstring>
       
   180                     </property>
       
   181                     <property stdset="1">
       
   182                         <name>text</name>
       
   183                         <string>&amp;Cancel</string>
       
   184                     </property>
       
   185                     <property>
       
   186                         <name>whatsThis</name>
       
   187                         <string>Closes the Dialog</string>
       
   188                     </property>
       
   189                 </widget>
       
   190             </hbox>
       
   191         </widget>
       
   192         <widget row="1"  column="0" >
       
   193             <class>QLabel</class>
       
   194             <property stdset="1">
       
   195                 <name>name</name>
       
   196                 <cstring>TextLabel2</cstring>
       
   197             </property>
       
   198             <property stdset="1">
       
   199                 <name>text</name>
       
   200                 <string>&amp;Baseclass for Template:</string>
       
   201             </property>
       
   202             <property>
       
   203                 <name>buddy</name>
       
   204                 <cstring>listClass</cstring>
       
   205             </property>
       
   206         </widget>
       
   207         <spacer row="2"  column="0" >
       
   208             <property>
       
   209                 <name>name</name>
       
   210                 <cstring>Spacer2</cstring>
       
   211             </property>
       
   212             <property stdset="1">
       
   213                 <name>orientation</name>
       
   214                 <enum>Vertical</enum>
       
   215             </property>
       
   216             <property stdset="1">
       
   217                 <name>sizeType</name>
       
   218                 <enum>Expanding</enum>
       
   219             </property>
       
   220             <property>
       
   221                 <name>sizeHint</name>
       
   222                 <size>
       
   223                     <width>20</width>
       
   224                     <height>20</height>
       
   225                 </size>
       
   226             </property>
       
   227         </spacer>
       
   228     </grid>
       
   229 </widget>
       
   230 <connections>
       
   231     <connection>
       
   232         <sender>buttonCreate</sender>
       
   233         <signal>clicked()</signal>
       
   234         <receiver>CreateTemplate</receiver>
       
   235         <slot>accept()</slot>
       
   236     </connection>
       
   237     <connection>
       
   238         <sender>PushButton1</sender>
       
   239         <signal>clicked()</signal>
       
   240         <receiver>CreateTemplate</receiver>
       
   241         <slot>reject()</slot>
       
   242     </connection>
       
   243 </connections>
       
   244 </UI>