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