tests/manual/qgraphicsitemgroup/widget.ui
changeset 3 41300fa6a67c
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>Widget</class>
       
     4  <widget class="QWidget" name="Widget">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>782</width>
       
    10     <height>695</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Widget</string>
       
    15   </property>
       
    16   <layout class="QVBoxLayout" name="verticalLayout_2">
       
    17    <item>
       
    18     <layout class="QHBoxLayout" name="horizontalLayout">
       
    19      <item>
       
    20       <widget class="QGroupBox" name="groupBox_2">
       
    21        <property name="title">
       
    22         <string>Items</string>
       
    23        </property>
       
    24        <layout class="QVBoxLayout" name="verticalLayout_6">
       
    25         <item>
       
    26          <layout class="QHBoxLayout" name="horizontalLayout_3">
       
    27           <item>
       
    28            <layout class="QVBoxLayout" name="verticalLayout_4">
       
    29             <item>
       
    30              <widget class="QRadioButton" name="blue">
       
    31               <property name="text">
       
    32                <string>Blue</string>
       
    33               </property>
       
    34               <property name="checked">
       
    35                <bool>true</bool>
       
    36               </property>
       
    37               <attribute name="buttonGroup">
       
    38                <string>buttonGroup</string>
       
    39               </attribute>
       
    40              </widget>
       
    41             </item>
       
    42             <item>
       
    43              <widget class="QRadioButton" name="red">
       
    44               <property name="text">
       
    45                <string>Red</string>
       
    46               </property>
       
    47               <attribute name="buttonGroup">
       
    48                <string>buttonGroup</string>
       
    49               </attribute>
       
    50              </widget>
       
    51             </item>
       
    52             <item>
       
    53              <widget class="QRadioButton" name="green">
       
    54               <property name="text">
       
    55                <string>Green</string>
       
    56               </property>
       
    57               <attribute name="buttonGroup">
       
    58                <string>buttonGroup</string>
       
    59               </attribute>
       
    60              </widget>
       
    61             </item>
       
    62             <item>
       
    63              <widget class="QRadioButton" name="yellow">
       
    64               <property name="text">
       
    65                <string>Yellow</string>
       
    66               </property>
       
    67               <attribute name="buttonGroup">
       
    68                <string>buttonGroup</string>
       
    69               </attribute>
       
    70              </widget>
       
    71             </item>
       
    72            </layout>
       
    73           </item>
       
    74           <item>
       
    75            <layout class="QVBoxLayout" name="verticalLayout_5">
       
    76             <item>
       
    77              <widget class="QLabel" name="label_3">
       
    78               <property name="text">
       
    79                <string>Rotate</string>
       
    80               </property>
       
    81              </widget>
       
    82             </item>
       
    83             <item>
       
    84              <widget class="QSlider" name="rotateItem">
       
    85               <property name="enabled">
       
    86                <bool>true</bool>
       
    87               </property>
       
    88               <property name="minimumSize">
       
    89                <size>
       
    90                 <width>120</width>
       
    91                 <height>0</height>
       
    92                </size>
       
    93               </property>
       
    94               <property name="maximum">
       
    95                <number>360</number>
       
    96               </property>
       
    97               <property name="orientation">
       
    98                <enum>Qt::Horizontal</enum>
       
    99               </property>
       
   100              </widget>
       
   101             </item>
       
   102             <item>
       
   103              <widget class="QLabel" name="label_4">
       
   104               <property name="text">
       
   105                <string>Scale</string>
       
   106               </property>
       
   107              </widget>
       
   108             </item>
       
   109             <item>
       
   110              <widget class="QSlider" name="scaleItem">
       
   111               <property name="enabled">
       
   112                <bool>true</bool>
       
   113               </property>
       
   114               <property name="minimumSize">
       
   115                <size>
       
   116                 <width>120</width>
       
   117                 <height>0</height>
       
   118                </size>
       
   119               </property>
       
   120               <property name="minimum">
       
   121                <number>5</number>
       
   122               </property>
       
   123               <property name="maximum">
       
   124                <number>30</number>
       
   125               </property>
       
   126               <property name="value">
       
   127                <number>10</number>
       
   128               </property>
       
   129               <property name="orientation">
       
   130                <enum>Qt::Horizontal</enum>
       
   131               </property>
       
   132              </widget>
       
   133             </item>
       
   134            </layout>
       
   135           </item>
       
   136          </layout>
       
   137         </item>
       
   138         <item>
       
   139          <widget class="QPushButton" name="ungroup">
       
   140           <property name="enabled">
       
   141            <bool>false</bool>
       
   142           </property>
       
   143           <property name="text">
       
   144            <string>Ungroup</string>
       
   145           </property>
       
   146          </widget>
       
   147         </item>
       
   148        </layout>
       
   149       </widget>
       
   150      </item>
       
   151      <item>
       
   152       <spacer name="horizontalSpacer">
       
   153        <property name="orientation">
       
   154         <enum>Qt::Horizontal</enum>
       
   155        </property>
       
   156        <property name="sizeType">
       
   157         <enum>QSizePolicy::Fixed</enum>
       
   158        </property>
       
   159        <property name="sizeHint" stdset="0">
       
   160         <size>
       
   161          <width>50</width>
       
   162          <height>20</height>
       
   163         </size>
       
   164        </property>
       
   165       </spacer>
       
   166      </item>
       
   167      <item>
       
   168       <widget class="QGroupBox" name="groupBox">
       
   169        <property name="enabled">
       
   170         <bool>true</bool>
       
   171        </property>
       
   172        <property name="minimumSize">
       
   173         <size>
       
   174          <width>300</width>
       
   175          <height>164</height>
       
   176         </size>
       
   177        </property>
       
   178        <property name="maximumSize">
       
   179         <size>
       
   180          <width>300</width>
       
   181          <height>164</height>
       
   182         </size>
       
   183        </property>
       
   184        <property name="title">
       
   185         <string>Selection</string>
       
   186        </property>
       
   187        <layout class="QHBoxLayout" name="horizontalLayout_2">
       
   188         <item>
       
   189          <layout class="QVBoxLayout" name="verticalLayout">
       
   190           <item>
       
   191            <widget class="QLabel" name="label">
       
   192             <property name="enabled">
       
   193              <bool>false</bool>
       
   194             </property>
       
   195             <property name="text">
       
   196              <string>Rotate</string>
       
   197             </property>
       
   198            </widget>
       
   199           </item>
       
   200           <item>
       
   201            <widget class="QSlider" name="rotate">
       
   202             <property name="enabled">
       
   203              <bool>false</bool>
       
   204             </property>
       
   205             <property name="minimumSize">
       
   206              <size>
       
   207               <width>120</width>
       
   208               <height>0</height>
       
   209              </size>
       
   210             </property>
       
   211             <property name="maximum">
       
   212              <number>360</number>
       
   213             </property>
       
   214             <property name="orientation">
       
   215              <enum>Qt::Horizontal</enum>
       
   216             </property>
       
   217            </widget>
       
   218           </item>
       
   219           <item>
       
   220            <widget class="QLabel" name="label_2">
       
   221             <property name="enabled">
       
   222              <bool>false</bool>
       
   223             </property>
       
   224             <property name="text">
       
   225              <string>Scale</string>
       
   226             </property>
       
   227            </widget>
       
   228           </item>
       
   229           <item>
       
   230            <widget class="QSlider" name="scale">
       
   231             <property name="enabled">
       
   232              <bool>false</bool>
       
   233             </property>
       
   234             <property name="minimumSize">
       
   235              <size>
       
   236               <width>120</width>
       
   237               <height>0</height>
       
   238              </size>
       
   239             </property>
       
   240             <property name="minimum">
       
   241              <number>5</number>
       
   242             </property>
       
   243             <property name="maximum">
       
   244              <number>30</number>
       
   245             </property>
       
   246             <property name="value">
       
   247              <number>10</number>
       
   248             </property>
       
   249             <property name="orientation">
       
   250              <enum>Qt::Horizontal</enum>
       
   251             </property>
       
   252            </widget>
       
   253           </item>
       
   254          </layout>
       
   255         </item>
       
   256         <item>
       
   257          <layout class="QVBoxLayout" name="verticalLayout_3">
       
   258           <item>
       
   259            <widget class="QPushButton" name="group">
       
   260             <property name="enabled">
       
   261              <bool>false</bool>
       
   262             </property>
       
   263             <property name="text">
       
   264              <string>Group</string>
       
   265             </property>
       
   266            </widget>
       
   267           </item>
       
   268           <item>
       
   269            <widget class="QPushButton" name="merge">
       
   270             <property name="enabled">
       
   271              <bool>false</bool>
       
   272             </property>
       
   273             <property name="text">
       
   274              <string>Merge Groups</string>
       
   275             </property>
       
   276            </widget>
       
   277           </item>
       
   278           <item>
       
   279            <widget class="QPushButton" name="dismantle">
       
   280             <property name="enabled">
       
   281              <bool>false</bool>
       
   282             </property>
       
   283             <property name="text">
       
   284              <string>Dismantle Group</string>
       
   285             </property>
       
   286            </widget>
       
   287           </item>
       
   288          </layout>
       
   289         </item>
       
   290        </layout>
       
   291       </widget>
       
   292      </item>
       
   293      <item>
       
   294       <spacer name="horizontalSpacer_2">
       
   295        <property name="orientation">
       
   296         <enum>Qt::Horizontal</enum>
       
   297        </property>
       
   298        <property name="sizeHint" stdset="0">
       
   299         <size>
       
   300          <width>40</width>
       
   301          <height>20</height>
       
   302         </size>
       
   303        </property>
       
   304       </spacer>
       
   305      </item>
       
   306     </layout>
       
   307    </item>
       
   308    <item>
       
   309     <widget class="QGraphicsView" name="view"/>
       
   310    </item>
       
   311   </layout>
       
   312  </widget>
       
   313  <layoutdefault spacing="6" margin="11"/>
       
   314  <resources/>
       
   315  <connections/>
       
   316  <buttongroups>
       
   317   <buttongroup name="buttonGroup"/>
       
   318  </buttongroups>
       
   319 </ui>