Warning, /plasma/wacomtablet/src/kcmodule/styluspagewidget.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>StylusPageWidget</class>
0004  <widget class="QWidget" name="StylusPageWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>629</width>
0010     <height>673</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Pen Settings</string>
0015   </property>
0016   <property name="locale">
0017    <locale language="English" country="UnitedKingdom"/>
0018   </property>
0019   <layout class="QVBoxLayout" name="verticalLayout_6">
0020    <item>
0021     <layout class="QGridLayout" name="penWidgetGridLayout">
0022      <property name="spacing">
0023       <number>10</number>
0024      </property>
0025      <item row="1" column="2">
0026       <widget class="QGroupBox" name="buttonGroupBox">
0027        <property name="toolTip">
0028         <string>Defines the button action on the stylus.</string>
0029        </property>
0030        <property name="title">
0031         <string>Button Settings</string>
0032        </property>
0033        <layout class="QFormLayout" name="formLayout_3">
0034         <item row="0" column="0">
0035          <widget class="QLabel" name="labelButton3">
0036           <property name="sizePolicy">
0037            <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
0038             <horstretch>0</horstretch>
0039             <verstretch>0</verstretch>
0040            </sizepolicy>
0041           </property>
0042           <property name="text">
0043            <string>Button 3</string>
0044           </property>
0045           <property name="alignment">
0046            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0047           </property>
0048          </widget>
0049         </item>
0050         <item row="0" column="1">
0051          <widget class="Wacom::ButtonActionSelectorWidget" name="button3ActionSelector" native="true"/>
0052         </item>
0053         <item row="3" column="0">
0054          <widget class="QLabel" name="labelButton2">
0055           <property name="sizePolicy">
0056            <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
0057             <horstretch>0</horstretch>
0058             <verstretch>0</verstretch>
0059            </sizepolicy>
0060           </property>
0061           <property name="text">
0062            <string>Button 2</string>
0063           </property>
0064           <property name="alignment">
0065            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0066           </property>
0067          </widget>
0068         </item>
0069         <item row="3" column="1">
0070          <widget class="Wacom::ButtonActionSelectorWidget" name="button2ActionSelector" native="true"/>
0071         </item>
0072         <item row="4" column="0">
0073             <widget class="QLabel" name="labelButton1">
0074                 <property name="sizePolicy">
0075                     <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
0076                         <horstretch>0</horstretch>
0077                         <verstretch>0</verstretch>
0078                     </sizepolicy>
0079                 </property>
0080                 <property name="text">
0081                     <string>Button 1</string>
0082                 </property>
0083                 <property name="alignment">
0084                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0085                 </property>
0086             </widget>
0087         </item>
0088         <item row="4" column="1">
0089             <widget class="Wacom::ButtonActionSelectorWidget" name="button1ActionSelector" native="true"/>
0090         </item>
0091         <item row="5" column="1">
0092          <layout class="QHBoxLayout" name="horizontalLayout_2">
0093           <item>
0094            <spacer name="tpcSpacer">
0095             <property name="orientation">
0096              <enum>Qt::Horizontal</enum>
0097             </property>
0098             <property name="sizeType">
0099              <enum>QSizePolicy::Fixed</enum>
0100             </property>
0101             <property name="sizeHint" stdset="0">
0102              <size>
0103               <width>32</width>
0104               <height>0</height>
0105              </size>
0106             </property>
0107            </spacer>
0108           </item>
0109           <item>
0110            <widget class="QCheckBox" name="tpcCheckBox">
0111             <property name="toolTip">
0112              <string>If selected, the stylus must be in contact with the tablet for a stylus side button to work.
0113 If deselected, stylus buttons will work once the stylus is in proximity of the tablet.</string>
0114             </property>
0115             <property name="text">
0116              <string>Tap to execute action.</string>
0117             </property>
0118            </widget>
0119           </item>
0120          </layout>
0121         </item>
0122        </layout>
0123       </widget>
0124      </item>
0125      <item row="0" column="2">
0126       <widget class="QGroupBox" name="eraserBox">
0127        <property name="toolTip">
0128         <string>Sets eraser pressure threshold.</string>
0129        </property>
0130        <property name="title">
0131         <string>Eraser Feel</string>
0132        </property>
0133        <layout class="QVBoxLayout" name="verticalLayout_2">
0134         <item>
0135          <layout class="QVBoxLayout" name="eraserFeelSliderLayout">
0136           <item>
0137            <widget class="QSlider" name="eraserSlider">
0138             <property name="sizePolicy">
0139              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0140               <horstretch>0</horstretch>
0141               <verstretch>0</verstretch>
0142              </sizepolicy>
0143             </property>
0144             <property name="minimumSize">
0145              <size>
0146               <width>0</width>
0147               <height>0</height>
0148              </size>
0149             </property>
0150             <property name="toolTip">
0151              <string>Set the minimum pressure necessary to generate a Button event for the stylus/tip, eraser, or touch.
0152  The pressure levels of all tablets are normalized to 2048 levels irregardless of the actual hardware supported levels.
0153 This parameter is independent of the PressureCurve parameter.</string>
0154             </property>
0155             <property name="minimum">
0156              <number>0</number>
0157             </property>
0158             <property name="maximum">
0159              <number>2000</number>
0160             </property>
0161             <property name="singleStep">
0162              <number>20</number>
0163             </property>
0164             <property name="value">
0165              <number>27</number>
0166             </property>
0167             <property name="orientation">
0168              <enum>Qt::Horizontal</enum>
0169             </property>
0170             <property name="tickPosition">
0171              <enum>QSlider::TicksBelow</enum>
0172             </property>
0173             <property name="tickInterval">
0174              <number>250</number>
0175             </property>
0176            </widget>
0177           </item>
0178           <item>
0179            <layout class="QHBoxLayout" name="eraserFeelSliderLablesLayout">
0180             <item>
0181              <widget class="QLabel" name="labelSlow_2">
0182               <property name="text">
0183                <string comment="slow movement of the cursor (minimal value)">Soft</string>
0184               </property>
0185               <property name="buddy">
0186                <cstring>eraserSlider</cstring>
0187               </property>
0188              </widget>
0189             </item>
0190             <item>
0191              <spacer name="eraserFeelSliderLabelsSpacer">
0192               <property name="orientation">
0193                <enum>Qt::Horizontal</enum>
0194               </property>
0195               <property name="sizeType">
0196                <enum>QSizePolicy::MinimumExpanding</enum>
0197               </property>
0198               <property name="sizeHint" stdset="0">
0199                <size>
0200                 <width>40</width>
0201                 <height>20</height>
0202                </size>
0203               </property>
0204              </spacer>
0205             </item>
0206             <item>
0207              <widget class="QLabel" name="labelFast_2">
0208               <property name="text">
0209                <string comment="fast movement of the cursor (maximal value)">Firm</string>
0210               </property>
0211               <property name="buddy">
0212                <cstring>eraserSlider</cstring>
0213               </property>
0214              </widget>
0215             </item>
0216            </layout>
0217           </item>
0218          </layout>
0219         </item>
0220         <item>
0221          <layout class="QHBoxLayout" name="eraserPressureButtonLayout">
0222           <item>
0223            <spacer name="eraserPressureButtonSpacer">
0224             <property name="orientation">
0225              <enum>Qt::Horizontal</enum>
0226             </property>
0227             <property name="sizeType">
0228              <enum>QSizePolicy::MinimumExpanding</enum>
0229             </property>
0230             <property name="sizeHint" stdset="0">
0231              <size>
0232               <width>40</width>
0233               <height>20</height>
0234              </size>
0235             </property>
0236            </spacer>
0237           </item>
0238           <item>
0239            <widget class="QPushButton" name="eraserPressureButton">
0240             <property name="toolTip">
0241              <string>Defines the pressure sensitivity with a bezier curve</string>
0242             </property>
0243             <property name="text">
0244              <string>Edit Pressure Curve...</string>
0245             </property>
0246            </widget>
0247           </item>
0248          </layout>
0249         </item>
0250         <item>
0251          <spacer name="verticalSpacer_2">
0252           <property name="orientation">
0253            <enum>Qt::Vertical</enum>
0254           </property>
0255           <property name="sizeType">
0256            <enum>QSizePolicy::MinimumExpanding</enum>
0257           </property>
0258           <property name="sizeHint" stdset="0">
0259            <size>
0260             <width>1</width>
0261             <height>0</height>
0262            </size>
0263           </property>
0264          </spacer>
0265         </item>
0266        </layout>
0267       </widget>
0268      </item>
0269      <item row="2" column="2">
0270       <widget class="QGroupBox" name="tipFeelGroupBox">
0271        <property name="toolTip">
0272         <string>Sets stylus pressure threshold.</string>
0273        </property>
0274        <property name="title">
0275         <string>Tip Feel</string>
0276        </property>
0277        <layout class="QVBoxLayout" name="verticalLayout_4">
0278         <item>
0279          <layout class="QVBoxLayout" name="verticalLayout_5">
0280           <item>
0281            <widget class="QSlider" name="tipSlider">
0282             <property name="sizePolicy">
0283              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0284               <horstretch>0</horstretch>
0285               <verstretch>0</verstretch>
0286              </sizepolicy>
0287             </property>
0288             <property name="minimumSize">
0289              <size>
0290               <width>0</width>
0291               <height>0</height>
0292              </size>
0293             </property>
0294             <property name="toolTip">
0295              <string>Set the minimum pressure necessary to generate a Button event for the stylus/tip, eraser, or touch.
0296  The pressure levels of all tablets are normalized to 2048 levels irregardless of the actual hardware supported levels.
0297 This parameter is independent of the PressureCurve parameter.</string>
0298             </property>
0299             <property name="minimum">
0300              <number>0</number>
0301             </property>
0302             <property name="maximum">
0303              <number>2000</number>
0304             </property>
0305             <property name="singleStep">
0306              <number>20</number>
0307             </property>
0308             <property name="value">
0309              <number>27</number>
0310             </property>
0311             <property name="orientation">
0312              <enum>Qt::Horizontal</enum>
0313             </property>
0314             <property name="tickPosition">
0315              <enum>QSlider::TicksBelow</enum>
0316             </property>
0317             <property name="tickInterval">
0318              <number>250</number>
0319             </property>
0320            </widget>
0321           </item>
0322           <item>
0323            <layout class="QHBoxLayout" name="horizontalLayout_5">
0324             <item>
0325              <widget class="QLabel" name="labelSlow_3">
0326               <property name="text">
0327                <string comment="slow movement of the cursor (minimal value)">Soft</string>
0328               </property>
0329               <property name="buddy">
0330                <cstring>tipSlider</cstring>
0331               </property>
0332              </widget>
0333             </item>
0334             <item>
0335              <spacer name="horizontalSpacer_5">
0336               <property name="orientation">
0337                <enum>Qt::Horizontal</enum>
0338               </property>
0339               <property name="sizeType">
0340                <enum>QSizePolicy::MinimumExpanding</enum>
0341               </property>
0342               <property name="sizeHint" stdset="0">
0343                <size>
0344                 <width>40</width>
0345                 <height>20</height>
0346                </size>
0347               </property>
0348              </spacer>
0349             </item>
0350             <item>
0351              <widget class="QLabel" name="labelFast_3">
0352               <property name="text">
0353                <string comment="fast movement of the cursor (maximal value)">Firm</string>
0354               </property>
0355               <property name="buddy">
0356                <cstring>tipSlider</cstring>
0357               </property>
0358              </widget>
0359             </item>
0360            </layout>
0361           </item>
0362          </layout>
0363         </item>
0364         <item>
0365          <layout class="QHBoxLayout" name="horizontalLayout_6">
0366           <item>
0367            <spacer name="horizontalSpacer_7">
0368             <property name="orientation">
0369              <enum>Qt::Horizontal</enum>
0370             </property>
0371             <property name="sizeType">
0372              <enum>QSizePolicy::MinimumExpanding</enum>
0373             </property>
0374             <property name="sizeHint" stdset="0">
0375              <size>
0376               <width>40</width>
0377               <height>20</height>
0378              </size>
0379             </property>
0380            </spacer>
0381           </item>
0382           <item>
0383            <widget class="QPushButton" name="tipPressureButton">
0384             <property name="sizePolicy">
0385              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0386               <horstretch>0</horstretch>
0387               <verstretch>0</verstretch>
0388              </sizepolicy>
0389             </property>
0390             <property name="toolTip">
0391              <string>Defines the pressure sensitivity with a bezier curve</string>
0392             </property>
0393             <property name="text">
0394              <string>Edit Pressure Curve...</string>
0395             </property>
0396            </widget>
0397           </item>
0398          </layout>
0399         </item>
0400        </layout>
0401       </widget>
0402      </item>
0403      <item row="3" column="2">
0404       <widget class="QGroupBox" name="groupBoxRawSample">
0405        <property name="minimumSize">
0406         <size>
0407          <width>0</width>
0408          <height>0</height>
0409         </size>
0410        </property>
0411        <property name="toolTip">
0412         <string>Number of raw data used to filter the points (default is 4)</string>
0413        </property>
0414        <property name="title">
0415         <string>Raw Sample Rate</string>
0416        </property>
0417        <layout class="QVBoxLayout" name="verticalLayout">
0418         <item>
0419          <widget class="QSlider" name="horizontalSliderRawSample">
0420           <property name="toolTip">
0421            <string>Number of raw data used to filter the points (default is 4)</string>
0422           </property>
0423           <property name="minimum">
0424            <number>1</number>
0425           </property>
0426           <property name="maximum">
0427            <number>20</number>
0428           </property>
0429           <property name="pageStep">
0430            <number>10</number>
0431           </property>
0432           <property name="value">
0433            <number>4</number>
0434           </property>
0435           <property name="orientation">
0436            <enum>Qt::Horizontal</enum>
0437           </property>
0438           <property name="tickPosition">
0439            <enum>QSlider::TicksBelow</enum>
0440           </property>
0441           <property name="tickInterval">
0442            <number>1</number>
0443           </property>
0444          </widget>
0445         </item>
0446         <item>
0447          <layout class="QHBoxLayout" name="horizontalLayout">
0448           <item>
0449            <widget class="QLabel" name="labelMinRawSample">
0450             <property name="text">
0451              <string>1</string>
0452             </property>
0453            </widget>
0454           </item>
0455           <item>
0456            <spacer name="horizontalSpacer">
0457             <property name="orientation">
0458              <enum>Qt::Horizontal</enum>
0459             </property>
0460             <property name="sizeHint" stdset="0">
0461              <size>
0462               <width>40</width>
0463               <height>20</height>
0464              </size>
0465             </property>
0466            </spacer>
0467           </item>
0468           <item>
0469            <widget class="QLabel" name="labelMaxRawSample">
0470             <property name="text">
0471              <string>20</string>
0472             </property>
0473            </widget>
0474           </item>
0475          </layout>
0476         </item>
0477        </layout>
0478       </widget>
0479      </item>
0480      <item row="4" column="2">
0481       <widget class="QGroupBox" name="groupBoxSupress">
0482        <property name="minimumSize">
0483         <size>
0484          <width>0</width>
0485          <height>0</height>
0486         </size>
0487        </property>
0488        <property name="toolTip">
0489         <string>Number of points trimmed (default is 2)</string>
0490        </property>
0491        <property name="title">
0492         <string>Suppress Rate</string>
0493        </property>
0494        <layout class="QVBoxLayout" name="verticalLayout_3">
0495         <item>
0496          <widget class="QSlider" name="horizontalSliderSuppress">
0497           <property name="minimum">
0498            <number>0</number>
0499           </property>
0500           <property name="maximum">
0501            <number>20</number>
0502           </property>
0503           <property name="pageStep">
0504            <number>7</number>
0505           </property>
0506           <property name="value">
0507            <number>2</number>
0508           </property>
0509           <property name="orientation">
0510            <enum>Qt::Horizontal</enum>
0511           </property>
0512           <property name="tickPosition">
0513            <enum>QSlider::TicksBelow</enum>
0514           </property>
0515           <property name="tickInterval">
0516            <number>1</number>
0517           </property>
0518          </widget>
0519         </item>
0520         <item>
0521          <layout class="QHBoxLayout" name="horizontalLayout_3">
0522           <item>
0523            <widget class="QLabel" name="labelMinSuppress">
0524             <property name="text">
0525              <string>0</string>
0526             </property>
0527            </widget>
0528           </item>
0529           <item>
0530            <spacer name="horizontalSpacer_2">
0531             <property name="orientation">
0532              <enum>Qt::Horizontal</enum>
0533             </property>
0534             <property name="sizeHint" stdset="0">
0535              <size>
0536               <width>40</width>
0537               <height>20</height>
0538              </size>
0539             </property>
0540            </spacer>
0541           </item>
0542           <item>
0543            <widget class="QLabel" name="labelMaxSuppress">
0544             <property name="text">
0545              <string>20</string>
0546             </property>
0547            </widget>
0548           </item>
0549          </layout>
0550         </item>
0551        </layout>
0552       </widget>
0553      </item>
0554      <item row="0" column="0" rowspan="5">
0555       <layout class="QVBoxLayout" name="penLayout">
0556        <property name="spacing">
0557         <number>7</number>
0558        </property>
0559        <item>
0560         <spacer name="penTopSpacer">
0561          <property name="orientation">
0562           <enum>Qt::Vertical</enum>
0563          </property>
0564          <property name="sizeType">
0565           <enum>QSizePolicy::Fixed</enum>
0566          </property>
0567          <property name="sizeHint" stdset="0">
0568           <size>
0569            <width>20</width>
0570            <height>20</height>
0571           </size>
0572          </property>
0573         </spacer>
0574        </item>
0575        <item>
0576         <widget class="QLabel" name="penLabel">
0577          <property name="sizePolicy">
0578           <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0579            <horstretch>0</horstretch>
0580            <verstretch>0</verstretch>
0581           </sizepolicy>
0582          </property>
0583          <property name="minimumSize">
0584           <size>
0585            <width>40</width>
0586            <height>300</height>
0587           </size>
0588          </property>
0589          <property name="frameShape">
0590           <enum>QFrame::NoFrame</enum>
0591          </property>
0592          <property name="text">
0593           <string/>
0594          </property>
0595         </widget>
0596        </item>
0597        <item>
0598         <spacer name="penBottomSpacer">
0599          <property name="orientation">
0600           <enum>Qt::Vertical</enum>
0601          </property>
0602          <property name="sizeHint" stdset="0">
0603           <size>
0604            <width>20</width>
0605            <height>40</height>
0606           </size>
0607          </property>
0608         </spacer>
0609        </item>
0610       </layout>
0611      </item>
0612     </layout>
0613    </item>
0614    <item>
0615     <spacer name="verticalSpacer">
0616      <property name="orientation">
0617       <enum>Qt::Vertical</enum>
0618      </property>
0619      <property name="sizeHint" stdset="0">
0620       <size>
0621        <width>20</width>
0622        <height>11</height>
0623       </size>
0624      </property>
0625     </spacer>
0626    </item>
0627   </layout>
0628  </widget>
0629  <customwidgets>
0630   <customwidget>
0631    <class>Wacom::ButtonActionSelectorWidget</class>
0632    <extends>QWidget</extends>
0633    <header>buttonactionselectorwidget.h</header>
0634    <container>1</container>
0635   </customwidget>
0636  </customwidgets>
0637  <tabstops>
0638   <tabstop>eraserSlider</tabstop>
0639   <tabstop>eraserPressureButton</tabstop>
0640   <tabstop>tipSlider</tabstop>
0641   <tabstop>tipPressureButton</tabstop>
0642  </tabstops>
0643  <resources/>
0644  <connections>
0645   <connection>
0646    <sender>eraserSlider</sender>
0647    <signal>valueChanged(int)</signal>
0648    <receiver>StylusPageWidget</receiver>
0649    <slot>onProfileChanged()</slot>
0650    <hints>
0651     <hint type="sourcelabel">
0652      <x>154</x>
0653      <y>53</y>
0654     </hint>
0655     <hint type="destinationlabel">
0656      <x>2</x>
0657      <y>50</y>
0658     </hint>
0659    </hints>
0660   </connection>
0661   <connection>
0662    <sender>tipSlider</sender>
0663    <signal>valueChanged(int)</signal>
0664    <receiver>StylusPageWidget</receiver>
0665    <slot>onProfileChanged()</slot>
0666    <hints>
0667     <hint type="sourcelabel">
0668      <x>80</x>
0669      <y>349</y>
0670     </hint>
0671     <hint type="destinationlabel">
0672      <x>0</x>
0673      <y>352</y>
0674     </hint>
0675    </hints>
0676   </connection>
0677   <connection>
0678    <sender>eraserPressureButton</sender>
0679    <signal>clicked()</signal>
0680    <receiver>StylusPageWidget</receiver>
0681    <slot>onChangeEraserPressureCurve()</slot>
0682    <hints>
0683     <hint type="sourcelabel">
0684      <x>603</x>
0685      <y>130</y>
0686     </hint>
0687     <hint type="destinationlabel">
0688      <x>311</x>
0689      <y>2</y>
0690     </hint>
0691    </hints>
0692   </connection>
0693   <connection>
0694    <sender>tpcCheckBox</sender>
0695    <signal>toggled(bool)</signal>
0696    <receiver>StylusPageWidget</receiver>
0697    <slot>onProfileChanged()</slot>
0698    <hints>
0699     <hint type="sourcelabel">
0700      <x>603</x>
0701      <y>284</y>
0702     </hint>
0703     <hint type="destinationlabel">
0704      <x>747</x>
0705      <y>288</y>
0706     </hint>
0707    </hints>
0708   </connection>
0709   <connection>
0710    <sender>tipPressureButton</sender>
0711    <signal>clicked()</signal>
0712    <receiver>StylusPageWidget</receiver>
0713    <slot>onChangeTipPressureCurve()</slot>
0714    <hints>
0715     <hint type="sourcelabel">
0716      <x>603</x>
0717      <y>428</y>
0718     </hint>
0719     <hint type="destinationlabel">
0720      <x>321</x>
0721      <y>436</y>
0722     </hint>
0723    </hints>
0724   </connection>
0725   <connection>
0726    <sender>horizontalSliderRawSample</sender>
0727    <signal>valueChanged(int)</signal>
0728    <receiver>StylusPageWidget</receiver>
0729    <slot>onProfileChanged()</slot>
0730    <hints>
0731     <hint type="sourcelabel">
0732      <x>320</x>
0733      <y>497</y>
0734     </hint>
0735     <hint type="destinationlabel">
0736      <x>648</x>
0737      <y>497</y>
0738     </hint>
0739    </hints>
0740   </connection>
0741   <connection>
0742    <sender>horizontalSliderSuppress</sender>
0743    <signal>valueChanged(int)</signal>
0744    <receiver>StylusPageWidget</receiver>
0745    <slot>onProfileChanged()</slot>
0746    <hints>
0747     <hint type="sourcelabel">
0748      <x>499</x>
0749      <y>598</y>
0750     </hint>
0751     <hint type="destinationlabel">
0752      <x>663</x>
0753      <y>601</y>
0754     </hint>
0755    </hints>
0756   </connection>
0757  </connections>
0758  <slots>
0759   <slot>onProfileChanged()</slot>
0760   <slot>onChangeEraserPressureCurve()</slot>
0761   <slot>showPenModeSettings()</slot>
0762   <slot>showMouseModeSettings()</slot>
0763   <slot>onChangeTipPressureCurve()</slot>
0764  </slots>
0765 </ui>