[7fd20fc] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>MultiConstraintUI</class> |
---|
| 4 | <widget class="QDialog" name="MultiConstraintUI"> |
---|
| 5 | <property name="windowModality"> |
---|
[d3c0b95] | 6 | <enum>Qt::ApplicationModal</enum> |
---|
[7fd20fc] | 7 | </property> |
---|
| 8 | <property name="geometry"> |
---|
| 9 | <rect> |
---|
| 10 | <x>0</x> |
---|
| 11 | <y>0</y> |
---|
[14ec91c5] | 12 | <width>426</width> |
---|
| 13 | <height>162</height> |
---|
[7fd20fc] | 14 | </rect> |
---|
| 15 | </property> |
---|
| 16 | <property name="sizePolicy"> |
---|
| 17 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
---|
| 18 | <horstretch>0</horstretch> |
---|
| 19 | <verstretch>0</verstretch> |
---|
| 20 | </sizepolicy> |
---|
| 21 | </property> |
---|
| 22 | <property name="windowTitle"> |
---|
| 23 | <string>2 parameter constraint</string> |
---|
| 24 | </property> |
---|
| 25 | <property name="modal"> |
---|
| 26 | <bool>true</bool> |
---|
| 27 | </property> |
---|
| 28 | <layout class="QGridLayout" name="gridLayout"> |
---|
| 29 | <item row="0" column="0"> |
---|
| 30 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 31 | <item> |
---|
| 32 | <widget class="QLabel" name="txtParam1"> |
---|
| 33 | <property name="sizePolicy"> |
---|
| 34 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 35 | <horstretch>0</horstretch> |
---|
| 36 | <verstretch>0</verstretch> |
---|
| 37 | </sizepolicy> |
---|
| 38 | </property> |
---|
| 39 | <property name="text"> |
---|
| 40 | <string><html><head/><body><p><span style=" font-weight:600;">parameter1</span></p></body></html></string> |
---|
| 41 | </property> |
---|
| 42 | </widget> |
---|
| 43 | </item> |
---|
| 44 | <item> |
---|
| 45 | <widget class="QLabel" name="label"> |
---|
| 46 | <property name="text"> |
---|
| 47 | <string><html><head/><body><p><span style=" font-weight:600;">= function(</span></p></body></html></string> |
---|
| 48 | </property> |
---|
| 49 | </widget> |
---|
| 50 | </item> |
---|
| 51 | <item> |
---|
| 52 | <widget class="QLabel" name="txtParam2"> |
---|
| 53 | <property name="sizePolicy"> |
---|
| 54 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 55 | <horstretch>0</horstretch> |
---|
| 56 | <verstretch>0</verstretch> |
---|
| 57 | </sizepolicy> |
---|
| 58 | </property> |
---|
| 59 | <property name="text"> |
---|
| 60 | <string><html><head/><body><p><span style=" font-weight:600;">parameter2</span></p></body></html></string> |
---|
| 61 | </property> |
---|
| 62 | </widget> |
---|
| 63 | </item> |
---|
| 64 | <item> |
---|
| 65 | <widget class="QLabel" name="label_3"> |
---|
| 66 | <property name="text"> |
---|
| 67 | <string><html><head/><body><p><span style=" font-weight:600;">)</span></p></body></html></string> |
---|
| 68 | </property> |
---|
| 69 | </widget> |
---|
| 70 | </item> |
---|
| 71 | <item> |
---|
| 72 | <spacer name="horizontalSpacer_2"> |
---|
| 73 | <property name="orientation"> |
---|
| 74 | <enum>Qt::Horizontal</enum> |
---|
| 75 | </property> |
---|
| 76 | <property name="sizeHint" stdset="0"> |
---|
| 77 | <size> |
---|
| 78 | <width>40</width> |
---|
| 79 | <height>20</height> |
---|
| 80 | </size> |
---|
| 81 | </property> |
---|
| 82 | </spacer> |
---|
| 83 | </item> |
---|
| 84 | <item> |
---|
| 85 | <widget class="QPushButton" name="cmdRevert"> |
---|
| 86 | <property name="text"> |
---|
[14ec91c5] | 87 | <string>Swap</string> |
---|
[7fd20fc] | 88 | </property> |
---|
| 89 | </widget> |
---|
| 90 | </item> |
---|
| 91 | </layout> |
---|
| 92 | </item> |
---|
| 93 | <item row="1" column="0"> |
---|
| 94 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
---|
| 95 | <item> |
---|
| 96 | <widget class="QLabel" name="txtParam1_2"> |
---|
| 97 | <property name="sizePolicy"> |
---|
| 98 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 99 | <horstretch>0</horstretch> |
---|
| 100 | <verstretch>0</verstretch> |
---|
| 101 | </sizepolicy> |
---|
| 102 | </property> |
---|
| 103 | <property name="text"> |
---|
| 104 | <string>parameter1</string> |
---|
| 105 | </property> |
---|
| 106 | </widget> |
---|
| 107 | </item> |
---|
| 108 | <item> |
---|
| 109 | <widget class="QLabel" name="label_2"> |
---|
| 110 | <property name="text"> |
---|
| 111 | <string>=</string> |
---|
| 112 | </property> |
---|
| 113 | </widget> |
---|
| 114 | </item> |
---|
| 115 | <item> |
---|
| 116 | <widget class="QLineEdit" name="txtConstraint"/> |
---|
| 117 | </item> |
---|
| 118 | </layout> |
---|
| 119 | </item> |
---|
| 120 | <item row="2" column="0"> |
---|
| 121 | <spacer name="verticalSpacer"> |
---|
| 122 | <property name="orientation"> |
---|
| 123 | <enum>Qt::Vertical</enum> |
---|
| 124 | </property> |
---|
| 125 | <property name="sizeHint" stdset="0"> |
---|
| 126 | <size> |
---|
| 127 | <width>20</width> |
---|
| 128 | <height>35</height> |
---|
| 129 | </size> |
---|
| 130 | </property> |
---|
| 131 | </spacer> |
---|
| 132 | </item> |
---|
| 133 | <item row="3" column="0"> |
---|
| 134 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 135 | <item> |
---|
| 136 | <spacer name="horizontalSpacer"> |
---|
| 137 | <property name="orientation"> |
---|
| 138 | <enum>Qt::Horizontal</enum> |
---|
| 139 | </property> |
---|
| 140 | <property name="sizeHint" stdset="0"> |
---|
| 141 | <size> |
---|
| 142 | <width>40</width> |
---|
| 143 | <height>20</height> |
---|
| 144 | </size> |
---|
| 145 | </property> |
---|
| 146 | </spacer> |
---|
| 147 | </item> |
---|
| 148 | <item> |
---|
| 149 | <widget class="QPushButton" name="cmdOK"> |
---|
| 150 | <property name="text"> |
---|
| 151 | <string>OK</string> |
---|
| 152 | </property> |
---|
[14ec91c5] | 153 | <property name="default"> |
---|
[a90c9c5] | 154 | <bool>false</bool> |
---|
[14ec91c5] | 155 | </property> |
---|
[7fd20fc] | 156 | </widget> |
---|
| 157 | </item> |
---|
[d3c0b95] | 158 | <item> |
---|
| 159 | <widget class="QPushButton" name="cmdCancel"> |
---|
| 160 | <property name="text"> |
---|
| 161 | <string>Cancel</string> |
---|
| 162 | </property> |
---|
| 163 | </widget> |
---|
| 164 | </item> |
---|
| 165 | <item> |
---|
| 166 | <widget class="QPushButton" name="cmdHelp"> |
---|
| 167 | <property name="text"> |
---|
| 168 | <string>Help</string> |
---|
| 169 | </property> |
---|
| 170 | </widget> |
---|
| 171 | </item> |
---|
[7fd20fc] | 172 | </layout> |
---|
| 173 | </item> |
---|
| 174 | </layout> |
---|
| 175 | </widget> |
---|
| 176 | <resources/> |
---|
[eae226b] | 177 | <connections> |
---|
| 178 | <connection> |
---|
| 179 | <sender>cmdOK</sender> |
---|
| 180 | <signal>clicked()</signal> |
---|
| 181 | <receiver>MultiConstraintUI</receiver> |
---|
| 182 | <slot>accept()</slot> |
---|
| 183 | <hints> |
---|
| 184 | <hint type="sourcelabel"> |
---|
| 185 | <x>321</x> |
---|
| 186 | <y>121</y> |
---|
| 187 | </hint> |
---|
| 188 | <hint type="destinationlabel"> |
---|
| 189 | <x>184</x> |
---|
| 190 | <y>71</y> |
---|
| 191 | </hint> |
---|
| 192 | </hints> |
---|
| 193 | </connection> |
---|
[d3c0b95] | 194 | <connection> |
---|
| 195 | <sender>cmdCancel</sender> |
---|
| 196 | <signal>clicked()</signal> |
---|
| 197 | <receiver>MultiConstraintUI</receiver> |
---|
| 198 | <slot>reject()</slot> |
---|
| 199 | <hints> |
---|
| 200 | <hint type="sourcelabel"> |
---|
| 201 | <x>187</x> |
---|
| 202 | <y>121</y> |
---|
| 203 | </hint> |
---|
| 204 | <hint type="destinationlabel"> |
---|
| 205 | <x>184</x> |
---|
| 206 | <y>71</y> |
---|
| 207 | </hint> |
---|
| 208 | </hints> |
---|
| 209 | </connection> |
---|
[eae226b] | 210 | </connections> |
---|
[7fd20fc] | 211 | </ui> |
---|