Warning, /plasma/oxygen/kstyle/demo/ui/oxygenbuttondemowidget.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>ButtonDemoWidget</class>
0004  <widget class="QWidget" name="ButtonDemoWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>412</width>
0010     <height>410</height>
0011    </rect>
0012   </property>
0013   <layout class="QGridLayout" name="gridLayout">
0014    <property name="margin">
0015     <number>0</number>
0016    </property>
0017    <item row="2" column="0">
0018     <widget class="QGroupBox" name="groupBox_3">
0019      <property name="title">
0020       <string>Checkboxes</string>
0021      </property>
0022      <layout class="QHBoxLayout" name="horizontalLayout">
0023       <item>
0024        <layout class="QVBoxLayout" name="verticalLayout">
0025         <item>
0026          <widget class="QCheckBox" name="checkBox">
0027           <property name="text">
0028            <string>Off</string>
0029           </property>
0030          </widget>
0031         </item>
0032         <item>
0033          <widget class="QCheckBox" name="checkBox_2">
0034           <property name="text">
0035            <string>Partial</string>
0036           </property>
0037           <property name="tristate">
0038            <bool>true</bool>
0039           </property>
0040          </widget>
0041         </item>
0042         <item>
0043          <widget class="QCheckBox" name="checkBox_3">
0044           <property name="text">
0045            <string>On</string>
0046           </property>
0047           <property name="checked">
0048            <bool>true</bool>
0049           </property>
0050          </widget>
0051         </item>
0052        </layout>
0053       </item>
0054       <item>
0055        <spacer name="horizontalSpacer_2">
0056         <property name="orientation">
0057          <enum>Qt::Horizontal</enum>
0058         </property>
0059         <property name="sizeHint" stdset="0">
0060          <size>
0061           <width>40</width>
0062           <height>20</height>
0063          </size>
0064         </property>
0065        </spacer>
0066       </item>
0067      </layout>
0068     </widget>
0069    </item>
0070    <item row="2" column="1">
0071     <widget class="QGroupBox" name="groupBox_4">
0072      <property name="title">
0073       <string>Radiobuttons</string>
0074      </property>
0075      <layout class="QHBoxLayout" name="horizontalLayout_2">
0076       <item>
0077        <layout class="QVBoxLayout" name="verticalLayout_2">
0078         <item>
0079          <widget class="QRadioButton" name="radioButton">
0080           <property name="enabled">
0081            <bool>true</bool>
0082           </property>
0083           <property name="text">
0084            <string>F&amp;irst Choice</string>
0085           </property>
0086           <property name="checked">
0087            <bool>true</bool>
0088           </property>
0089          </widget>
0090         </item>
0091         <item>
0092          <widget class="QRadioButton" name="radioButton_2">
0093           <property name="text">
0094            <string>Seco&amp;nd Choice</string>
0095           </property>
0096          </widget>
0097         </item>
0098         <item>
0099          <widget class="QRadioButton" name="radioButton_3">
0100           <property name="text">
0101            <string>&amp;Third Choice</string>
0102           </property>
0103          </widget>
0104         </item>
0105        </layout>
0106       </item>
0107       <item>
0108        <spacer name="horizontalSpacer_3">
0109         <property name="orientation">
0110          <enum>Qt::Horizontal</enum>
0111         </property>
0112         <property name="sizeHint" stdset="0">
0113          <size>
0114           <width>40</width>
0115           <height>20</height>
0116          </size>
0117         </property>
0118        </spacer>
0119       </item>
0120      </layout>
0121     </widget>
0122    </item>
0123    <item row="0" column="0" colspan="2">
0124     <widget class="QGroupBox" name="groupBox">
0125      <property name="title">
0126       <string>Pushbuttons</string>
0127      </property>
0128      <layout class="QGridLayout" name="gridLayout_4">
0129       <item row="0" column="0">
0130        <widget class="QLabel" name="label_7">
0131         <property name="text">
0132          <string>Text only:</string>
0133         </property>
0134         <property name="alignment">
0135          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0136         </property>
0137        </widget>
0138       </item>
0139       <item row="0" column="4">
0140        <widget class="KComboBox" name="kcombobox">
0141         <property name="toolTip">
0142          <string>This is a normal, text only combo box</string>
0143         </property>
0144         <property name="currentIndex">
0145          <number>1</number>
0146         </property>
0147         <item>
0148          <property name="text">
0149           <string>Small</string>
0150          </property>
0151         </item>
0152         <item>
0153          <property name="text">
0154           <string>Normal</string>
0155          </property>
0156         </item>
0157         <item>
0158          <property name="text">
0159           <string>Large</string>
0160          </property>
0161         </item>
0162        </widget>
0163       </item>
0164       <item row="0" column="6">
0165        <spacer name="horizontalSpacer">
0166         <property name="orientation">
0167          <enum>Qt::Horizontal</enum>
0168         </property>
0169         <property name="sizeHint" stdset="0">
0170          <size>
0171           <width>36</width>
0172           <height>20</height>
0173          </size>
0174         </property>
0175        </spacer>
0176       </item>
0177       <item row="1" column="0">
0178        <widget class="QLabel" name="label_8">
0179         <property name="text">
0180          <string>Text and icon:</string>
0181         </property>
0182         <property name="alignment">
0183          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0184         </property>
0185        </widget>
0186       </item>
0187       <item row="2" column="0" colspan="2">
0188        <widget class="QCheckBox" name="flatButtonCheckBox">
0189         <property name="text">
0190          <string>Use flat buttons</string>
0191         </property>
0192        </widget>
0193       </item>
0194       <item row="1" column="4">
0195        <widget class="KComboBox" name="kcombobox_2">
0196         <property name="toolTip">
0197          <string>This is a normal, text and icon combo box</string>
0198         </property>
0199        </widget>
0200       </item>
0201       <item row="0" column="5">
0202        <widget class="QToolButton" name="toolButton">
0203         <property name="toolTip">
0204          <string>This is a normal, text only tool button</string>
0205         </property>
0206         <property name="text">
0207          <string>Normal</string>
0208         </property>
0209        </widget>
0210       </item>
0211       <item row="1" column="5">
0212        <widget class="QToolButton" name="toolButton_2">
0213         <property name="toolTip">
0214          <string>This is a normal, text and icon tool button</string>
0215         </property>
0216         <property name="text">
0217          <string>Normal</string>
0218         </property>
0219        </widget>
0220       </item>
0221       <item row="0" column="1">
0222        <widget class="QPushButton" name="pushButton">
0223         <property name="toolTip">
0224          <string>This is a normal, text only button</string>
0225         </property>
0226         <property name="text">
0227          <string>Normal</string>
0228         </property>
0229        </widget>
0230       </item>
0231       <item row="0" column="2">
0232        <widget class="QPushButton" name="pushButton_2">
0233         <property name="toolTip">
0234          <string>This is a normal, text only button with menu</string>
0235         </property>
0236         <property name="text">
0237          <string>Normal</string>
0238         </property>
0239        </widget>
0240       </item>
0241       <item row="1" column="1">
0242        <widget class="QPushButton" name="pushButton_3">
0243         <property name="toolTip">
0244          <string>This is a normal, text and icon button</string>
0245         </property>
0246         <property name="text">
0247          <string>Normal</string>
0248         </property>
0249        </widget>
0250       </item>
0251       <item row="1" column="2">
0252        <widget class="QPushButton" name="pushButton_4">
0253         <property name="toolTip">
0254          <string>This is a normal, text and icon button with menu</string>
0255         </property>
0256         <property name="text">
0257          <string>Normal</string>
0258         </property>
0259        </widget>
0260       </item>
0261      </layout>
0262     </widget>
0263    </item>
0264    <item row="1" column="0" colspan="2">
0265     <widget class="QGroupBox" name="groupBox_2">
0266      <property name="title">
0267       <string>Toolbuttons</string>
0268      </property>
0269      <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,1,1,1">
0270       <item row="0" column="0" colspan="4">
0271        <widget class="QWidget" name="widget" native="true">
0272         <layout class="QGridLayout" name="gridLayout_2">
0273          <property name="sizeConstraint">
0274           <enum>QLayout::SetDefaultConstraint</enum>
0275          </property>
0276          <property name="margin">
0277           <number>0</number>
0278          </property>
0279          <property name="spacing">
0280           <number>0</number>
0281          </property>
0282          <item row="0" column="0">
0283           <widget class="QToolButton" name="toolButton_3">
0284            <property name="text">
0285             <string>Normal</string>
0286            </property>
0287            <property name="checkable">
0288             <bool>true</bool>
0289            </property>
0290           </widget>
0291          </item>
0292          <item row="0" column="1">
0293           <widget class="QToolButton" name="toolButton_4">
0294            <property name="text">
0295             <string>Normal</string>
0296            </property>
0297            <property name="popupMode">
0298             <enum>QToolButton::InstantPopup</enum>
0299            </property>
0300           </widget>
0301          </item>
0302          <item row="0" column="2">
0303           <widget class="QToolButton" name="toolButton_5">
0304            <property name="text">
0305             <string>Normal</string>
0306            </property>
0307            <property name="popupMode">
0308             <enum>QToolButton::MenuButtonPopup</enum>
0309            </property>
0310           </widget>
0311          </item>
0312          <item row="0" column="3" rowspan="2">
0313           <widget class="QFrame" name="frame_2">
0314            <property name="frameShape">
0315             <enum>QFrame::VLine</enum>
0316            </property>
0317            <property name="frameShadow">
0318             <enum>QFrame::Raised</enum>
0319            </property>
0320           </widget>
0321          </item>
0322          <item row="0" column="4" colspan="4">
0323           <widget class="QWidget" name="toolBarContainer" native="true">
0324            <property name="sizePolicy">
0325             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
0326              <horstretch>0</horstretch>
0327              <verstretch>0</verstretch>
0328             </sizepolicy>
0329            </property>
0330           </widget>
0331          </item>
0332          <item row="1" column="0">
0333           <widget class="QToolButton" name="toolButton_6">
0334            <property name="text">
0335             <string>Flat</string>
0336            </property>
0337            <property name="checkable">
0338             <bool>true</bool>
0339            </property>
0340            <property name="autoRaise">
0341             <bool>true</bool>
0342            </property>
0343           </widget>
0344          </item>
0345          <item row="1" column="1">
0346           <widget class="QToolButton" name="toolButton_7">
0347            <property name="text">
0348             <string>Flat</string>
0349            </property>
0350            <property name="popupMode">
0351             <enum>QToolButton::InstantPopup</enum>
0352            </property>
0353            <property name="autoRaise">
0354             <bool>true</bool>
0355            </property>
0356           </widget>
0357          </item>
0358          <item row="1" column="2">
0359           <widget class="QToolButton" name="toolButton_8">
0360            <property name="text">
0361             <string>Flat</string>
0362            </property>
0363            <property name="popupMode">
0364             <enum>QToolButton::MenuButtonPopup</enum>
0365            </property>
0366            <property name="autoRaise">
0367             <bool>true</bool>
0368            </property>
0369           </widget>
0370          </item>
0371          <item row="1" column="4">
0372           <widget class="QToolButton" name="toolButton_9">
0373            <property name="text">
0374             <string>Up Arrow</string>
0375            </property>
0376            <property name="arrowType">
0377             <enum>Qt::UpArrow</enum>
0378            </property>
0379           </widget>
0380          </item>
0381          <item row="1" column="5">
0382           <widget class="QToolButton" name="toolButton_10">
0383            <property name="text">
0384             <string>Down Arrow</string>
0385            </property>
0386            <property name="checkable">
0387             <bool>false</bool>
0388            </property>
0389            <property name="arrowType">
0390             <enum>Qt::DownArrow</enum>
0391            </property>
0392           </widget>
0393          </item>
0394          <item row="1" column="6">
0395           <widget class="QToolButton" name="toolButton_11">
0396            <property name="text">
0397             <string>Left Arrow</string>
0398            </property>
0399            <property name="arrowType">
0400             <enum>Qt::LeftArrow</enum>
0401            </property>
0402           </widget>
0403          </item>
0404          <item row="1" column="7">
0405           <widget class="QToolButton" name="toolButton_12">
0406            <property name="text">
0407             <string>Right Arrow</string>
0408            </property>
0409            <property name="arrowType">
0410             <enum>Qt::RightArrow</enum>
0411            </property>
0412           </widget>
0413          </item>
0414         </layout>
0415        </widget>
0416       </item>
0417       <item row="1" column="0">
0418        <widget class="QLabel" name="label_11">
0419         <property name="text">
0420          <string>Te&amp;xt position:</string>
0421         </property>
0422         <property name="alignment">
0423          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0424         </property>
0425         <property name="buddy">
0426          <cstring>textPosition</cstring>
0427         </property>
0428        </widget>
0429       </item>
0430       <item row="1" column="1">
0431        <widget class="KComboBox" name="textPosition">
0432         <item>
0433          <property name="text">
0434           <string>Icons Only</string>
0435          </property>
0436         </item>
0437         <item>
0438          <property name="text">
0439           <string>Text Only</string>
0440          </property>
0441         </item>
0442         <item>
0443          <property name="text">
0444           <string>Text Alongside Icons</string>
0445          </property>
0446         </item>
0447         <item>
0448          <property name="text">
0449           <string>Text Under Icons</string>
0450          </property>
0451         </item>
0452        </widget>
0453       </item>
0454       <item row="1" column="2" colspan="2">
0455        <spacer name="horizontalSpacer_5">
0456         <property name="orientation">
0457          <enum>Qt::Horizontal</enum>
0458         </property>
0459         <property name="sizeHint" stdset="0">
0460          <size>
0461           <width>120</width>
0462           <height>17</height>
0463          </size>
0464         </property>
0465        </spacer>
0466       </item>
0467       <item row="2" column="0">
0468        <widget class="QLabel" name="label_12">
0469         <property name="text">
0470          <string>Icon si&amp;ze:</string>
0471         </property>
0472         <property name="alignment">
0473          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0474         </property>
0475         <property name="buddy">
0476          <cstring>iconSize</cstring>
0477         </property>
0478        </widget>
0479       </item>
0480       <item row="2" column="1">
0481        <widget class="KComboBox" name="iconSize">
0482         <item>
0483          <property name="text">
0484           <string>Small (16x16)</string>
0485          </property>
0486         </item>
0487         <item>
0488          <property name="text">
0489           <string>Medium (22x22)</string>
0490          </property>
0491         </item>
0492         <item>
0493          <property name="text">
0494           <string>Large (32x32)</string>
0495          </property>
0496         </item>
0497         <item>
0498          <property name="text">
0499           <string>Huge (48x48)</string>
0500          </property>
0501         </item>
0502        </widget>
0503       </item>
0504      </layout>
0505     </widget>
0506    </item>
0507   </layout>
0508  </widget>
0509  <customwidgets>
0510   <customwidget>
0511    <class>KComboBox</class>
0512    <extends>QComboBox</extends>
0513    <header>kcombobox.h</header>
0514   </customwidget>
0515  </customwidgets>
0516  <tabstops>
0517   <tabstop>pushButton</tabstop>
0518   <tabstop>pushButton_2</tabstop>
0519   <tabstop>kcombobox</tabstop>
0520   <tabstop>toolButton</tabstop>
0521   <tabstop>pushButton_3</tabstop>
0522   <tabstop>pushButton_4</tabstop>
0523   <tabstop>kcombobox_2</tabstop>
0524   <tabstop>toolButton_2</tabstop>
0525   <tabstop>flatButtonCheckBox</tabstop>
0526   <tabstop>toolButton_3</tabstop>
0527   <tabstop>toolButton_4</tabstop>
0528   <tabstop>toolButton_5</tabstop>
0529   <tabstop>toolButton_6</tabstop>
0530   <tabstop>toolButton_7</tabstop>
0531   <tabstop>toolButton_8</tabstop>
0532   <tabstop>toolButton_9</tabstop>
0533   <tabstop>toolButton_10</tabstop>
0534   <tabstop>toolButton_11</tabstop>
0535   <tabstop>toolButton_12</tabstop>
0536   <tabstop>textPosition</tabstop>
0537   <tabstop>iconSize</tabstop>
0538   <tabstop>checkBox</tabstop>
0539   <tabstop>checkBox_2</tabstop>
0540   <tabstop>checkBox_3</tabstop>
0541   <tabstop>radioButton</tabstop>
0542   <tabstop>radioButton_2</tabstop>
0543   <tabstop>radioButton_3</tabstop>
0544  </tabstops>
0545  <resources/>
0546  <connections/>
0547 </ui>