tests/auto/uic/baseline/tablewidgeteditor.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <comment>*********************************************************************
       
     3 **
       
     4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 ** All rights reserved.
       
     6 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     7 **
       
     8 ** This file is part of the autotests of the Qt Toolkit.
       
     9 **
       
    10 ** $QT_BEGIN_LICENSE:LGPL$
       
    11 ** No Commercial Usage
       
    12 ** This file contains pre-release code and may not be distributed.
       
    13 ** You may use this file in accordance with the terms and conditions
       
    14 ** contained in the Technology Preview License Agreement accompanying
       
    15 ** this package.
       
    16 **
       
    17 ** GNU Lesser General Public License Usage
       
    18 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    19 ** General Public License version 2.1 as published by the Free Software
       
    20 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    21 ** packaging of this file.  Please review the following information to
       
    22 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    24 **
       
    25 ** In addition, as a special exception, Nokia gives you certain additional
       
    26 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    28 **
       
    29 ** If you have questions regarding the use of this file, please contact
       
    30 ** Nokia at qt-info@nokia.com.
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 ** $QT_END_LICENSE$
       
    40 **
       
    41 *********************************************************************</comment>
       
    42  <class>qdesigner_internal::TableWidgetEditor</class>
       
    43  <widget class="QDialog" name="qdesigner_internal::TableWidgetEditor" >
       
    44   <property name="geometry" >
       
    45    <rect>
       
    46     <x>0</x>
       
    47     <y>0</y>
       
    48     <width>591</width>
       
    49     <height>455</height>
       
    50    </rect>
       
    51   </property>
       
    52   <property name="windowTitle" >
       
    53    <string>Edit Table Widget</string>
       
    54   </property>
       
    55   <layout class="QGridLayout" name="gridLayout_4" >
       
    56    <item row="0" column="0" >
       
    57     <widget class="QGroupBox" name="itemsBox" >
       
    58      <property name="title" >
       
    59       <string>Table Items</string>
       
    60      </property>
       
    61      <layout class="QGridLayout" name="gridLayout" >
       
    62       <item row="0" column="0" >
       
    63        <widget class="QTableWidget" name="tableWidget" >
       
    64         <property name="toolTip" >
       
    65          <string>Table Items</string>
       
    66         </property>
       
    67        </widget>
       
    68       </item>
       
    69       <item row="1" column="0" >
       
    70        <layout class="QHBoxLayout" name="horizontalLayout_5" >
       
    71         <item>
       
    72          <widget class="QLabel" name="label_3" >
       
    73           <property name="text" >
       
    74            <string>Icon</string>
       
    75           </property>
       
    76          </widget>
       
    77         </item>
       
    78         <item>
       
    79          <widget class="qdesigner_internal::IconSelector" native="1" name="itemIconSelector" />
       
    80         </item>
       
    81         <item>
       
    82          <spacer name="horizontalSpacer" >
       
    83           <property name="orientation" >
       
    84            <enum>Qt::Horizontal</enum>
       
    85           </property>
       
    86           <property name="sizeHint" stdset="0" >
       
    87            <size>
       
    88             <width>40</width>
       
    89             <height>20</height>
       
    90            </size>
       
    91           </property>
       
    92          </spacer>
       
    93         </item>
       
    94        </layout>
       
    95       </item>
       
    96      </layout>
       
    97     </widget>
       
    98    </item>
       
    99    <item row="1" column="0" colspan="2" >
       
   100     <widget class="QDialogButtonBox" name="buttonBox" >
       
   101      <property name="orientation" >
       
   102       <enum>Qt::Horizontal</enum>
       
   103      </property>
       
   104      <property name="standardButtons" >
       
   105       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
   106      </property>
       
   107     </widget>
       
   108    </item>
       
   109    <item row="0" column="1" >
       
   110     <widget class="QWidget" native="1" name="widget" >
       
   111      <property name="sizePolicy" >
       
   112       <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
       
   113        <horstretch>0</horstretch>
       
   114        <verstretch>0</verstretch>
       
   115       </sizepolicy>
       
   116      </property>
       
   117      <layout class="QVBoxLayout" name="verticalLayout" >
       
   118       <property name="margin" >
       
   119        <number>0</number>
       
   120       </property>
       
   121       <item>
       
   122        <widget class="QGroupBox" name="columnsBox" >
       
   123         <property name="title" >
       
   124          <string>Columns</string>
       
   125         </property>
       
   126         <layout class="QGridLayout" name="gridLayout_2" >
       
   127          <item row="0" column="0" >
       
   128           <widget class="QListWidget" name="columnsListWidget" >
       
   129            <property name="sizePolicy" >
       
   130             <sizepolicy vsizetype="Expanding" hsizetype="Ignored" >
       
   131              <horstretch>0</horstretch>
       
   132              <verstretch>0</verstretch>
       
   133             </sizepolicy>
       
   134            </property>
       
   135            <property name="focusPolicy" >
       
   136             <enum>Qt::TabFocus</enum>
       
   137            </property>
       
   138            <property name="toolTip" >
       
   139             <string>Table Columns</string>
       
   140            </property>
       
   141           </widget>
       
   142          </item>
       
   143          <item row="1" column="0" >
       
   144           <layout class="QHBoxLayout" name="horizontalLayout_3" >
       
   145            <item>
       
   146             <widget class="QToolButton" name="newColumnButton" >
       
   147              <property name="toolTip" >
       
   148               <string>New Column</string>
       
   149              </property>
       
   150              <property name="text" >
       
   151               <string>New</string>
       
   152              </property>
       
   153             </widget>
       
   154            </item>
       
   155            <item>
       
   156             <widget class="QToolButton" name="deleteColumnButton" >
       
   157              <property name="toolTip" >
       
   158               <string>Delete Column</string>
       
   159              </property>
       
   160              <property name="text" >
       
   161               <string>Delete</string>
       
   162              </property>
       
   163             </widget>
       
   164            </item>
       
   165            <item>
       
   166             <spacer>
       
   167              <property name="orientation" >
       
   168               <enum>Qt::Horizontal</enum>
       
   169              </property>
       
   170              <property name="sizeHint" stdset="0" >
       
   171               <size>
       
   172                <width>0</width>
       
   173                <height>23</height>
       
   174               </size>
       
   175              </property>
       
   176             </spacer>
       
   177            </item>
       
   178            <item>
       
   179             <widget class="QToolButton" name="moveColumnUpButton" >
       
   180              <property name="toolTip" >
       
   181               <string>Move Column Up</string>
       
   182              </property>
       
   183              <property name="text" >
       
   184               <string>U</string>
       
   185              </property>
       
   186             </widget>
       
   187            </item>
       
   188            <item>
       
   189             <widget class="QToolButton" name="moveColumnDownButton" >
       
   190              <property name="toolTip" >
       
   191               <string>Move Column Down</string>
       
   192              </property>
       
   193              <property name="text" >
       
   194               <string>D</string>
       
   195              </property>
       
   196             </widget>
       
   197            </item>
       
   198           </layout>
       
   199          </item>
       
   200          <item row="2" column="0" >
       
   201           <layout class="QHBoxLayout" name="horizontalLayout_2" >
       
   202            <item>
       
   203             <widget class="QLabel" name="label" >
       
   204              <property name="text" >
       
   205               <string>Icon</string>
       
   206              </property>
       
   207             </widget>
       
   208            </item>
       
   209            <item>
       
   210             <widget class="qdesigner_internal::IconSelector" native="1" name="columnIconSelector" />
       
   211            </item>
       
   212            <item>
       
   213             <spacer>
       
   214              <property name="orientation" >
       
   215               <enum>Qt::Horizontal</enum>
       
   216              </property>
       
   217              <property name="sizeHint" stdset="0" >
       
   218               <size>
       
   219                <width>0</width>
       
   220                <height>21</height>
       
   221               </size>
       
   222              </property>
       
   223             </spacer>
       
   224            </item>
       
   225           </layout>
       
   226          </item>
       
   227         </layout>
       
   228        </widget>
       
   229       </item>
       
   230       <item>
       
   231        <widget class="QGroupBox" name="rowsBox" >
       
   232         <property name="title" >
       
   233          <string>Rows</string>
       
   234         </property>
       
   235         <layout class="QGridLayout" name="gridLayout_3" >
       
   236          <item row="0" column="0" >
       
   237           <widget class="QListWidget" name="rowsListWidget" >
       
   238            <property name="sizePolicy" >
       
   239             <sizepolicy vsizetype="Expanding" hsizetype="Ignored" >
       
   240              <horstretch>0</horstretch>
       
   241              <verstretch>0</verstretch>
       
   242             </sizepolicy>
       
   243            </property>
       
   244            <property name="focusPolicy" >
       
   245             <enum>Qt::TabFocus</enum>
       
   246            </property>
       
   247            <property name="toolTip" >
       
   248             <string>Table Rows</string>
       
   249            </property>
       
   250           </widget>
       
   251          </item>
       
   252          <item row="1" column="0" >
       
   253           <layout class="QHBoxLayout" name="horizontalLayout_4" >
       
   254            <item>
       
   255             <widget class="QToolButton" name="newRowButton" >
       
   256              <property name="toolTip" >
       
   257               <string>New Row</string>
       
   258              </property>
       
   259              <property name="text" >
       
   260               <string>New</string>
       
   261              </property>
       
   262             </widget>
       
   263            </item>
       
   264            <item>
       
   265             <widget class="QToolButton" name="deleteRowButton" >
       
   266              <property name="toolTip" >
       
   267               <string>Delete Row</string>
       
   268              </property>
       
   269              <property name="text" >
       
   270               <string>Delete</string>
       
   271              </property>
       
   272             </widget>
       
   273            </item>
       
   274            <item>
       
   275             <spacer>
       
   276              <property name="orientation" >
       
   277               <enum>Qt::Horizontal</enum>
       
   278              </property>
       
   279              <property name="sizeHint" stdset="0" >
       
   280               <size>
       
   281                <width>0</width>
       
   282                <height>23</height>
       
   283               </size>
       
   284              </property>
       
   285             </spacer>
       
   286            </item>
       
   287            <item>
       
   288             <widget class="QToolButton" name="moveRowUpButton" >
       
   289              <property name="toolTip" >
       
   290               <string>Move Row Up</string>
       
   291              </property>
       
   292              <property name="text" >
       
   293               <string>U</string>
       
   294              </property>
       
   295             </widget>
       
   296            </item>
       
   297            <item>
       
   298             <widget class="QToolButton" name="moveRowDownButton" >
       
   299              <property name="toolTip" >
       
   300               <string>Move Row Down</string>
       
   301              </property>
       
   302              <property name="text" >
       
   303               <string>D</string>
       
   304              </property>
       
   305             </widget>
       
   306            </item>
       
   307           </layout>
       
   308          </item>
       
   309          <item row="2" column="0" >
       
   310           <layout class="QHBoxLayout" name="horizontalLayout" >
       
   311            <item>
       
   312             <widget class="QLabel" name="label_2" >
       
   313              <property name="text" >
       
   314               <string>Icon</string>
       
   315              </property>
       
   316             </widget>
       
   317            </item>
       
   318            <item>
       
   319             <widget class="qdesigner_internal::IconSelector" native="1" name="rowIconSelector" />
       
   320            </item>
       
   321            <item>
       
   322             <spacer>
       
   323              <property name="orientation" >
       
   324               <enum>Qt::Horizontal</enum>
       
   325              </property>
       
   326              <property name="sizeHint" stdset="0" >
       
   327               <size>
       
   328                <width>0</width>
       
   329                <height>21</height>
       
   330               </size>
       
   331              </property>
       
   332             </spacer>
       
   333            </item>
       
   334           </layout>
       
   335          </item>
       
   336         </layout>
       
   337        </widget>
       
   338       </item>
       
   339      </layout>
       
   340     </widget>
       
   341    </item>
       
   342   </layout>
       
   343   <zorder>itemsBox</zorder>
       
   344   <zorder>buttonBox</zorder>
       
   345   <zorder>widget</zorder>
       
   346  </widget>
       
   347  <customwidgets>
       
   348   <customwidget>
       
   349    <class>qdesigner_internal::IconSelector</class>
       
   350    <extends>QWidget</extends>
       
   351    <header>iconselector_p.h</header>
       
   352    <container>1</container>
       
   353   </customwidget>
       
   354  </customwidgets>
       
   355  <tabstops>
       
   356   <tabstop>tableWidget</tabstop>
       
   357   <tabstop>columnsListWidget</tabstop>
       
   358   <tabstop>newColumnButton</tabstop>
       
   359   <tabstop>deleteColumnButton</tabstop>
       
   360   <tabstop>moveColumnUpButton</tabstop>
       
   361   <tabstop>moveColumnDownButton</tabstop>
       
   362   <tabstop>rowsListWidget</tabstop>
       
   363   <tabstop>newRowButton</tabstop>
       
   364   <tabstop>deleteRowButton</tabstop>
       
   365   <tabstop>moveRowUpButton</tabstop>
       
   366   <tabstop>moveRowDownButton</tabstop>
       
   367  </tabstops>
       
   368  <resources/>
       
   369  <connections>
       
   370   <connection>
       
   371    <sender>buttonBox</sender>
       
   372    <signal>accepted()</signal>
       
   373    <receiver>qdesigner_internal::TableWidgetEditor</receiver>
       
   374    <slot>accept()</slot>
       
   375    <hints>
       
   376     <hint type="sourcelabel" >
       
   377      <x>431</x>
       
   378      <y>351</y>
       
   379     </hint>
       
   380     <hint type="destinationlabel" >
       
   381      <x>373</x>
       
   382      <y>362</y>
       
   383     </hint>
       
   384    </hints>
       
   385   </connection>
       
   386   <connection>
       
   387    <sender>buttonBox</sender>
       
   388    <signal>rejected()</signal>
       
   389    <receiver>qdesigner_internal::TableWidgetEditor</receiver>
       
   390    <slot>reject()</slot>
       
   391    <hints>
       
   392     <hint type="sourcelabel" >
       
   393      <x>547</x>
       
   394      <y>354</y>
       
   395     </hint>
       
   396     <hint type="destinationlabel" >
       
   397      <x>562</x>
       
   398      <y>362</y>
       
   399     </hint>
       
   400    </hints>
       
   401   </connection>
       
   402  </connections>
       
   403 </ui>