tests/auto/uic/baseline/validators.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>ValidatorsForm</class>
       
     3  <widget class="QWidget" name="ValidatorsForm" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>526</width>
       
     9     <height>668</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Form</string>
       
    14   </property>
       
    15   <layout class="QVBoxLayout" >
       
    16    <property name="margin" >
       
    17     <number>9</number>
       
    18    </property>
       
    19    <property name="spacing" >
       
    20     <number>6</number>
       
    21    </property>
       
    22    <item>
       
    23     <layout class="QHBoxLayout" >
       
    24      <property name="margin" >
       
    25       <number>0</number>
       
    26      </property>
       
    27      <property name="spacing" >
       
    28       <number>6</number>
       
    29      </property>
       
    30      <item>
       
    31       <widget class="LocaleSelector" name="localeSelector" />
       
    32      </item>
       
    33      <item>
       
    34       <spacer>
       
    35        <property name="orientation" >
       
    36         <enum>Qt::Horizontal</enum>
       
    37        </property>
       
    38        <property name="sizeHint" >
       
    39         <size>
       
    40          <width>40</width>
       
    41          <height>20</height>
       
    42         </size>
       
    43        </property>
       
    44       </spacer>
       
    45      </item>
       
    46     </layout>
       
    47    </item>
       
    48    <item>
       
    49     <widget class="QGroupBox" name="groupBox" >
       
    50      <property name="title" >
       
    51       <string>QIntValidator</string>
       
    52      </property>
       
    53      <layout class="QVBoxLayout" >
       
    54       <property name="margin" >
       
    55        <number>9</number>
       
    56       </property>
       
    57       <property name="spacing" >
       
    58        <number>6</number>
       
    59       </property>
       
    60       <item>
       
    61        <layout class="QHBoxLayout" >
       
    62         <property name="margin" >
       
    63          <number>0</number>
       
    64         </property>
       
    65         <property name="spacing" >
       
    66          <number>6</number>
       
    67         </property>
       
    68         <item>
       
    69          <layout class="QGridLayout" >
       
    70           <property name="margin" >
       
    71            <number>0</number>
       
    72           </property>
       
    73           <property name="spacing" >
       
    74            <number>6</number>
       
    75           </property>
       
    76           <item row="0" column="0" >
       
    77            <widget class="QLabel" name="label" >
       
    78             <property name="text" >
       
    79              <string>Min:</string>
       
    80             </property>
       
    81             <property name="alignment" >
       
    82              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
    83             </property>
       
    84            </widget>
       
    85           </item>
       
    86           <item row="0" column="1" >
       
    87            <widget class="QSpinBox" name="minVal" >
       
    88             <property name="sizePolicy" >
       
    89              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
    90               <horstretch>1</horstretch>
       
    91               <verstretch>0</verstretch>
       
    92              </sizepolicy>
       
    93             </property>
       
    94             <property name="minimum" >
       
    95              <number>-1000000</number>
       
    96             </property>
       
    97             <property name="maximum" >
       
    98              <number>1000000</number>
       
    99             </property>
       
   100            </widget>
       
   101           </item>
       
   102           <item row="1" column="0" >
       
   103            <widget class="QLabel" name="label_2" >
       
   104             <property name="text" >
       
   105              <string>Max:</string>
       
   106             </property>
       
   107             <property name="alignment" >
       
   108              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   109             </property>
       
   110            </widget>
       
   111           </item>
       
   112           <item row="1" column="1" >
       
   113            <widget class="QSpinBox" name="maxVal" >
       
   114             <property name="sizePolicy" >
       
   115              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
   116               <horstretch>1</horstretch>
       
   117               <verstretch>0</verstretch>
       
   118              </sizepolicy>
       
   119             </property>
       
   120             <property name="minimum" >
       
   121              <number>-1000000</number>
       
   122             </property>
       
   123             <property name="maximum" >
       
   124              <number>1000000</number>
       
   125             </property>
       
   126             <property name="value" >
       
   127              <number>1000</number>
       
   128             </property>
       
   129            </widget>
       
   130           </item>
       
   131          </layout>
       
   132         </item>
       
   133         <item>
       
   134          <widget class="QFrame" name="frame" >
       
   135           <property name="frameShape" >
       
   136            <enum>QFrame::StyledPanel</enum>
       
   137           </property>
       
   138           <property name="frameShadow" >
       
   139            <enum>QFrame::Sunken</enum>
       
   140           </property>
       
   141           <layout class="QVBoxLayout" >
       
   142            <property name="margin" >
       
   143             <number>9</number>
       
   144            </property>
       
   145            <property name="spacing" >
       
   146             <number>6</number>
       
   147            </property>
       
   148            <item>
       
   149             <widget class="LEDWidget" name="ledWidget" >
       
   150              <property name="sizePolicy" >
       
   151               <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
       
   152                <horstretch>0</horstretch>
       
   153                <verstretch>0</verstretch>
       
   154               </sizepolicy>
       
   155              </property>
       
   156              <property name="pixmap" >
       
   157               <pixmap resource="validators.qrc" >:/ledoff.png</pixmap>
       
   158              </property>
       
   159              <property name="alignment" >
       
   160               <set>Qt::AlignCenter</set>
       
   161              </property>
       
   162             </widget>
       
   163            </item>
       
   164            <item>
       
   165             <widget class="QLabel" name="label_7" >
       
   166              <property name="text" >
       
   167               <string>editingFinished()</string>
       
   168              </property>
       
   169             </widget>
       
   170            </item>
       
   171           </layout>
       
   172          </widget>
       
   173         </item>
       
   174        </layout>
       
   175       </item>
       
   176       <item>
       
   177        <spacer>
       
   178         <property name="orientation" >
       
   179          <enum>Qt::Vertical</enum>
       
   180         </property>
       
   181         <property name="sizeType" >
       
   182          <enum>QSizePolicy::Fixed</enum>
       
   183         </property>
       
   184         <property name="sizeHint" >
       
   185          <size>
       
   186           <width>20</width>
       
   187           <height>20</height>
       
   188          </size>
       
   189         </property>
       
   190        </spacer>
       
   191       </item>
       
   192       <item>
       
   193        <widget class="QLineEdit" name="editor" />
       
   194       </item>
       
   195      </layout>
       
   196     </widget>
       
   197    </item>
       
   198    <item>
       
   199     <widget class="QGroupBox" name="groupBox_2" >
       
   200      <property name="title" >
       
   201       <string>QDoubleValidator</string>
       
   202      </property>
       
   203      <layout class="QVBoxLayout" >
       
   204       <property name="margin" >
       
   205        <number>9</number>
       
   206       </property>
       
   207       <property name="spacing" >
       
   208        <number>6</number>
       
   209       </property>
       
   210       <item>
       
   211        <layout class="QHBoxLayout" >
       
   212         <property name="margin" >
       
   213          <number>0</number>
       
   214         </property>
       
   215         <property name="spacing" >
       
   216          <number>6</number>
       
   217         </property>
       
   218         <item>
       
   219          <layout class="QGridLayout" >
       
   220           <property name="margin" >
       
   221            <number>0</number>
       
   222           </property>
       
   223           <property name="spacing" >
       
   224            <number>6</number>
       
   225           </property>
       
   226           <item row="0" column="0" >
       
   227            <widget class="QLabel" name="label_3" >
       
   228             <property name="text" >
       
   229              <string>Min:</string>
       
   230             </property>
       
   231             <property name="alignment" >
       
   232              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   233             </property>
       
   234            </widget>
       
   235           </item>
       
   236           <item row="0" column="1" >
       
   237            <widget class="QDoubleSpinBox" name="doubleMinVal" >
       
   238             <property name="sizePolicy" >
       
   239              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
   240               <horstretch>1</horstretch>
       
   241               <verstretch>0</verstretch>
       
   242              </sizepolicy>
       
   243             </property>
       
   244             <property name="minimum" >
       
   245              <double>-100000.000000000000000</double>
       
   246             </property>
       
   247             <property name="maximum" >
       
   248              <double>100000.000000000000000</double>
       
   249             </property>
       
   250             <property name="value" >
       
   251              <double>0.000000000000000</double>
       
   252             </property>
       
   253            </widget>
       
   254           </item>
       
   255           <item row="0" column="2" >
       
   256            <widget class="QLabel" name="label_5" >
       
   257             <property name="text" >
       
   258              <string>Format:</string>
       
   259             </property>
       
   260             <property name="alignment" >
       
   261              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   262             </property>
       
   263            </widget>
       
   264           </item>
       
   265           <item row="0" column="3" >
       
   266            <widget class="QComboBox" name="doubleFormat" >
       
   267             <item>
       
   268              <property name="text" >
       
   269               <string>Standard</string>
       
   270              </property>
       
   271             </item>
       
   272             <item>
       
   273              <property name="text" >
       
   274               <string>Scientific</string>
       
   275              </property>
       
   276             </item>
       
   277            </widget>
       
   278           </item>
       
   279           <item row="1" column="0" >
       
   280            <widget class="QLabel" name="label_4" >
       
   281             <property name="text" >
       
   282              <string>Max:</string>
       
   283             </property>
       
   284             <property name="alignment" >
       
   285              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   286             </property>
       
   287            </widget>
       
   288           </item>
       
   289           <item row="1" column="1" >
       
   290            <widget class="QDoubleSpinBox" name="doubleMaxVal" >
       
   291             <property name="sizePolicy" >
       
   292              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
   293               <horstretch>1</horstretch>
       
   294               <verstretch>0</verstretch>
       
   295              </sizepolicy>
       
   296             </property>
       
   297             <property name="minimum" >
       
   298              <double>-100000.000000000000000</double>
       
   299             </property>
       
   300             <property name="maximum" >
       
   301              <double>100000.000000000000000</double>
       
   302             </property>
       
   303             <property name="value" >
       
   304              <double>1000.000000000000000</double>
       
   305             </property>
       
   306            </widget>
       
   307           </item>
       
   308           <item row="1" column="2" >
       
   309            <widget class="QLabel" name="label_6" >
       
   310             <property name="text" >
       
   311              <string>Decimals:</string>
       
   312             </property>
       
   313             <property name="alignment" >
       
   314              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   315             </property>
       
   316            </widget>
       
   317           </item>
       
   318           <item row="1" column="3" >
       
   319            <widget class="QSpinBox" name="doubleDecimals" >
       
   320             <property name="value" >
       
   321              <number>2</number>
       
   322             </property>
       
   323            </widget>
       
   324           </item>
       
   325          </layout>
       
   326         </item>
       
   327         <item>
       
   328          <widget class="QFrame" name="frame_2" >
       
   329           <property name="frameShape" >
       
   330            <enum>QFrame::StyledPanel</enum>
       
   331           </property>
       
   332           <property name="frameShadow" >
       
   333            <enum>QFrame::Sunken</enum>
       
   334           </property>
       
   335           <layout class="QVBoxLayout" >
       
   336            <property name="margin" >
       
   337             <number>9</number>
       
   338            </property>
       
   339            <property name="spacing" >
       
   340             <number>6</number>
       
   341            </property>
       
   342            <item>
       
   343             <widget class="LEDWidget" name="doubleLedWidget" >
       
   344              <property name="text" >
       
   345               <string/>
       
   346              </property>
       
   347              <property name="pixmap" >
       
   348               <pixmap resource="validators.qrc" >:/ledoff.png</pixmap>
       
   349              </property>
       
   350              <property name="alignment" >
       
   351               <set>Qt::AlignCenter</set>
       
   352              </property>
       
   353             </widget>
       
   354            </item>
       
   355            <item>
       
   356             <widget class="QLabel" name="label_8" >
       
   357              <property name="text" >
       
   358               <string>editingFinished()</string>
       
   359              </property>
       
   360             </widget>
       
   361            </item>
       
   362           </layout>
       
   363          </widget>
       
   364         </item>
       
   365        </layout>
       
   366       </item>
       
   367       <item>
       
   368        <spacer>
       
   369         <property name="orientation" >
       
   370          <enum>Qt::Vertical</enum>
       
   371         </property>
       
   372         <property name="sizeType" >
       
   373          <enum>QSizePolicy::Fixed</enum>
       
   374         </property>
       
   375         <property name="sizeHint" >
       
   376          <size>
       
   377           <width>20</width>
       
   378           <height>20</height>
       
   379          </size>
       
   380         </property>
       
   381        </spacer>
       
   382       </item>
       
   383       <item>
       
   384        <widget class="QLineEdit" name="doubleEditor" />
       
   385       </item>
       
   386      </layout>
       
   387     </widget>
       
   388    </item>
       
   389    <item>
       
   390     <spacer>
       
   391      <property name="orientation" >
       
   392       <enum>Qt::Vertical</enum>
       
   393      </property>
       
   394      <property name="sizeHint" >
       
   395       <size>
       
   396        <width>20</width>
       
   397        <height>111</height>
       
   398       </size>
       
   399      </property>
       
   400     </spacer>
       
   401    </item>
       
   402    <item>
       
   403     <layout class="QHBoxLayout" >
       
   404      <property name="margin" >
       
   405       <number>0</number>
       
   406      </property>
       
   407      <property name="spacing" >
       
   408       <number>6</number>
       
   409      </property>
       
   410      <item>
       
   411       <spacer>
       
   412        <property name="orientation" >
       
   413         <enum>Qt::Horizontal</enum>
       
   414        </property>
       
   415        <property name="sizeHint" >
       
   416         <size>
       
   417          <width>40</width>
       
   418          <height>20</height>
       
   419         </size>
       
   420        </property>
       
   421       </spacer>
       
   422      </item>
       
   423      <item>
       
   424       <widget class="QPushButton" name="pushButton" >
       
   425        <property name="text" >
       
   426         <string>Quit</string>
       
   427        </property>
       
   428       </widget>
       
   429      </item>
       
   430     </layout>
       
   431    </item>
       
   432   </layout>
       
   433  </widget>
       
   434  <customwidgets>
       
   435   <customwidget>
       
   436    <class>LEDWidget</class>
       
   437    <extends>QLabel</extends>
       
   438    <header>ledwidget.h</header>
       
   439   </customwidget>
       
   440   <customwidget>
       
   441    <class>LocaleSelector</class>
       
   442    <extends>QComboBox</extends>
       
   443    <header>localeselector.h</header>
       
   444   </customwidget>
       
   445  </customwidgets>
       
   446  <resources>
       
   447   <include location="validators.qrc" />
       
   448  </resources>
       
   449  <connections>
       
   450   <connection>
       
   451    <sender>pushButton</sender>
       
   452    <signal>clicked()</signal>
       
   453    <receiver>ValidatorsForm</receiver>
       
   454    <slot>close()</slot>
       
   455    <hints>
       
   456     <hint type="sourcelabel" >
       
   457      <x>94</x>
       
   458      <y>274</y>
       
   459     </hint>
       
   460     <hint type="destinationlabel" >
       
   461      <x>131</x>
       
   462      <y>260</y>
       
   463     </hint>
       
   464    </hints>
       
   465   </connection>
       
   466  </connections>
       
   467 </ui>