1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <author>R. Reucher</author> 4 <class>JoystickFunctionScanner</class> 5 <widget class="QDialog" name="JoystickFunctionScanner"> 6 <property name="geometry"> 7 <rect> 8 <x>0</x> 9 <y>0</y> 10 <width>169</width> 11 <height>68</height> 12 </rect> 13 </property> 14 <property name="windowTitle"> 15 <string>Scanning joystick function</string> 16 </property> 17 <layout class="QGridLayout" name="gridLayout"> 18 <item row="0" column="0"> 19 <widget class="QLabel" name="labelStatus"> 20 <property name="sizePolicy"> 21 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 22 <horstretch>0</horstretch> 23 <verstretch>0</verstretch> 24 </sizepolicy> 25 </property> 26 <property name="text"> 27 <string>Scanning joystick function</string> 28 </property> 29 <property name="alignment"> 30 <set>Qt::AlignCenter</set> 31 </property> 32 </widget> 33 </item> 34 <item row="1" column="0"> 35 <widget class="QLabel" name="labelJoystickFunction"> 36 <property name="frameShape"> 37 <enum>QFrame::Box</enum> 38 </property> 39 <property name="frameShadow"> 40 <enum>QFrame::Sunken</enum> 41 </property> 42 <property name="text"> 43 <string><<<>>></string> 44 </property> 45 <property name="alignment"> 46 <set>Qt::AlignCenter</set> 47 </property> 48 </widget> 49 </item> 50 <item row="2" column="0"> 51 <layout class="QHBoxLayout" name="horizontalLayout"> 52 <item> 53 <widget class="QPushButton" name="pushButtonOk"> 54 <property name="enabled"> 55 <bool>false</bool> 56 </property> 57 <property name="focusPolicy"> 58 <enum>Qt::NoFocus</enum> 59 </property> 60 <property name="toolTip"> 61 <string>Accept joystick function</string> 62 </property> 63 <property name="text"> 64 <string>Ok</string> 65 </property> 66 <property name="autoDefault"> 67 <bool>true</bool> 68 </property> 69 </widget> 70 </item> 71 <item> 72 <widget class="QPushButton" name="pushButtonCancel"> 73 <property name="focusPolicy"> 74 <enum>Qt::NoFocus</enum> 75 </property> 76 <property name="toolTip"> 77 <string>Cancel remapping of joystick function</string> 78 </property> 79 <property name="text"> 80 <string>Cancel</string> 81 </property> 82 <property name="autoDefault"> 83 <bool>false</bool> 84 </property> 85 </widget> 86 </item> 87 <item> 88 <widget class="QPushButton" name="pushButtonClear"> 89 <property name="focusPolicy"> 90 <enum>Qt::NoFocus</enum> 91 </property> 92 <property name="toolTip"> 93 <string>Clear joystick function</string> 94 </property> 95 <property name="text"> 96 <string>Clear</string> 97 </property> 98 <property name="autoDefault"> 99 <bool>false</bool> 100 </property> 101 </widget> 102 </item> 103 </layout> 104 </item> 105 </layout> 106 </widget> 107 <layoutdefault spacing="6" margin="6"/> 108 <tabstops> 109 <tabstop>pushButtonOk</tabstop> 110 <tabstop>pushButtonCancel</tabstop> 111 </tabstops> 112 <resources> 113 <include location="qmc2.qrc"/> 114 </resources> 115 <connections> 116 <connection> 117 <sender>pushButtonOk</sender> 118 <signal>clicked()</signal> 119 <receiver>JoystickFunctionScanner</receiver> 120 <slot>accept()</slot> 121 <hints> 122 <hint type="sourcelabel"> 123 <x>44</x> 124 <y>62</y> 125 </hint> 126 <hint type="destinationlabel"> 127 <x>7</x> 128 <y>96</y> 129 </hint> 130 </hints> 131 </connection> 132 <connection> 133 <sender>pushButtonCancel</sender> 134 <signal>clicked()</signal> 135 <receiver>JoystickFunctionScanner</receiver> 136 <slot>reject()</slot> 137 <hints> 138 <hint type="sourcelabel"> 139 <x>107</x> 140 <y>62</y> 141 </hint> 142 <hint type="destinationlabel"> 143 <x>168</x> 144 <y>64</y> 145 </hint> 146 </hints> 147 </connection> 148 <connection> 149 <sender>pushButtonClear</sender> 150 <signal>clicked()</signal> 151 <receiver>JoystickFunctionScanner</receiver> 152 <slot>reject()</slot> 153 <hints> 154 <hint type="sourcelabel"> 155 <x>138</x> 156 <y>48</y> 157 </hint> 158 <hint type="destinationlabel"> 159 <x>165</x> 160 <y>20</y> 161 </hint> 162 </hints> 163 </connection> 164 </connections> 165</ui> 166