Warning, /plasma/wacomtablet/src/kcmodule/touchpagewidget.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>TouchPageWidget</class>
0004  <widget class="QWidget" name="TouchPageWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>663</width>
0010     <height>418</height>
0011    </rect>
0012   </property>
0013   <layout class="QVBoxLayout" name="verticalLayout_9">
0014    <item>
0015     <widget class="KMessageWidget" name="gesturesWarning">
0016      <property name="text">
0017       <string>Enabling gestures may break touch input using a touchscreen.</string>
0018      </property>
0019      <property name="visible">
0020       <bool>false</bool>
0021      </property>
0022      <property name="closeButtonVisible">
0023       <bool>false</bool>
0024      </property>
0025      <property name="wordWrap">
0026       <bool>true</bool>
0027      </property>
0028      <property name="messageType">
0029       <enum>KMessageWidget::Warning</enum>
0030      </property>
0031     </widget>
0032    </item>
0033    <item>
0034     <widget class="QCheckBox" name="touchCheckBox">
0035      <property name="toolTip">
0036       <string>If enabled the tablet will emit touch events.</string>
0037      </property>
0038      <property name="text">
0039       <string>Enable Touch</string>
0040      </property>
0041     </widget>
0042    </item>
0043    <item>
0044     <layout class="QHBoxLayout" name="touchHLayout1">
0045      <item>
0046       <widget class="QGroupBox" name="trackingModeGroupBox">
0047        <property name="enabled">
0048         <bool>false</bool>
0049        </property>
0050        <property name="sizePolicy">
0051         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0052          <horstretch>0</horstretch>
0053          <verstretch>0</verstretch>
0054         </sizepolicy>
0055        </property>
0056        <property name="toolTip">
0057         <string>Defines how the cursor movement mode will be used.</string>
0058        </property>
0059        <property name="title">
0060         <string>Touch Tracking Mode</string>
0061        </property>
0062        <layout class="QVBoxLayout" name="verticalLayout_5">
0063         <item>
0064          <widget class="QRadioButton" name="trackAbsoluteRadioButton">
0065           <property name="sizePolicy">
0066            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0067             <horstretch>0</horstretch>
0068             <verstretch>0</verstretch>
0069            </sizepolicy>
0070           </property>
0071           <property name="text">
0072            <string>&amp;Map to Screen (Absolute Mode)</string>
0073           </property>
0074           <property name="checked">
0075            <bool>true</bool>
0076           </property>
0077          </widget>
0078         </item>
0079         <item>
0080          <widget class="QRadioButton" name="trackRelativeRadioButton">
0081           <property name="sizePolicy">
0082            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0083             <horstretch>0</horstretch>
0084             <verstretch>0</verstretch>
0085            </sizepolicy>
0086           </property>
0087           <property name="text">
0088            <string>Map &amp;to Cursor (Relative Mode)</string>
0089           </property>
0090          </widget>
0091         </item>
0092         <item>
0093          <spacer name="trackingFreeSpacer">
0094           <property name="orientation">
0095            <enum>Qt::Vertical</enum>
0096           </property>
0097           <property name="sizeType">
0098            <enum>QSizePolicy::MinimumExpanding</enum>
0099           </property>
0100           <property name="sizeHint" stdset="0">
0101            <size>
0102             <width>1</width>
0103             <height>5</height>
0104            </size>
0105           </property>
0106          </spacer>
0107         </item>
0108        </layout>
0109       </widget>
0110      </item>
0111      <item>
0112       <widget class="QGroupBox" name="touchMappingGroupBox">
0113        <property name="enabled">
0114         <bool>false</bool>
0115        </property>
0116        <property name="sizePolicy">
0117         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0118          <horstretch>0</horstretch>
0119          <verstretch>0</verstretch>
0120         </sizepolicy>
0121        </property>
0122        <property name="title">
0123         <string>Touch Mapping</string>
0124        </property>
0125        <layout class="QVBoxLayout" name="verticalLayout_4">
0126         <item>
0127          <widget class="QPushButton" name="touchMappingTabletButton">
0128           <property name="sizePolicy">
0129            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0130             <horstretch>0</horstretch>
0131             <verstretch>0</verstretch>
0132            </sizepolicy>
0133           </property>
0134           <property name="toolTip">
0135            <string>Allows one to specify the tablet area for different screen selections in absolute cursor mode.</string>
0136           </property>
0137           <property name="text">
0138            <string>Map Touch Area to Screen</string>
0139           </property>
0140          </widget>
0141         </item>
0142         <item>
0143          <layout class="QHBoxLayout" name="trackingWarningLayout">
0144           <item>
0145            <widget class="QLabel" name="trackingWarningIcon">
0146             <property name="minimumSize">
0147              <size>
0148               <width>16</width>
0149               <height>16</height>
0150              </size>
0151             </property>
0152             <property name="maximumSize">
0153              <size>
0154               <width>16</width>
0155               <height>16</height>
0156              </size>
0157             </property>
0158             <property name="text">
0159              <string/>
0160             </property>
0161            </widget>
0162           </item>
0163           <item>
0164            <widget class="QLabel" name="trackingWarningLabel">
0165             <property name="text">
0166              <string>Your currently selected mapping can not be applied in relative tracking mode.</string>
0167             </property>
0168             <property name="wordWrap">
0169              <bool>true</bool>
0170             </property>
0171            </widget>
0172           </item>
0173          </layout>
0174         </item>
0175         <item>
0176          <spacer name="touchMappingFreeSpacer">
0177           <property name="orientation">
0178            <enum>Qt::Vertical</enum>
0179           </property>
0180           <property name="sizeType">
0181            <enum>QSizePolicy::MinimumExpanding</enum>
0182           </property>
0183           <property name="sizeHint" stdset="0">
0184            <size>
0185             <width>1</width>
0186             <height>5</height>
0187            </size>
0188           </property>
0189          </spacer>
0190         </item>
0191        </layout>
0192       </widget>
0193      </item>
0194     </layout>
0195    </item>
0196    <item>
0197     <widget class="QCheckBox" name="gesturesCheckBox">
0198      <property name="enabled">
0199       <bool>false</bool>
0200      </property>
0201      <property name="toolTip">
0202       <string>If enabled the touch events can recognize gestures.</string>
0203      </property>
0204      <property name="text">
0205       <string>Enable Gestures</string>
0206      </property>
0207     </widget>
0208    </item>
0209    <item>
0210     <layout class="QHBoxLayout" name="touchHLayout2">
0211      <item>
0212       <widget class="QGroupBox" name="gesturesGroupBox">
0213        <property name="enabled">
0214         <bool>false</bool>
0215        </property>
0216        <property name="sizePolicy">
0217         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0218          <horstretch>0</horstretch>
0219          <verstretch>0</verstretch>
0220         </sizepolicy>
0221        </property>
0222        <property name="title">
0223         <string>Gestures</string>
0224        </property>
0225        <layout class="QFormLayout" name="formLayout">
0226         <item row="2" column="0">
0227          <widget class="QLabel" name="scrollDistanceLabel">
0228           <property name="sizePolicy">
0229            <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0230             <horstretch>0</horstretch>
0231             <verstretch>0</verstretch>
0232            </sizepolicy>
0233           </property>
0234           <property name="toolTip">
0235            <string>Minimum motion before sending a scroll gesture.</string>
0236           </property>
0237           <property name="text">
0238            <string>Scroll Distance</string>
0239           </property>
0240           <property name="alignment">
0241            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0242           </property>
0243          </widget>
0244         </item>
0245         <item row="2" column="1">
0246          <widget class="QSpinBox" name="scrollDistanceSpinBox">
0247           <property name="sizePolicy">
0248            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0249             <horstretch>0</horstretch>
0250             <verstretch>0</verstretch>
0251            </sizepolicy>
0252           </property>
0253           <property name="toolTip">
0254            <string>The minimum motion in tablet units before sending a scroll event.</string>
0255           </property>
0256           <property name="maximum">
0257            <number>1000</number>
0258           </property>
0259           <property name="singleStep">
0260            <number>10</number>
0261           </property>
0262          </widget>
0263         </item>
0264         <item row="3" column="0">
0265          <widget class="QLabel" name="zoomDistanceLabel">
0266           <property name="sizePolicy">
0267            <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0268             <horstretch>0</horstretch>
0269             <verstretch>0</verstretch>
0270            </sizepolicy>
0271           </property>
0272           <property name="toolTip">
0273            <string>Minimum distance for a zoom gesture is recognized.</string>
0274           </property>
0275           <property name="text">
0276            <string>Zoom Distance</string>
0277           </property>
0278           <property name="alignment">
0279            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0280           </property>
0281          </widget>
0282         </item>
0283         <item row="3" column="1">
0284          <widget class="QSpinBox" name="zoomDistanceSpinBox">
0285           <property name="sizePolicy">
0286            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0287             <horstretch>0</horstretch>
0288             <verstretch>0</verstretch>
0289            </sizepolicy>
0290           </property>
0291           <property name="toolTip">
0292            <string>The minimum distance in tablet units for a zoom gesture to be recognized.</string>
0293           </property>
0294           <property name="maximum">
0295            <number>1000</number>
0296           </property>
0297           <property name="singleStep">
0298            <number>10</number>
0299           </property>
0300          </widget>
0301         </item>
0302         <item row="4" column="0">
0303          <widget class="QLabel" name="tapTimeLabel">
0304           <property name="sizePolicy">
0305            <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0306             <horstretch>0</horstretch>
0307             <verstretch>0</verstretch>
0308            </sizepolicy>
0309           </property>
0310           <property name="toolTip">
0311            <string>Minimum time between taps for a right click.</string>
0312           </property>
0313           <property name="text">
0314            <string>Tap Time</string>
0315           </property>
0316           <property name="alignment">
0317            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0318           </property>
0319          </widget>
0320         </item>
0321         <item row="4" column="1">
0322          <widget class="QSpinBox" name="tapTimeSpinBox">
0323           <property name="toolTip">
0324            <string>The minimum time in milliseconds between taps to trigger a right click.</string>
0325           </property>
0326           <property name="maximum">
0327            <number>1000</number>
0328           </property>
0329           <property name="singleStep">
0330            <number>10</number>
0331           </property>
0332          </widget>
0333         </item>
0334         <item row="0" column="0">
0335          <widget class="QLabel" name="scrollInversionLabel">
0336           <property name="text">
0337            <string>Invert Scroll Direction</string>
0338           </property>
0339          </widget>
0340         </item>
0341         <item row="0" column="1">
0342          <widget class="QCheckBox" name="scrollInversionCheckBox">
0343           <property name="toolTip">
0344            <string>If selected, the scroll direction for the scroll gesture is inverted.</string>
0345           </property>
0346           <property name="text">
0347            <string/>
0348           </property>
0349          </widget>
0350         </item>
0351        </layout>
0352       </widget>
0353      </item>
0354      <item>
0355       <widget class="QWidget" name="dummyWidget" native="true">
0356        <property name="sizePolicy">
0357         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0358          <horstretch>0</horstretch>
0359          <verstretch>0</verstretch>
0360         </sizepolicy>
0361        </property>
0362       </widget>
0363      </item>
0364     </layout>
0365    </item>
0366    <item>
0367     <spacer name="verticalFreeSpacer">
0368      <property name="orientation">
0369       <enum>Qt::Vertical</enum>
0370      </property>
0371      <property name="sizeType">
0372       <enum>QSizePolicy::Expanding</enum>
0373      </property>
0374      <property name="sizeHint" stdset="0">
0375       <size>
0376        <width>1</width>
0377        <height>1</height>
0378       </size>
0379      </property>
0380     </spacer>
0381    </item>
0382   </layout>
0383  </widget>
0384  <customwidgets>
0385   <customwidget>
0386    <class>KMessageWidget</class>
0387    <extends>QFrame</extends>
0388    <header>kmessagewidget.h</header>
0389    <container>1</container>
0390   </customwidget>
0391  </customwidgets>
0392  <resources/>
0393  <connections>
0394   <connection>
0395    <sender>touchCheckBox</sender>
0396    <signal>stateChanged(int)</signal>
0397    <receiver>TouchPageWidget</receiver>
0398    <slot>onTouchModeChanged(int)</slot>
0399    <hints>
0400     <hint type="sourcelabel">
0401      <x>203</x>
0402      <y>194</y>
0403     </hint>
0404     <hint type="destinationlabel">
0405      <x>203</x>
0406      <y>231</y>
0407     </hint>
0408    </hints>
0409   </connection>
0410   <connection>
0411    <sender>trackAbsoluteRadioButton</sender>
0412    <signal>toggled(bool)</signal>
0413    <receiver>TouchPageWidget</receiver>
0414    <slot>onTrackingModeAbsolute(bool)</slot>
0415    <hints>
0416     <hint type="sourcelabel">
0417      <x>109</x>
0418      <y>247</y>
0419     </hint>
0420     <hint type="destinationlabel">
0421      <x>203</x>
0422      <y>231</y>
0423     </hint>
0424    </hints>
0425   </connection>
0426   <connection>
0427    <sender>trackRelativeRadioButton</sender>
0428    <signal>toggled(bool)</signal>
0429    <receiver>TouchPageWidget</receiver>
0430    <slot>onTrackingModeRelative(bool)</slot>
0431    <hints>
0432     <hint type="sourcelabel">
0433      <x>109</x>
0434      <y>272</y>
0435     </hint>
0436     <hint type="destinationlabel">
0437      <x>203</x>
0438      <y>231</y>
0439     </hint>
0440    </hints>
0441   </connection>
0442   <connection>
0443    <sender>touchMappingTabletButton</sender>
0444    <signal>clicked()</signal>
0445    <receiver>TouchPageWidget</receiver>
0446    <slot>onTabletMappingClicked()</slot>
0447    <hints>
0448     <hint type="sourcelabel">
0449      <x>302</x>
0450      <y>278</y>
0451     </hint>
0452     <hint type="destinationlabel">
0453      <x>203</x>
0454      <y>231</y>
0455     </hint>
0456    </hints>
0457   </connection>
0458   <connection>
0459    <sender>scrollDistanceSpinBox</sender>
0460    <signal>valueChanged(int)</signal>
0461    <receiver>TouchPageWidget</receiver>
0462    <slot>onProfileChanged()</slot>
0463    <hints>
0464     <hint type="sourcelabel">
0465      <x>120</x>
0466      <y>375</y>
0467     </hint>
0468     <hint type="destinationlabel">
0469      <x>203</x>
0470      <y>231</y>
0471     </hint>
0472    </hints>
0473   </connection>
0474   <connection>
0475    <sender>zoomDistanceSpinBox</sender>
0476    <signal>valueChanged(int)</signal>
0477    <receiver>TouchPageWidget</receiver>
0478    <slot>onProfileChanged()</slot>
0479    <hints>
0480     <hint type="sourcelabel">
0481      <x>120</x>
0482      <y>401</y>
0483     </hint>
0484     <hint type="destinationlabel">
0485      <x>203</x>
0486      <y>231</y>
0487     </hint>
0488    </hints>
0489   </connection>
0490   <connection>
0491    <sender>tapTimeSpinBox</sender>
0492    <signal>valueChanged(int)</signal>
0493    <receiver>TouchPageWidget</receiver>
0494    <slot>onProfileChanged()</slot>
0495    <hints>
0496     <hint type="sourcelabel">
0497      <x>120</x>
0498      <y>427</y>
0499     </hint>
0500     <hint type="destinationlabel">
0501      <x>203</x>
0502      <y>231</y>
0503     </hint>
0504    </hints>
0505   </connection>
0506   <connection>
0507    <sender>gesturesCheckBox</sender>
0508    <signal>stateChanged(int)</signal>
0509    <receiver>TouchPageWidget</receiver>
0510    <slot>onGesturesModeChanged(int)</slot>
0511    <hints>
0512     <hint type="sourcelabel">
0513      <x>203</x>
0514      <y>322</y>
0515     </hint>
0516     <hint type="destinationlabel">
0517      <x>203</x>
0518      <y>231</y>
0519     </hint>
0520    </hints>
0521   </connection>
0522   <connection>
0523    <sender>scrollInversionCheckBox</sender>
0524    <signal>toggled(bool)</signal>
0525    <receiver>TouchPageWidget</receiver>
0526    <slot>onProfileChanged()</slot>
0527    <hints>
0528     <hint type="sourcelabel">
0529      <x>143</x>
0530      <y>214</y>
0531     </hint>
0532     <hint type="destinationlabel">
0533      <x>271</x>
0534      <y>167</y>
0535     </hint>
0536    </hints>
0537   </connection>
0538  </connections>
0539  <slots>
0540   <slot>onTouchModeChanged(int)</slot>
0541   <slot>onGesturesModeChanged(int)</slot>
0542   <slot>onProfileChanged()</slot>
0543   <slot>onTabletMappingClicked()</slot>
0544   <slot>onTrackingModeAbsolute(bool)</slot>
0545   <slot>onTrackingModeRelative(bool)</slot>
0546  </slots>
0547 </ui>