tablettest.ui 2.32 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>TabletTest</class>
4
 <widget class="QWidget" name="TabletTest">
5 6 7 8 9 10 11 12 13 14 15 16 17
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>730</width>
    <height>385</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Tablet Tester</string>
  </property>
  <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1">
   <item>
18 19 20 21 22 23 24 25
    <widget class="TabletTester" name="tablettest">
     <property name="minimumSize">
      <size>
       <width>150</width>
       <height>150</height>
      </size>
     </property>
    </widget>
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
   </item>
   <item>
    <layout class="QVBoxLayout" name="verticalLayout">
     <item>
      <widget class="QPlainTextEdit" name="logView">
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="pushButton">
       <property name="text">
        <string>Clear</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>TabletTester</class>
   <extends>QWidget</extends>
51
   <header>input/wintab/drawpile_tablettester/tablettest.h</header>
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>pushButton</sender>
   <signal>clicked()</signal>
   <receiver>logView</receiver>
   <slot>clear()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>722</x>
     <y>377</y>
    </hint>
    <hint type="destinationlabel">
     <x>659</x>
     <y>84</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushButton</sender>
   <signal>clicked()</signal>
   <receiver>tablettest</receiver>
   <slot>clear()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>419</x>
     <y>359</y>
    </hint>
    <hint type="destinationlabel">
     <x>142</x>
     <y>242</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>tablettest</sender>
   <signal>eventReport(QString)</signal>
   <receiver>logView</receiver>
   <slot>appendPlainText(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>287</x>
     <y>187</y>
    </hint>
    <hint type="destinationlabel">
     <x>546</x>
     <y>207</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>