examples/widgets/stylesheet/mainwindow.ui
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>MainWindow</class>
       
     3  <widget class="QMainWindow" name="MainWindow" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>400</width>
       
     9     <height>413</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Style Sheet</string>
       
    14   </property>
       
    15   <widget class="QWidget" name="centralwidget" >
       
    16    <layout class="QVBoxLayout" >
       
    17     <property name="margin" >
       
    18      <number>9</number>
       
    19     </property>
       
    20     <property name="spacing" >
       
    21      <number>6</number>
       
    22     </property>
       
    23     <item>
       
    24      <widget class="QFrame" name="mainFrame" >
       
    25       <property name="frameShape" >
       
    26        <enum>QFrame::StyledPanel</enum>
       
    27       </property>
       
    28       <property name="frameShadow" >
       
    29        <enum>QFrame::Raised</enum>
       
    30       </property>
       
    31       <layout class="QGridLayout" >
       
    32        <property name="margin" >
       
    33         <number>9</number>
       
    34        </property>
       
    35        <property name="spacing" >
       
    36         <number>6</number>
       
    37        </property>
       
    38        <item row="6" column="0" colspan="5" >
       
    39         <widget class="QCheckBox" name="agreeCheckBox" >
       
    40          <property name="toolTip" >
       
    41           <string>Please read the LICENSE file before checking</string>
       
    42          </property>
       
    43          <property name="text" >
       
    44           <string>I &amp;accept the terms and &amp;conditions</string>
       
    45          </property>
       
    46         </widget>
       
    47        </item>
       
    48        <item row="5" column="0" >
       
    49         <widget class="QLabel" name="label" >
       
    50          <property name="text" >
       
    51           <string>Profession:</string>
       
    52          </property>
       
    53          <property name="alignment" >
       
    54           <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
       
    55          </property>
       
    56          <property name="buddy" >
       
    57           <cstring>professionList</cstring>
       
    58          </property>
       
    59         </widget>
       
    60        </item>
       
    61        <item row="0" column="0" >
       
    62         <widget class="QLabel" name="nameLabel" >
       
    63          <property name="text" >
       
    64           <string>&amp;Name:</string>
       
    65          </property>
       
    66          <property name="alignment" >
       
    67           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
    68          </property>
       
    69          <property name="buddy" >
       
    70           <cstring>nameCombo</cstring>
       
    71          </property>
       
    72         </widget>
       
    73        </item>
       
    74        <item row="1" column="1" >
       
    75         <widget class="QRadioButton" name="maleRadioButton" >
       
    76          <property name="toolTip" >
       
    77           <string>Check this if you are male</string>
       
    78          </property>
       
    79          <property name="text" >
       
    80           <string>&amp;Male</string>
       
    81          </property>
       
    82         </widget>
       
    83        </item>
       
    84        <item row="3" column="0" >
       
    85         <widget class="QLabel" name="passwordLabel" >
       
    86          <property name="text" >
       
    87           <string>&amp;Password:</string>
       
    88          </property>
       
    89          <property name="alignment" >
       
    90           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
    91          </property>
       
    92          <property name="buddy" >
       
    93           <cstring>passwordEdit</cstring>
       
    94          </property>
       
    95         </widget>
       
    96        </item>
       
    97        <item row="4" column="1" colspan="4" >
       
    98         <widget class="QComboBox" name="countryCombo" >
       
    99          <property name="toolTip" >
       
   100           <string>Specify country of origin</string>
       
   101          </property>
       
   102          <property name="statusTip" >
       
   103           <string>Specify country of origin</string>
       
   104          </property>
       
   105          <property name="currentIndex" >
       
   106           <number>6</number>
       
   107          </property>
       
   108          <item>
       
   109           <property name="text" >
       
   110            <string>Egypt</string>
       
   111           </property>
       
   112          </item>
       
   113          <item>
       
   114           <property name="text" >
       
   115            <string>France</string>
       
   116           </property>
       
   117          </item>
       
   118          <item>
       
   119           <property name="text" >
       
   120            <string>Germany</string>
       
   121           </property>
       
   122          </item>
       
   123          <item>
       
   124           <property name="text" >
       
   125            <string>India</string>
       
   126           </property>
       
   127          </item>
       
   128          <item>
       
   129           <property name="text" >
       
   130            <string>Italy</string>
       
   131           </property>
       
   132          </item>
       
   133          <item>
       
   134           <property name="text" >
       
   135            <string>Norway</string>
       
   136           </property>
       
   137          </item>
       
   138          <item>
       
   139           <property name="text" >
       
   140            <string>Pakistan</string>
       
   141           </property>
       
   142          </item>
       
   143         </widget>
       
   144        </item>
       
   145        <item row="2" column="0" >
       
   146         <widget class="QLabel" name="ageLabel" >
       
   147          <property name="text" >
       
   148           <string>&amp;Age:</string>
       
   149          </property>
       
   150          <property name="alignment" >
       
   151           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   152          </property>
       
   153          <property name="buddy" >
       
   154           <cstring>ageSpinBox</cstring>
       
   155          </property>
       
   156         </widget>
       
   157        </item>
       
   158        <item row="4" column="0" >
       
   159         <widget class="QLabel" name="countryLabel" >
       
   160          <property name="text" >
       
   161           <string>Country:</string>
       
   162          </property>
       
   163          <property name="alignment" >
       
   164           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   165          </property>
       
   166          <property name="buddy" >
       
   167           <cstring>countryCombo</cstring>
       
   168          </property>
       
   169         </widget>
       
   170        </item>
       
   171        <item row="1" column="0" >
       
   172         <widget class="QLabel" name="genderLabel" >
       
   173          <property name="text" >
       
   174           <string>Gender:</string>
       
   175          </property>
       
   176          <property name="alignment" >
       
   177           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   178          </property>
       
   179         </widget>
       
   180        </item>
       
   181        <item row="3" column="1" colspan="4" >
       
   182         <widget class="QLineEdit" name="passwordEdit" >
       
   183          <property name="toolTip" >
       
   184           <string>Specify your password</string>
       
   185          </property>
       
   186          <property name="statusTip" >
       
   187           <string>Specify your password</string>
       
   188          </property>
       
   189          <property name="text" >
       
   190           <string>Password</string>
       
   191          </property>
       
   192          <property name="echoMode" >
       
   193           <enum>QLineEdit::Password</enum>
       
   194          </property>
       
   195         </widget>
       
   196        </item>
       
   197        <item row="1" column="2" colspan="2" >
       
   198         <widget class="QRadioButton" name="femaleRadioButton" >
       
   199          <property name="styleSheet" >
       
   200           <string>Check this if you are female</string>
       
   201          </property>
       
   202          <property name="text" >
       
   203           <string>&amp;Female</string>
       
   204          </property>
       
   205         </widget>
       
   206        </item>
       
   207        <item row="2" column="1" colspan="2" >
       
   208         <widget class="QSpinBox" name="ageSpinBox" >
       
   209          <property name="toolTip" >
       
   210           <string>Specify your age</string>
       
   211          </property>
       
   212          <property name="statusTip" >
       
   213           <string>Specify your age</string>
       
   214          </property>
       
   215          <property name="minimum" >
       
   216           <number>12</number>
       
   217          </property>
       
   218          <property name="value" >
       
   219           <number>22</number>
       
   220          </property>
       
   221         </widget>
       
   222        </item>
       
   223        <item row="0" column="1" colspan="4" >
       
   224         <widget class="QComboBox" name="nameCombo" >
       
   225          <property name="toolTip" >
       
   226           <string>Specify your name</string>
       
   227          </property>
       
   228          <property name="editable" >
       
   229           <bool>true</bool>
       
   230          </property>
       
   231         </widget>
       
   232        </item>
       
   233        <item row="1" column="4" >
       
   234         <spacer>
       
   235          <property name="orientation" >
       
   236           <enum>Qt::Horizontal</enum>
       
   237          </property>
       
   238          <property name="sizeHint" >
       
   239           <size>
       
   240            <width>40</width>
       
   241            <height>20</height>
       
   242           </size>
       
   243          </property>
       
   244         </spacer>
       
   245        </item>
       
   246        <item row="2" column="3" colspan="2" >
       
   247         <spacer>
       
   248          <property name="orientation" >
       
   249           <enum>Qt::Horizontal</enum>
       
   250          </property>
       
   251          <property name="sizeHint" >
       
   252           <size>
       
   253            <width>61</width>
       
   254            <height>20</height>
       
   255           </size>
       
   256          </property>
       
   257         </spacer>
       
   258        </item>
       
   259        <item row="7" column="3" colspan="2" >
       
   260         <widget class="QDialogButtonBox" name="buttonBox" >
       
   261          <property name="orientation" >
       
   262           <enum>Qt::Horizontal</enum>
       
   263          </property>
       
   264          <property name="standardButtons" >
       
   265           <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
       
   266          </property>
       
   267         </widget>
       
   268        </item>
       
   269        <item row="5" column="1" colspan="4" >
       
   270         <widget class="QListWidget" name="professionList" >
       
   271          <property name="toolTip" >
       
   272           <string>Select your profession</string>
       
   273          </property>
       
   274          <property name="statusTip" >
       
   275           <string>Specify your name here</string>
       
   276          </property>
       
   277          <property name="whatsThis" >
       
   278           <string>Specify your name here</string>
       
   279          </property>
       
   280          <property name="currentRow" >
       
   281           <number>0</number>
       
   282          </property>
       
   283          <item>
       
   284           <property name="text" >
       
   285            <string>Developer</string>
       
   286           </property>
       
   287          </item>
       
   288          <item>
       
   289           <property name="text" >
       
   290            <string>Student</string>
       
   291           </property>
       
   292          </item>
       
   293          <item>
       
   294           <property name="text" >
       
   295            <string>Fisherman</string>
       
   296           </property>
       
   297          </item>
       
   298         </widget>
       
   299        </item>
       
   300       </layout>
       
   301      </widget>
       
   302     </item>
       
   303    </layout>
       
   304   </widget>
       
   305   <widget class="QMenuBar" name="menubar" >
       
   306    <property name="geometry" >
       
   307     <rect>
       
   308      <x>0</x>
       
   309      <y>0</y>
       
   310      <width>400</width>
       
   311      <height>29</height>
       
   312     </rect>
       
   313    </property>
       
   314    <widget class="QMenu" name="menu_File" >
       
   315     <property name="title" >
       
   316      <string>&amp;File</string>
       
   317     </property>
       
   318     <addaction name="editStyleAction" />
       
   319     <addaction name="separator" />
       
   320     <addaction name="exitAction" />
       
   321    </widget>
       
   322    <widget class="QMenu" name="menu_Help" >
       
   323     <property name="title" >
       
   324      <string>&amp;Help</string>
       
   325     </property>
       
   326     <addaction name="aboutAction" />
       
   327     <addaction name="aboutQtAction" />
       
   328    </widget>
       
   329    <addaction name="menu_File" />
       
   330    <addaction name="menu_Help" />
       
   331   </widget>
       
   332   <widget class="QStatusBar" name="statusbar" />
       
   333   <action name="exitAction" >
       
   334    <property name="text" >
       
   335     <string>&amp;Exit</string>
       
   336    </property>
       
   337   </action>
       
   338   <action name="aboutQtAction" >
       
   339    <property name="text" >
       
   340     <string>About Qt</string>
       
   341    </property>
       
   342   </action>
       
   343   <action name="editStyleAction" >
       
   344    <property name="text" >
       
   345     <string>Edit &amp;Style...</string>
       
   346    </property>
       
   347   </action>
       
   348   <action name="aboutAction" >
       
   349    <property name="text" >
       
   350     <string>About</string>
       
   351    </property>
       
   352   </action>
       
   353  </widget>
       
   354  <resources/>
       
   355  <connections/>
       
   356 </ui>