1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>InspectorBend</class> 4 <widget class="QWidget" name="InspectorBend"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>365</width> 10 <height>378</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string/> 15 </property> 16 <property name="accessibleName"> 17 <string>Bend Inspector</string> 18 </property> 19 <layout class="QVBoxLayout" name="verticalLayout"> 20 <property name="spacing"> 21 <number>0</number> 22 </property> 23 <property name="leftMargin"> 24 <number>0</number> 25 </property> 26 <property name="topMargin"> 27 <number>0</number> 28 </property> 29 <property name="rightMargin"> 30 <number>0</number> 31 </property> 32 <property name="bottomMargin"> 33 <number>0</number> 34 </property> 35 <item> 36 <widget class="QFrame" name="frame"> 37 <property name="frameShape"> 38 <enum>QFrame::HLine</enum> 39 </property> 40 <property name="frameShadow"> 41 <enum>QFrame::Sunken</enum> 42 </property> 43 </widget> 44 </item> 45 <item> 46 <widget class="QToolButton" name="title"> 47 <property name="sizePolicy"> 48 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 49 <horstretch>0</horstretch> 50 <verstretch>0</verstretch> 51 </sizepolicy> 52 </property> 53 <property name="font"> 54 <font> 55 <weight>75</weight> 56 <bold>true</bold> 57 </font> 58 </property> 59 <property name="text"> 60 <string>Bend</string> 61 </property> 62 </widget> 63 </item> 64 <item> 65 <widget class="QWidget" name="panel" native="true"> 66 <property name="sizePolicy"> 67 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 68 <horstretch>0</horstretch> 69 <verstretch>0</verstretch> 70 </sizepolicy> 71 </property> 72 <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0"> 73 <property name="leftMargin"> 74 <number>3</number> 75 </property> 76 <property name="topMargin"> 77 <number>3</number> 78 </property> 79 <property name="rightMargin"> 80 <number>3</number> 81 </property> 82 <property name="bottomMargin"> 83 <number>3</number> 84 </property> 85 <property name="spacing"> 86 <number>3</number> 87 </property> 88 <item row="1" column="2"> 89 <widget class="Ms::ResetButton" name="resetLineWidth" native="true"> 90 <property name="sizePolicy"> 91 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 92 <horstretch>0</horstretch> 93 <verstretch>0</verstretch> 94 </sizepolicy> 95 </property> 96 </widget> 97 </item> 98 <item row="2" column="0"> 99 <widget class="QLabel" name="label_4"> 100 <property name="text"> 101 <string>Font:</string> 102 </property> 103 <property name="alignment"> 104 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 105 </property> 106 <property name="buddy"> 107 <cstring>fontFace</cstring> 108 </property> 109 </widget> 110 </item> 111 <item row="3" column="0"> 112 <widget class="QLabel" name="label"> 113 <property name="text"> 114 <string>Size:</string> 115 </property> 116 <property name="alignment"> 117 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 118 </property> 119 <property name="buddy"> 120 <cstring>fontSize</cstring> 121 </property> 122 </widget> 123 </item> 124 <item row="3" column="2"> 125 <widget class="Ms::ResetButton" name="resetFontSize" native="true"> 126 <property name="sizePolicy"> 127 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 128 <horstretch>0</horstretch> 129 <verstretch>0</verstretch> 130 </sizepolicy> 131 </property> 132 <property name="accessibleName"> 133 <string>Reset 'Size' value</string> 134 </property> 135 </widget> 136 </item> 137 <item row="2" column="1"> 138 <widget class="QFontComboBox" name="fontFace"> 139 <property name="sizePolicy"> 140 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 141 <horstretch>0</horstretch> 142 <verstretch>0</verstretch> 143 </sizepolicy> 144 </property> 145 <property name="minimumSize"> 146 <size> 147 <width>150</width> 148 <height>0</height> 149 </size> 150 </property> 151 <property name="accessibleName"> 152 <string>Font face</string> 153 </property> 154 </widget> 155 </item> 156 <item row="4" column="0"> 157 <widget class="QLabel" name="label_9"> 158 <property name="text"> 159 <string>Style:</string> 160 </property> 161 <property name="alignment"> 162 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 163 </property> 164 </widget> 165 </item> 166 <item row="9" column="0" colspan="3"> 167 <widget class="Ms::BendCanvas" name="bendCanvas"> 168 <property name="sizePolicy"> 169 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 170 <horstretch>0</horstretch> 171 <verstretch>0</verstretch> 172 </sizepolicy> 173 </property> 174 <property name="minimumSize"> 175 <size> 176 <width>100</width> 177 <height>180</height> 178 </size> 179 </property> 180 </widget> 181 </item> 182 <item row="7" column="0"> 183 <widget class="QLabel" name="label_3"> 184 <property name="text"> 185 <string>Bend type:</string> 186 </property> 187 <property name="buddy"> 188 <cstring>bendType</cstring> 189 </property> 190 </widget> 191 </item> 192 <item row="3" column="1"> 193 <widget class="QSpinBox" name="fontSize"> 194 <property name="sizePolicy"> 195 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 196 <horstretch>0</horstretch> 197 <verstretch>0</verstretch> 198 </sizepolicy> 199 </property> 200 <property name="accessibleName"> 201 <string>Font size</string> 202 </property> 203 <property name="suffix"> 204 <string>pt</string> 205 </property> 206 <property name="minimum"> 207 <number>1</number> 208 </property> 209 </widget> 210 </item> 211 <item row="1" column="0"> 212 <widget class="QLabel" name="label_2"> 213 <property name="text"> 214 <string>Line thickness:</string> 215 </property> 216 <property name="alignment"> 217 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 218 </property> 219 <property name="buddy"> 220 <cstring>lineWidth</cstring> 221 </property> 222 </widget> 223 </item> 224 <item row="1" column="1"> 225 <widget class="QDoubleSpinBox" name="lineWidth"> 226 <property name="sizePolicy"> 227 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 228 <horstretch>0</horstretch> 229 <verstretch>0</verstretch> 230 </sizepolicy> 231 </property> 232 <property name="accessibleName"> 233 <string>Line thickness</string> 234 </property> 235 <property name="suffix"> 236 <string>sp</string> 237 </property> 238 </widget> 239 </item> 240 <item row="5" column="2"> 241 <widget class="Ms::ResetButton" name="resetPlayBend" native="true"> 242 <property name="sizePolicy"> 243 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 244 <horstretch>0</horstretch> 245 <verstretch>0</verstretch> 246 </sizepolicy> 247 </property> 248 </widget> 249 </item> 250 <item row="4" column="1"> 251 <layout class="QHBoxLayout" name="horizontalLayout_2"> 252 <item> 253 <spacer name="horizontalSpacer"> 254 <property name="orientation"> 255 <enum>Qt::Horizontal</enum> 256 </property> 257 <property name="sizeType"> 258 <enum>QSizePolicy::Expanding</enum> 259 </property> 260 <property name="sizeHint" stdset="0"> 261 <size> 262 <width>0</width> 263 <height>0</height> 264 </size> 265 </property> 266 </spacer> 267 </item> 268 <item> 269 <widget class="Ms::FontStyleSelect" name="fontStyle" native="true"> 270 <property name="sizePolicy"> 271 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 272 <horstretch>0</horstretch> 273 <verstretch>0</verstretch> 274 </sizepolicy> 275 </property> 276 <property name="minimumSize"> 277 <size> 278 <width>10</width> 279 <height>0</height> 280 </size> 281 </property> 282 <property name="accessibleName"> 283 <string>Font style</string> 284 </property> 285 </widget> 286 </item> 287 </layout> 288 </item> 289 <item row="4" column="2"> 290 <widget class="Ms::ResetButton" name="resetFontStyle" native="true"> 291 <property name="sizePolicy"> 292 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 293 <horstretch>0</horstretch> 294 <verstretch>0</verstretch> 295 </sizepolicy> 296 </property> 297 <property name="accessibleName"> 298 <string>Reset 'Style' values</string> 299 </property> 300 </widget> 301 </item> 302 <item row="2" column="2"> 303 <widget class="Ms::ResetButton" name="resetFontFace" native="true"> 304 <property name="sizePolicy"> 305 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 306 <horstretch>0</horstretch> 307 <verstretch>0</verstretch> 308 </sizepolicy> 309 </property> 310 <property name="accessibleName"> 311 <string>Reset 'Font' value</string> 312 </property> 313 </widget> 314 </item> 315 <item row="8" column="0" colspan="3"> 316 <widget class="QLabel" name="label_5"> 317 <property name="text"> 318 <string>Click to add or remove some points:</string> 319 </property> 320 <property name="alignment"> 321 <set>Qt::AlignCenter</set> 322 </property> 323 </widget> 324 </item> 325 <item row="6" column="0" colspan="3"> 326 <widget class="Line" name="line"> 327 <property name="orientation"> 328 <enum>Qt::Horizontal</enum> 329 </property> 330 </widget> 331 </item> 332 <item row="7" column="1" colspan="2"> 333 <widget class="QComboBox" name="bendType"> 334 <property name="sizePolicy"> 335 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 336 <horstretch>0</horstretch> 337 <verstretch>0</verstretch> 338 </sizepolicy> 339 </property> 340 </widget> 341 </item> 342 <item row="5" column="0" colspan="2"> 343 <widget class="QCheckBox" name="playBend"> 344 <property name="sizePolicy"> 345 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 346 <horstretch>0</horstretch> 347 <verstretch>0</verstretch> 348 </sizepolicy> 349 </property> 350 <property name="text"> 351 <string>Play</string> 352 </property> 353 </widget> 354 </item> 355 </layout> 356 </widget> 357 </item> 358 </layout> 359 </widget> 360 <customwidgets> 361 <customwidget> 362 <class>Ms::ResetButton</class> 363 <extends>QWidget</extends> 364 <header>inspector/resetButton.h</header> 365 <container>1</container> 366 </customwidget> 367 <customwidget> 368 <class>Ms::BendCanvas</class> 369 <extends>QFrame</extends> 370 <header>bendcanvas.h</header> 371 <container>1</container> 372 </customwidget> 373 <customwidget> 374 <class>Ms::FontStyleSelect</class> 375 <extends>QWidget</extends> 376 <header>inspector/fontStyleSelect.h</header> 377 <container>1</container> 378 </customwidget> 379 </customwidgets> 380 <tabstops> 381 <tabstop>title</tabstop> 382 <tabstop>lineWidth</tabstop> 383 <tabstop>fontFace</tabstop> 384 <tabstop>fontSize</tabstop> 385 <tabstop>playBend</tabstop> 386 <tabstop>bendType</tabstop> 387 </tabstops> 388 <resources/> 389 <connections/> 390</ui> 391