tests/auto/uic3/baseline/variabledialog.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>VariableDialogBase</class>
       
    46   <widget class="QDialog" name="VariableDialogBase">
       
    47     <property name="geometry">
       
    48       <rect>
       
    49         <x>0</x>
       
    50         <y>0</y>
       
    51         <width>276</width>
       
    52         <height>320</height>
       
    53       </rect>
       
    54     </property>
       
    55     <property name="windowTitle">
       
    56       <string>Edit Variables</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="4">
       
    66         <widget class="Q3ListView" name="varView">
       
    67           <property name="frameShape">
       
    68             <enum>QFrame::StyledPanel</enum>
       
    69           </property>
       
    70           <property name="frameShadow">
       
    71             <enum>QFrame::Sunken</enum>
       
    72           </property>
       
    73           <property name="allColumnsShowFocus">
       
    74             <bool>true</bool>
       
    75           </property>
       
    76           <property name="resizeMode">
       
    77             <enum>Q3ListView::LastColumn</enum>
       
    78           </property>
       
    79           <column>
       
    80             <property name="text">
       
    81               <string>Variable</string>
       
    82             </property>
       
    83             <property name="clickable">
       
    84               <bool>true</bool>
       
    85             </property>
       
    86             <property name="resizable">
       
    87               <bool>true</bool>
       
    88             </property>
       
    89           </column>
       
    90           <column>
       
    91             <property name="text">
       
    92               <string>Access</string>
       
    93             </property>
       
    94             <property name="clickable">
       
    95               <bool>true</bool>
       
    96             </property>
       
    97             <property name="resizable">
       
    98               <bool>true</bool>
       
    99             </property>
       
   100           </column>
       
   101         </widget>
       
   102       </item>
       
   103       <item row="1" column="3">
       
   104         <widget class="QPushButton" name="deleteButton">
       
   105           <property name="text">
       
   106             <string>&amp;Delete</string>
       
   107           </property>
       
   108         </widget>
       
   109       </item>
       
   110       <item row="2" column="0" rowspan="1" colspan="4">
       
   111         <widget class="Q3GroupBox" name="propBox">
       
   112           <property name="title">
       
   113             <string>Variable Properties</string>
       
   114           </property>
       
   115           <layout class="QGridLayout">
       
   116             <property name="margin">
       
   117               <number>11</number>
       
   118             </property>
       
   119             <property name="spacing">
       
   120               <number>6</number>
       
   121             </property>
       
   122             <item row="1" column="0">
       
   123               <widget class="QLabel" name="TextLabel2">
       
   124                 <property name="text">
       
   125                   <string>Acc&amp;ess:</string>
       
   126                 </property>
       
   127                 <property name="buddy" stdset="0">
       
   128                   <cstring>accessCombo</cstring>
       
   129                 </property>
       
   130                 <property name="wordWrap">
       
   131                   <bool>false</bool>
       
   132                 </property>
       
   133               </widget>
       
   134             </item>
       
   135             <item row="0" column="0">
       
   136               <widget class="QLabel" name="TextLabel1">
       
   137                 <property name="text">
       
   138                   <string>&amp;Variable:</string>
       
   139                 </property>
       
   140                 <property name="buddy" stdset="0">
       
   141                   <cstring>varName</cstring>
       
   142                 </property>
       
   143                 <property name="wordWrap">
       
   144                   <bool>false</bool>
       
   145                 </property>
       
   146               </widget>
       
   147             </item>
       
   148             <item row="0" column="1">
       
   149               <widget class="QLineEdit" name="varName"/>
       
   150             </item>
       
   151             <item row="1" column="1">
       
   152               <widget class="QComboBox" name="accessCombo">
       
   153                 <item>
       
   154                   <property name="text">
       
   155                     <string>public</string>
       
   156                   </property>
       
   157                 </item>
       
   158                 <item>
       
   159                   <property name="text">
       
   160                     <string>protected</string>
       
   161                   </property>
       
   162                 </item>
       
   163                 <item>
       
   164                   <property name="text">
       
   165                     <string>private</string>
       
   166                   </property>
       
   167                 </item>
       
   168               </widget>
       
   169             </item>
       
   170           </layout>
       
   171         </widget>
       
   172       </item>
       
   173       <item row="1" column="2">
       
   174         <widget class="QPushButton" name="addButton">
       
   175           <property name="text">
       
   176             <string>&amp;Add</string>
       
   177           </property>
       
   178         </widget>
       
   179       </item>
       
   180       <item row="1" column="0" rowspan="1" colspan="2">
       
   181         <spacer name="Spacer2">
       
   182           <property name="sizeHint">
       
   183             <size>
       
   184               <width>0</width>
       
   185               <height>21</height>
       
   186             </size>
       
   187           </property>
       
   188           <property name="sizeType">
       
   189             <enum>QSizePolicy::Expanding</enum>
       
   190           </property>
       
   191           <property name="orientation">
       
   192             <enum>Qt::Horizontal</enum>
       
   193           </property>
       
   194         </spacer>
       
   195       </item>
       
   196       <item row="3" column="3">
       
   197         <widget class="QPushButton" name="cancelButton">
       
   198           <property name="text">
       
   199             <string>&amp;Cancel</string>
       
   200           </property>
       
   201         </widget>
       
   202       </item>
       
   203       <item row="3" column="1" rowspan="1" colspan="2">
       
   204         <widget class="QPushButton" name="okButton">
       
   205           <property name="text">
       
   206             <string>&amp;OK</string>
       
   207           </property>
       
   208         </widget>
       
   209       </item>
       
   210       <item row="3" column="0">
       
   211         <spacer name="Spacer3">
       
   212           <property name="sizeHint">
       
   213             <size>
       
   214               <width>0</width>
       
   215               <height>21</height>
       
   216             </size>
       
   217           </property>
       
   218           <property name="sizeType">
       
   219             <enum>QSizePolicy::Expanding</enum>
       
   220           </property>
       
   221           <property name="orientation">
       
   222             <enum>Qt::Horizontal</enum>
       
   223           </property>
       
   224         </spacer>
       
   225       </item>
       
   226     </layout>
       
   227   </widget>
       
   228   <layoutdefault spacing="6" margin="11"/>
       
   229   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
       
   230   <tabstops>
       
   231     <tabstop>varView</tabstop>
       
   232     <tabstop>addButton</tabstop>
       
   233     <tabstop>deleteButton</tabstop>
       
   234     <tabstop>varName</tabstop>
       
   235     <tabstop>accessCombo</tabstop>
       
   236     <tabstop>okButton</tabstop>
       
   237     <tabstop>cancelButton</tabstop>
       
   238   </tabstops>
       
   239   <connections>
       
   240     <connection>
       
   241       <sender>cancelButton</sender>
       
   242       <signal>clicked()</signal>
       
   243       <receiver>VariableDialogBase</receiver>
       
   244       <slot>reject()</slot>
       
   245     </connection>
       
   246     <connection>
       
   247       <sender>addButton</sender>
       
   248       <signal>clicked()</signal>
       
   249       <receiver>VariableDialogBase</receiver>
       
   250       <slot>addVariable()</slot>
       
   251     </connection>
       
   252     <connection>
       
   253       <sender>okButton</sender>
       
   254       <signal>clicked()</signal>
       
   255       <receiver>VariableDialogBase</receiver>
       
   256       <slot>okClicked()</slot>
       
   257     </connection>
       
   258     <connection>
       
   259       <sender>varName</sender>
       
   260       <signal>textChanged(QString)</signal>
       
   261       <receiver>VariableDialogBase</receiver>
       
   262       <slot>nameChanged()</slot>
       
   263     </connection>
       
   264     <connection>
       
   265       <sender>deleteButton</sender>
       
   266       <signal>clicked()</signal>
       
   267       <receiver>VariableDialogBase</receiver>
       
   268       <slot>deleteVariable()</slot>
       
   269     </connection>
       
   270     <connection>
       
   271       <sender>accessCombo</sender>
       
   272       <signal>activated(int)</signal>
       
   273       <receiver>VariableDialogBase</receiver>
       
   274       <slot>accessChanged()</slot>
       
   275     </connection>
       
   276     <connection>
       
   277       <sender>varView</sender>
       
   278       <signal>currentChanged(Q3ListViewItem*)</signal>
       
   279       <receiver>VariableDialogBase</receiver>
       
   280       <slot>currentItemChanged(Q3ListViewItem*)</slot>
       
   281     </connection>
       
   282     <connection>
       
   283       <sender>varView</sender>
       
   284       <signal>selectionChanged(Q3ListViewItem*)</signal>
       
   285       <receiver>VariableDialogBase</receiver>
       
   286       <slot>currentItemChanged(Q3ListViewItem*)</slot>
       
   287     </connection>
       
   288   </connections>
       
   289 </ui>