tools/designer/src/lib/shared/newactiondialog.ui
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">
       
     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 Qt Designer 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  <class>qdesigner_internal::NewActionDialog</class>
       
    44  <widget class="QDialog" name="qdesigner_internal::NewActionDialog">
       
    45   <property name="windowTitle">
       
    46    <string>New Action...</string>
       
    47   </property>
       
    48   <layout class="QVBoxLayout" name="verticalLayout">
       
    49    <item>
       
    50     <layout class="QFormLayout" name="formLayout">
       
    51      <item row="0" column="0">
       
    52       <widget class="QLabel" name="textLabel">
       
    53        <property name="text">
       
    54         <string>&amp;Text:</string>
       
    55        </property>
       
    56        <property name="buddy">
       
    57         <cstring>editActionText</cstring>
       
    58        </property>
       
    59       </widget>
       
    60      </item>
       
    61      <item row="0" column="1">
       
    62       <widget class="QLineEdit" name="editActionText">
       
    63        <property name="minimumSize">
       
    64         <size>
       
    65          <width>255</width>
       
    66          <height>0</height>
       
    67         </size>
       
    68        </property>
       
    69       </widget>
       
    70      </item>
       
    71      <item row="1" column="0">
       
    72       <widget class="QLabel" name="objectNameLabel">
       
    73        <property name="text">
       
    74         <string>Object &amp;name:</string>
       
    75        </property>
       
    76        <property name="buddy">
       
    77         <cstring>editObjectName</cstring>
       
    78        </property>
       
    79       </widget>
       
    80      </item>
       
    81      <item row="1" column="1">
       
    82       <widget class="QLineEdit" name="editObjectName"/>
       
    83      </item>
       
    84      <item row="3" column="0">
       
    85       <widget class="QLabel" name="iconLabel">
       
    86        <property name="text">
       
    87         <string>&amp;Icon:</string>
       
    88        </property>
       
    89        <property name="buddy">
       
    90         <cstring>iconSelector</cstring>
       
    91        </property>
       
    92       </widget>
       
    93      </item>
       
    94      <item row="3" column="1">
       
    95       <layout class="QHBoxLayout" name="horizontalLayout">
       
    96        <item>
       
    97         <widget class="qdesigner_internal::IconSelector" name="iconSelector" native="true"/>
       
    98        </item>
       
    99        <item>
       
   100         <spacer>
       
   101          <property name="orientation">
       
   102           <enum>Qt::Horizontal</enum>
       
   103          </property>
       
   104          <property name="sizeHint" stdset="0">
       
   105           <size>
       
   106            <width>40</width>
       
   107            <height>20</height>
       
   108           </size>
       
   109          </property>
       
   110         </spacer>
       
   111        </item>
       
   112       </layout>
       
   113      </item>
       
   114      <item row="5" column="0">
       
   115       <widget class="QLabel" name="shortcutLabel">
       
   116        <property name="text">
       
   117         <string>Shortcut:</string>
       
   118        </property>
       
   119       </widget>
       
   120      </item>
       
   121      <item row="4" column="1">
       
   122       <widget class="QCheckBox" name="checkableCheckBox">
       
   123        <property name="text">
       
   124         <string/>
       
   125        </property>
       
   126       </widget>
       
   127      </item>
       
   128      <item row="4" column="0">
       
   129       <widget class="QLabel" name="checkableLabel">
       
   130        <property name="text">
       
   131         <string>Checkable:</string>
       
   132        </property>
       
   133       </widget>
       
   134      </item>
       
   135      <item row="2" column="0">
       
   136       <widget class="QLabel" name="toolTipLabel">
       
   137        <property name="text">
       
   138         <string>ToolTip:</string>
       
   139        </property>
       
   140       </widget>
       
   141      </item>
       
   142      <item row="2" column="1">
       
   143       <layout class="QHBoxLayout" name="toolTipLayout">
       
   144        <item>
       
   145         <widget class="TextPropertyEditor" name="tooltipEditor" native="true">
       
   146          <property name="sizePolicy">
       
   147           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
       
   148            <horstretch>0</horstretch>
       
   149            <verstretch>0</verstretch>
       
   150           </sizepolicy>
       
   151          </property>
       
   152         </widget>
       
   153        </item>
       
   154        <item>
       
   155         <widget class="QToolButton" name="toolTipToolButton">
       
   156          <property name="text">
       
   157           <string>...</string>
       
   158          </property>
       
   159         </widget>
       
   160        </item>
       
   161       </layout>
       
   162      </item>
       
   163      <item row="5" column="1">
       
   164       <layout class="QHBoxLayout" name="keysequenceLayout">
       
   165        <item>
       
   166         <widget class="QtKeySequenceEdit" name="keySequenceEdit" native="true">
       
   167          <property name="sizePolicy">
       
   168           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
       
   169            <horstretch>0</horstretch>
       
   170            <verstretch>0</verstretch>
       
   171           </sizepolicy>
       
   172          </property>
       
   173         </widget>
       
   174        </item>
       
   175        <item>
       
   176         <widget class="QToolButton" name="keysequenceResetToolButton">
       
   177          <property name="text">
       
   178           <string>...</string>
       
   179          </property>
       
   180         </widget>
       
   181        </item>
       
   182       </layout>
       
   183      </item>
       
   184     </layout>
       
   185    </item>
       
   186    <item>
       
   187     <spacer name="verticalSpacer">
       
   188      <property name="orientation">
       
   189       <enum>Qt::Vertical</enum>
       
   190      </property>
       
   191      <property name="sizeHint" stdset="0">
       
   192       <size>
       
   193        <width>0</width>
       
   194        <height>0</height>
       
   195       </size>
       
   196      </property>
       
   197     </spacer>
       
   198    </item>
       
   199    <item>
       
   200     <widget class="Line" name="line">
       
   201      <property name="orientation">
       
   202       <enum>Qt::Horizontal</enum>
       
   203      </property>
       
   204     </widget>
       
   205    </item>
       
   206    <item>
       
   207     <widget class="QDialogButtonBox" name="buttonBox">
       
   208      <property name="orientation">
       
   209       <enum>Qt::Horizontal</enum>
       
   210      </property>
       
   211      <property name="standardButtons">
       
   212       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
   213      </property>
       
   214     </widget>
       
   215    </item>
       
   216   </layout>
       
   217  </widget>
       
   218  <customwidgets>
       
   219   <customwidget>
       
   220    <class>qdesigner_internal::IconSelector</class>
       
   221    <extends>QWidget</extends>
       
   222    <header>iconselector_p.h</header>
       
   223    <container>1</container>
       
   224   </customwidget>
       
   225   <customwidget>
       
   226    <class>QtKeySequenceEdit</class>
       
   227    <extends>QWidget</extends>
       
   228    <header>qtpropertybrowserutils_p.h</header>
       
   229    <container>1</container>
       
   230   </customwidget>
       
   231   <customwidget>
       
   232    <class>TextPropertyEditor</class>
       
   233    <extends>QWidget</extends>
       
   234    <header>textpropertyeditor_p.h</header>
       
   235    <container>1</container>
       
   236   </customwidget>
       
   237  </customwidgets>
       
   238  <tabstops>
       
   239   <tabstop>editActionText</tabstop>
       
   240   <tabstop>editObjectName</tabstop>
       
   241  </tabstops>
       
   242  <resources/>
       
   243  <connections>
       
   244   <connection>
       
   245    <sender>buttonBox</sender>
       
   246    <signal>accepted()</signal>
       
   247    <receiver>qdesigner_internal::NewActionDialog</receiver>
       
   248    <slot>accept()</slot>
       
   249    <hints>
       
   250     <hint type="sourcelabel">
       
   251      <x>165</x>
       
   252      <y>162</y>
       
   253     </hint>
       
   254     <hint type="destinationlabel">
       
   255      <x>291</x>
       
   256      <y>94</y>
       
   257     </hint>
       
   258    </hints>
       
   259   </connection>
       
   260   <connection>
       
   261    <sender>buttonBox</sender>
       
   262    <signal>rejected()</signal>
       
   263    <receiver>qdesigner_internal::NewActionDialog</receiver>
       
   264    <slot>reject()</slot>
       
   265    <hints>
       
   266     <hint type="sourcelabel">
       
   267      <x>259</x>
       
   268      <y>162</y>
       
   269     </hint>
       
   270     <hint type="destinationlabel">
       
   271      <x>293</x>
       
   272      <y>128</y>
       
   273     </hint>
       
   274    </hints>
       
   275   </connection>
       
   276  </connections>
       
   277 </ui>