tests/auto/uiloader/baseline/treewidgeteditor.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::TreeWidgetEditor</class>
       
    43  <widget class="QDialog" name="qdesigner_internal::TreeWidgetEditor" >
       
    44   <property name="geometry" >
       
    45    <rect>
       
    46     <x>0</x>
       
    47     <y>0</y>
       
    48     <width>619</width>
       
    49     <height>321</height>
       
    50    </rect>
       
    51   </property>
       
    52   <property name="windowTitle" >
       
    53    <string>Edit Tree Widget</string>
       
    54   </property>
       
    55   <layout class="QGridLayout" name="gridLayout_3" >
       
    56    <item row="0" column="0" >
       
    57     <widget class="QGroupBox" name="itemsBox" >
       
    58      <property name="title" >
       
    59       <string>Tree Items</string>
       
    60      </property>
       
    61      <layout class="QGridLayout" name="gridLayout" >
       
    62       <item row="0" column="0" >
       
    63        <widget class="QTreeWidget" name="treeWidget" >
       
    64         <property name="focusPolicy" >
       
    65          <enum>Qt::TabFocus</enum>
       
    66         </property>
       
    67         <property name="toolTip" >
       
    68          <string>Tree Items</string>
       
    69         </property>
       
    70         <column>
       
    71          <property name="text" >
       
    72           <string>1</string>
       
    73          </property>
       
    74         </column>
       
    75        </widget>
       
    76       </item>
       
    77       <item row="1" column="0" >
       
    78        <layout class="QHBoxLayout" name="horizontalLayout_4" >
       
    79         <item>
       
    80          <widget class="QToolButton" name="newItemButton" >
       
    81           <property name="toolTip" >
       
    82            <string>New Item</string>
       
    83           </property>
       
    84           <property name="text" >
       
    85            <string>&amp;New</string>
       
    86           </property>
       
    87          </widget>
       
    88         </item>
       
    89         <item>
       
    90          <widget class="QToolButton" name="newSubItemButton" >
       
    91           <property name="toolTip" >
       
    92            <string>New Subitem</string>
       
    93           </property>
       
    94           <property name="text" >
       
    95            <string>New &amp;Subitem</string>
       
    96           </property>
       
    97          </widget>
       
    98         </item>
       
    99         <item>
       
   100          <widget class="QToolButton" name="deleteItemButton" >
       
   101           <property name="toolTip" >
       
   102            <string>Delete Item</string>
       
   103           </property>
       
   104           <property name="text" >
       
   105            <string>&amp;Delete</string>
       
   106           </property>
       
   107          </widget>
       
   108         </item>
       
   109         <item>
       
   110          <spacer>
       
   111           <property name="orientation" >
       
   112            <enum>Qt::Horizontal</enum>
       
   113           </property>
       
   114           <property name="sizeHint" stdset="0" >
       
   115            <size>
       
   116             <width>28</width>
       
   117             <height>23</height>
       
   118            </size>
       
   119           </property>
       
   120          </spacer>
       
   121         </item>
       
   122         <item>
       
   123          <widget class="QToolButton" name="moveItemLeftButton" >
       
   124           <property name="toolTip" >
       
   125            <string>Move Item Left (before Parent Item)</string>
       
   126           </property>
       
   127           <property name="text" >
       
   128            <string>L</string>
       
   129           </property>
       
   130          </widget>
       
   131         </item>
       
   132         <item>
       
   133          <widget class="QToolButton" name="moveItemRightButton" >
       
   134           <property name="toolTip" >
       
   135            <string>Move Item Right (as a First Subitem of the Next Sibling Item)</string>
       
   136           </property>
       
   137           <property name="text" >
       
   138            <string>R</string>
       
   139           </property>
       
   140          </widget>
       
   141         </item>
       
   142         <item>
       
   143          <widget class="QToolButton" name="moveItemUpButton" >
       
   144           <property name="toolTip" >
       
   145            <string>Move Item Up</string>
       
   146           </property>
       
   147           <property name="text" >
       
   148            <string>U</string>
       
   149           </property>
       
   150          </widget>
       
   151         </item>
       
   152         <item>
       
   153          <widget class="QToolButton" name="moveItemDownButton" >
       
   154           <property name="toolTip" >
       
   155            <string>Move Item Down</string>
       
   156           </property>
       
   157           <property name="text" >
       
   158            <string>D</string>
       
   159           </property>
       
   160          </widget>
       
   161         </item>
       
   162        </layout>
       
   163       </item>
       
   164       <item row="2" column="0" >
       
   165        <layout class="QHBoxLayout" name="horizontalLayout_2" >
       
   166         <item>
       
   167          <widget class="QLabel" name="label_2" >
       
   168           <property name="text" >
       
   169            <string>Icon</string>
       
   170           </property>
       
   171          </widget>
       
   172         </item>
       
   173         <item>
       
   174          <widget class="qdesigner_internal::IconSelector" native="1" name="itemIconSelector" />
       
   175         </item>
       
   176         <item>
       
   177          <spacer name="horizontalSpacer" >
       
   178           <property name="orientation" >
       
   179            <enum>Qt::Horizontal</enum>
       
   180           </property>
       
   181           <property name="sizeHint" stdset="0" >
       
   182            <size>
       
   183             <width>288</width>
       
   184             <height>21</height>
       
   185            </size>
       
   186           </property>
       
   187          </spacer>
       
   188         </item>
       
   189        </layout>
       
   190       </item>
       
   191      </layout>
       
   192     </widget>
       
   193    </item>
       
   194    <item row="0" column="1" >
       
   195     <widget class="QGroupBox" name="columnsBox" >
       
   196      <property name="sizePolicy" >
       
   197       <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
       
   198        <horstretch>0</horstretch>
       
   199        <verstretch>0</verstretch>
       
   200       </sizepolicy>
       
   201      </property>
       
   202      <property name="title" >
       
   203       <string>Columns</string>
       
   204      </property>
       
   205      <layout class="QGridLayout" name="gridLayout_2" >
       
   206       <item row="0" column="0" >
       
   207        <widget class="QListWidget" name="listWidget" >
       
   208         <property name="sizePolicy" >
       
   209          <sizepolicy vsizetype="Expanding" hsizetype="Ignored" >
       
   210           <horstretch>0</horstretch>
       
   211           <verstretch>0</verstretch>
       
   212          </sizepolicy>
       
   213         </property>
       
   214         <property name="focusPolicy" >
       
   215          <enum>Qt::TabFocus</enum>
       
   216         </property>
       
   217         <property name="toolTip" >
       
   218          <string>Tree Columns</string>
       
   219         </property>
       
   220        </widget>
       
   221       </item>
       
   222       <item row="1" column="0" >
       
   223        <layout class="QHBoxLayout" name="horizontalLayout_3" >
       
   224         <item>
       
   225          <widget class="QToolButton" name="newColumnButton" >
       
   226           <property name="toolTip" >
       
   227            <string>New Column</string>
       
   228           </property>
       
   229           <property name="text" >
       
   230            <string>New</string>
       
   231           </property>
       
   232          </widget>
       
   233         </item>
       
   234         <item>
       
   235          <widget class="QToolButton" name="deleteColumnButton" >
       
   236           <property name="toolTip" >
       
   237            <string>Delete Column</string>
       
   238           </property>
       
   239           <property name="text" >
       
   240            <string>Delete</string>
       
   241           </property>
       
   242          </widget>
       
   243         </item>
       
   244         <item>
       
   245          <spacer>
       
   246           <property name="orientation" >
       
   247            <enum>Qt::Horizontal</enum>
       
   248           </property>
       
   249           <property name="sizeHint" stdset="0" >
       
   250            <size>
       
   251             <width>13</width>
       
   252             <height>23</height>
       
   253            </size>
       
   254           </property>
       
   255          </spacer>
       
   256         </item>
       
   257         <item>
       
   258          <widget class="QToolButton" name="moveColumnUpButton" >
       
   259           <property name="toolTip" >
       
   260            <string>Move Column Up</string>
       
   261           </property>
       
   262           <property name="text" >
       
   263            <string>U</string>
       
   264           </property>
       
   265          </widget>
       
   266         </item>
       
   267         <item>
       
   268          <widget class="QToolButton" name="moveColumnDownButton" >
       
   269           <property name="toolTip" >
       
   270            <string>Move Column Down</string>
       
   271           </property>
       
   272           <property name="text" >
       
   273            <string>D</string>
       
   274           </property>
       
   275          </widget>
       
   276         </item>
       
   277        </layout>
       
   278       </item>
       
   279       <item row="2" column="0" >
       
   280        <layout class="QHBoxLayout" name="horizontalLayout" >
       
   281         <item>
       
   282          <widget class="QLabel" name="label" >
       
   283           <property name="text" >
       
   284            <string>Icon</string>
       
   285           </property>
       
   286          </widget>
       
   287         </item>
       
   288         <item>
       
   289          <widget class="qdesigner_internal::IconSelector" native="1" name="columnIconSelector" />
       
   290         </item>
       
   291         <item>
       
   292          <spacer>
       
   293           <property name="orientation" >
       
   294            <enum>Qt::Horizontal</enum>
       
   295           </property>
       
   296           <property name="sizeHint" stdset="0" >
       
   297            <size>
       
   298             <width>0</width>
       
   299             <height>10</height>
       
   300            </size>
       
   301           </property>
       
   302          </spacer>
       
   303         </item>
       
   304        </layout>
       
   305       </item>
       
   306      </layout>
       
   307     </widget>
       
   308    </item>
       
   309    <item row="1" column="0" colspan="2" >
       
   310     <widget class="QDialogButtonBox" name="buttonBox" >
       
   311      <property name="orientation" >
       
   312       <enum>Qt::Horizontal</enum>
       
   313      </property>
       
   314      <property name="standardButtons" >
       
   315       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
   316      </property>
       
   317     </widget>
       
   318    </item>
       
   319   </layout>
       
   320  </widget>
       
   321  <customwidgets>
       
   322   <customwidget>
       
   323    <class>qdesigner_internal::IconSelector</class>
       
   324    <extends>QWidget</extends>
       
   325    <header>iconselector_p.h</header>
       
   326    <container>1</container>
       
   327   </customwidget>
       
   328  </customwidgets>
       
   329  <tabstops>
       
   330   <tabstop>treeWidget</tabstop>
       
   331   <tabstop>newItemButton</tabstop>
       
   332   <tabstop>newSubItemButton</tabstop>
       
   333   <tabstop>deleteItemButton</tabstop>
       
   334   <tabstop>moveItemLeftButton</tabstop>
       
   335   <tabstop>moveItemRightButton</tabstop>
       
   336   <tabstop>moveItemUpButton</tabstop>
       
   337   <tabstop>moveItemDownButton</tabstop>
       
   338   <tabstop>listWidget</tabstop>
       
   339   <tabstop>newColumnButton</tabstop>
       
   340   <tabstop>deleteColumnButton</tabstop>
       
   341   <tabstop>moveColumnUpButton</tabstop>
       
   342   <tabstop>moveColumnDownButton</tabstop>
       
   343  </tabstops>
       
   344  <resources/>
       
   345  <connections>
       
   346   <connection>
       
   347    <sender>buttonBox</sender>
       
   348    <signal>accepted()</signal>
       
   349    <receiver>qdesigner_internal::TreeWidgetEditor</receiver>
       
   350    <slot>accept()</slot>
       
   351    <hints>
       
   352     <hint type="sourcelabel" >
       
   353      <x>450</x>
       
   354      <y>259</y>
       
   355     </hint>
       
   356     <hint type="destinationlabel" >
       
   357      <x>292</x>
       
   358      <y>272</y>
       
   359     </hint>
       
   360    </hints>
       
   361   </connection>
       
   362   <connection>
       
   363    <sender>buttonBox</sender>
       
   364    <signal>rejected()</signal>
       
   365    <receiver>qdesigner_internal::TreeWidgetEditor</receiver>
       
   366    <slot>reject()</slot>
       
   367    <hints>
       
   368     <hint type="sourcelabel" >
       
   369      <x>539</x>
       
   370      <y>266</y>
       
   371     </hint>
       
   372     <hint type="destinationlabel" >
       
   373      <x>556</x>
       
   374      <y>275</y>
       
   375     </hint>
       
   376    </hints>
       
   377   </connection>
       
   378  </connections>
       
   379 </ui>