Warning, /plasma/wacomtablet/src/kcmodule/tabletareaselectionview.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>TabletAreaSelectionView</class>
0004  <widget class="QWidget" name="TabletAreaSelectionView">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>669</width>
0010     <height>312</height>
0011    </rect>
0012   </property>
0013   <layout class="QVBoxLayout" name="verticalLayout_4">
0014    <item>
0015     <layout class="QHBoxLayout" name="infoLayout">
0016      <item>
0017       <widget class="QLabel" name="iconLabel">
0018        <property name="minimumSize">
0019         <size>
0020          <width>16</width>
0021          <height>16</height>
0022         </size>
0023        </property>
0024        <property name="maximumSize">
0025         <size>
0026          <width>16</width>
0027          <height>16</height>
0028         </size>
0029        </property>
0030        <property name="text">
0031         <string/>
0032        </property>
0033        <property name="alignment">
0034         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
0035        </property>
0036       </widget>
0037      </item>
0038      <item>
0039       <widget class="QLabel" name="infoLabel">
0040        <property name="text">
0041         <string>The tablet area defines how the screen space is mapped to your tablet. For each screen a different tablet area can be selected. </string>
0042        </property>
0043        <property name="wordWrap">
0044         <bool>true</bool>
0045        </property>
0046       </widget>
0047      </item>
0048     </layout>
0049    </item>
0050    <item>
0051     <layout class="QHBoxLayout" name="horizontalLayout">
0052      <item>
0053       <layout class="QVBoxLayout" name="controlsLayout">
0054        <item>
0055         <widget class="QGroupBox" name="screenGroupBox">
0056          <property name="title">
0057           <string>Screen</string>
0058          </property>
0059          <property name="alignment">
0060           <set>Qt::AlignCenter</set>
0061          </property>
0062          <layout class="QVBoxLayout" name="verticalLayout">
0063           <item>
0064            <layout class="QHBoxLayout" name="screenCenterLayout">
0065             <item>
0066              <widget class="Wacom::AreaSelectionWidget" name="screenArea" native="true">
0067               <property name="enabled">
0068                <bool>true</bool>
0069               </property>
0070               <property name="sizePolicy">
0071                <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
0072                 <horstretch>0</horstretch>
0073                 <verstretch>0</verstretch>
0074                </sizepolicy>
0075               </property>
0076              </widget>
0077             </item>
0078            </layout>
0079           </item>
0080           <item>
0081            <widget class="QPushButton" name="screenToggleButton">
0082             <property name="toolTip">
0083              <string>Toggle between fullscreen and each single screen.</string>
0084             </property>
0085             <property name="text">
0086              <string>Toggle Screen</string>
0087             </property>
0088            </widget>
0089           </item>
0090          </layout>
0091         </widget>
0092        </item>
0093        <item>
0094         <widget class="QGroupBox" name="controlsGroupBox">
0095          <property name="toolTip">
0096           <string>Select the valid tablet area used for the selected screen space.</string>
0097          </property>
0098          <property name="title">
0099           <string>Map Screen To</string>
0100          </property>
0101          <layout class="QVBoxLayout" name="verticalLayout_2">
0102           <item>
0103            <widget class="QRadioButton" name="fullTabletRadioButton">
0104             <property name="text">
0105              <string>&amp;Full Tablet</string>
0106             </property>
0107             <property name="checked">
0108              <bool>true</bool>
0109             </property>
0110            </widget>
0111           </item>
0112           <item>
0113            <widget class="QRadioButton" name="tabletAreaRadioButton">
0114             <property name="text">
0115              <string>&amp;Tablet Area</string>
0116             </property>
0117            </widget>
0118           </item>
0119           <item>
0120            <widget class="QPushButton" name="forceProportionsButton">
0121             <property name="toolTip">
0122              <string>Set the tablet area proportional to the selected screen area.</string>
0123             </property>
0124             <property name="text">
0125              <string>Set Screen Proportions</string>
0126             </property>
0127            </widget>
0128           </item>
0129           <item>
0130            <widget class="QPushButton" name="calibrateButton">
0131             <property name="text">
0132              <string>Calibrate</string>
0133             </property>
0134            </widget>
0135           </item>
0136          </layout>
0137         </widget>
0138        </item>
0139        <item>
0140         <spacer name="controlsFreeSpacer">
0141          <property name="orientation">
0142           <enum>Qt::Vertical</enum>
0143          </property>
0144          <property name="sizeHint" stdset="0">
0145           <size>
0146            <width>1</width>
0147            <height>5</height>
0148           </size>
0149          </property>
0150         </spacer>
0151        </item>
0152       </layout>
0153      </item>
0154      <item>
0155       <widget class="QGroupBox" name="tabletGroupBox">
0156        <property name="title">
0157         <string>Tablet</string>
0158        </property>
0159        <layout class="QVBoxLayout" name="verticalLayout_3">
0160         <item>
0161          <layout class="QHBoxLayout" name="areaCenterLayout">
0162           <item>
0163            <widget class="Wacom::AreaSelectionWidget" name="areaWidget" native="true">
0164             <property name="sizePolicy">
0165              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0166               <horstretch>0</horstretch>
0167               <verstretch>0</verstretch>
0168              </sizepolicy>
0169             </property>
0170            </widget>
0171           </item>
0172          </layout>
0173         </item>
0174         <item>
0175          <layout class="QHBoxLayout" name="warningLayout">
0176           <item>
0177            <widget class="QLabel" name="warningIcon">
0178             <property name="sizePolicy">
0179              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0180               <horstretch>0</horstretch>
0181               <verstretch>0</verstretch>
0182              </sizepolicy>
0183             </property>
0184             <property name="minimumSize">
0185              <size>
0186               <width>16</width>
0187               <height>16</height>
0188              </size>
0189             </property>
0190             <property name="maximumSize">
0191              <size>
0192               <width>16</width>
0193               <height>16</height>
0194              </size>
0195             </property>
0196             <property name="text">
0197              <string/>
0198             </property>
0199            </widget>
0200           </item>
0201           <item>
0202            <widget class="QLabel" name="warningLabel">
0203             <property name="text">
0204              <string>This mapping can only be applied in absolute tracking mode.</string>
0205             </property>
0206             <property name="alignment">
0207              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0208             </property>
0209             <property name="wordWrap">
0210              <bool>true</bool>
0211             </property>
0212            </widget>
0213           </item>
0214          </layout>
0215         </item>
0216         <item>
0217          <widget class="QPushButton" name="buttonLockProportions">
0218           <property name="text">
0219            <string>Lock proportions</string>
0220           </property>
0221           <property name="icon">
0222            <iconset theme="lock"/>
0223           </property>
0224           <property name="checkable">
0225            <bool>true</bool>
0226           </property>
0227          </widget>
0228         </item>
0229         <item>
0230          <widget class="QGroupBox" name="fineTuneGroupBox">
0231           <property name="title">
0232            <string>Tablet area fine tuning</string>
0233           </property>
0234           <layout class="QGridLayout" name="gridLayout">
0235            <item row="0" column="2">
0236             <widget class="QLineEdit" name="lineEditWidth">
0237              <property name="sizePolicy">
0238               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0239                <horstretch>0</horstretch>
0240                <verstretch>0</verstretch>
0241               </sizepolicy>
0242              </property>
0243              <property name="toolTip">
0244               <string>Width</string>
0245              </property>
0246              <property name="alignment">
0247               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0248              </property>
0249             </widget>
0250            </item>
0251            <item row="0" column="0">
0252             <widget class="QLabel" name="labelHorizontalTune">
0253              <property name="text">
0254               <string>Horizontal</string>
0255              </property>
0256             </widget>
0257            </item>
0258            <item row="0" column="1">
0259             <widget class="QLineEdit" name="lineEditX">
0260              <property name="sizePolicy">
0261               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0262                <horstretch>0</horstretch>
0263                <verstretch>0</verstretch>
0264               </sizepolicy>
0265              </property>
0266              <property name="toolTip">
0267               <string>Left margin</string>
0268              </property>
0269              <property name="alignment">
0270               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0271              </property>
0272             </widget>
0273            </item>
0274            <item row="1" column="0">
0275             <widget class="QLabel" name="labelVerticalTune">
0276              <property name="text">
0277               <string>Vertical</string>
0278              </property>
0279             </widget>
0280            </item>
0281            <item row="1" column="1">
0282             <widget class="QLineEdit" name="lineEditY">
0283              <property name="sizePolicy">
0284               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0285                <horstretch>0</horstretch>
0286                <verstretch>0</verstretch>
0287               </sizepolicy>
0288              </property>
0289              <property name="toolTip">
0290               <string>Top margin</string>
0291              </property>
0292              <property name="alignment">
0293               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0294              </property>
0295             </widget>
0296            </item>
0297            <item row="1" column="2">
0298             <widget class="QLineEdit" name="lineEditHeight">
0299              <property name="sizePolicy">
0300               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0301                <horstretch>0</horstretch>
0302                <verstretch>0</verstretch>
0303               </sizepolicy>
0304              </property>
0305              <property name="toolTip">
0306               <string>Height</string>
0307              </property>
0308              <property name="alignment">
0309               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0310              </property>
0311             </widget>
0312            </item>
0313           </layout>
0314          </widget>
0315         </item>
0316         <item>
0317          <spacer name="tabletFreeSpacer">
0318           <property name="orientation">
0319            <enum>Qt::Vertical</enum>
0320           </property>
0321           <property name="sizeType">
0322            <enum>QSizePolicy::MinimumExpanding</enum>
0323           </property>
0324           <property name="sizeHint" stdset="0">
0325            <size>
0326             <width>0</width>
0327             <height>0</height>
0328            </size>
0329           </property>
0330          </spacer>
0331         </item>
0332        </layout>
0333       </widget>
0334      </item>
0335     </layout>
0336    </item>
0337   </layout>
0338  </widget>
0339  <customwidgets>
0340   <customwidget>
0341    <class>Wacom::AreaSelectionWidget</class>
0342    <extends>QWidget</extends>
0343    <header>areaselectionwidget.h</header>
0344    <container>1</container>
0345   </customwidget>
0346  </customwidgets>
0347  <resources/>
0348  <connections>
0349   <connection>
0350    <sender>calibrateButton</sender>
0351    <signal>clicked()</signal>
0352    <receiver>TabletAreaSelectionView</receiver>
0353    <slot>onCalibrateClicked()</slot>
0354    <hints>
0355     <hint type="sourcelabel">
0356      <x>123</x>
0357      <y>282</y>
0358     </hint>
0359     <hint type="destinationlabel">
0360      <x>199</x>
0361      <y>149</y>
0362     </hint>
0363    </hints>
0364   </connection>
0365   <connection>
0366    <sender>forceProportionsButton</sender>
0367    <signal>clicked()</signal>
0368    <receiver>TabletAreaSelectionView</receiver>
0369    <slot>onForceProportionsClicked()</slot>
0370    <hints>
0371     <hint type="sourcelabel">
0372      <x>123</x>
0373      <y>253</y>
0374     </hint>
0375     <hint type="destinationlabel">
0376      <x>199</x>
0377      <y>149</y>
0378     </hint>
0379    </hints>
0380   </connection>
0381   <connection>
0382    <sender>fullTabletRadioButton</sender>
0383    <signal>toggled(bool)</signal>
0384    <receiver>TabletAreaSelectionView</receiver>
0385    <slot>onFullTabletSelected(bool)</slot>
0386    <hints>
0387     <hint type="sourcelabel">
0388      <x>123</x>
0389      <y>195</y>
0390     </hint>
0391     <hint type="destinationlabel">
0392      <x>199</x>
0393      <y>149</y>
0394     </hint>
0395    </hints>
0396   </connection>
0397   <connection>
0398    <sender>tabletAreaRadioButton</sender>
0399    <signal>toggled(bool)</signal>
0400    <receiver>TabletAreaSelectionView</receiver>
0401    <slot>onTabletAreaSelected(bool)</slot>
0402    <hints>
0403     <hint type="sourcelabel">
0404      <x>123</x>
0405      <y>224</y>
0406     </hint>
0407     <hint type="destinationlabel">
0408      <x>199</x>
0409      <y>149</y>
0410     </hint>
0411    </hints>
0412   </connection>
0413   <connection>
0414    <sender>screenToggleButton</sender>
0415    <signal>clicked()</signal>
0416    <receiver>TabletAreaSelectionView</receiver>
0417    <slot>onScreenToggle()</slot>
0418    <hints>
0419     <hint type="sourcelabel">
0420      <x>150</x>
0421      <y>96</y>
0422     </hint>
0423     <hint type="destinationlabel">
0424      <x>299</x>
0425      <y>130</y>
0426     </hint>
0427    </hints>
0428   </connection>
0429   <connection>
0430    <sender>buttonLockProportions</sender>
0431    <signal>toggled(bool)</signal>
0432    <receiver>TabletAreaSelectionView</receiver>
0433    <slot>onLockProportionsToggled(bool)</slot>
0434    <hints>
0435     <hint type="sourcelabel">
0436      <x>496</x>
0437      <y>186</y>
0438     </hint>
0439     <hint type="destinationlabel">
0440      <x>334</x>
0441      <y>155</y>
0442     </hint>
0443    </hints>
0444   </connection>
0445  </connections>
0446  <slots>
0447   <slot>onCalibrateClicked()</slot>
0448   <slot>onForceProportionsClicked()</slot>
0449   <slot>onFullTabletSelected(bool)</slot>
0450   <slot>onTabletAreaSelected(bool)</slot>
0451   <slot>onScreenToggle()</slot>
0452   <slot>onLockProportionsToggled(bool)</slot>
0453  </slots>
0454 </ui>