| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>AppWidgetClass</class> |
| 4 |
<widget class="QWidget" name="AppWidgetClass"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>555</width> |
| 10 |
<height>283</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>AutoGram</string> |
| 15 |
</property> |
| 16 |
<layout class="QGridLayout" name="gridLayout_3"> |
| 17 |
<item row="0" column="0"> |
| 18 |
<widget class="QGroupBox" name="groupBox_3"> |
| 19 |
<property name="title"> |
| 20 |
<string/> |
| 21 |
</property> |
| 22 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
| 23 |
<item> |
| 24 |
<widget class="QRadioButton" name="gameNo"> |
| 25 |
<property name="text"> |
| 26 |
<string>idle</string> |
| 27 |
</property> |
| 28 |
<property name="checked"> |
| 29 |
<bool>true</bool> |
| 30 |
</property> |
| 31 |
</widget> |
| 32 |
</item> |
| 33 |
<item> |
| 34 |
<widget class="QRadioButton" name="gameWc"> |
| 35 |
<property name="text"> |
| 36 |
<string>WordChallenge</string> |
| 37 |
</property> |
| 38 |
<property name="checked"> |
| 39 |
<bool>false</bool> |
| 40 |
</property> |
| 41 |
</widget> |
| 42 |
</item> |
| 43 |
<item> |
| 44 |
<widget class="QRadioButton" name="gameWcLearn"> |
| 45 |
<property name="enabled"> |
| 46 |
<bool>false</bool> |
| 47 |
</property> |
| 48 |
<property name="text"> |
| 49 |
<string>WordChallenge (learn dict)</string> |
| 50 |
</property> |
| 51 |
</widget> |
| 52 |
</item> |
| 53 |
<item> |
| 54 |
<spacer name="horizontalSpacer_3"> |
| 55 |
<property name="orientation"> |
| 56 |
<enum>Qt::Horizontal</enum> |
| 57 |
</property> |
| 58 |
<property name="sizeHint" stdset="0"> |
| 59 |
<size> |
| 60 |
<width>40</width> |
| 61 |
<height>20</height> |
| 62 |
</size> |
| 63 |
</property> |
| 64 |
</spacer> |
| 65 |
</item> |
| 66 |
<item> |
| 67 |
<widget class="QCheckBox" name="onTop"> |
| 68 |
<property name="text"> |
| 69 |
<string>Always on top</string> |
| 70 |
</property> |
| 71 |
<property name="checked"> |
| 72 |
<bool>true</bool> |
| 73 |
</property> |
| 74 |
</widget> |
| 75 |
</item> |
| 76 |
</layout> |
| 77 |
</widget> |
| 78 |
</item> |
| 79 |
<item row="1" column="0"> |
| 80 |
<widget class="QGroupBox" name="capBox"> |
| 81 |
<property name="title"> |
| 82 |
<string>Screen OCR</string> |
| 83 |
</property> |
| 84 |
<property name="checkable"> |
| 85 |
<bool>false</bool> |
| 86 |
</property> |
| 87 |
<layout class="QGridLayout" name="gridLayout"> |
| 88 |
<item row="0" column="0"> |
| 89 |
<widget class="QToolButton" name="pickRegionButton"> |
| 90 |
<property name="text"> |
| 91 |
<string>Pick</string> |
| 92 |
</property> |
| 93 |
</widget> |
| 94 |
</item> |
| 95 |
<item row="0" column="1"> |
| 96 |
<widget class="QLabel" name="xOffsetLabel"> |
| 97 |
<property name="text"> |
| 98 |
<string>L,T:</string> |
| 99 |
</property> |
| 100 |
</widget> |
| 101 |
</item> |
| 102 |
<item row="0" column="2"> |
| 103 |
<widget class="QSpinBox" name="left"> |
| 104 |
<property name="suffix"> |
| 105 |
<string> px</string> |
| 106 |
</property> |
| 107 |
</widget> |
| 108 |
</item> |
| 109 |
<item row="0" column="3"> |
| 110 |
<widget class="QSpinBox" name="top"> |
| 111 |
<property name="suffix"> |
| 112 |
<string> px</string> |
| 113 |
</property> |
| 114 |
</widget> |
| 115 |
</item> |
| 116 |
<item row="0" column="4"> |
| 117 |
<widget class="QLabel" name="regionWidthLabel"> |
| 118 |
<property name="text"> |
| 119 |
<string>W,H:</string> |
| 120 |
</property> |
| 121 |
</widget> |
| 122 |
</item> |
| 123 |
<item row="0" column="5"> |
| 124 |
<widget class="QSpinBox" name="width"> |
| 125 |
<property name="enabled"> |
| 126 |
<bool>false</bool> |
| 127 |
</property> |
| 128 |
<property name="suffix"> |
| 129 |
<string> px</string> |
| 130 |
</property> |
| 131 |
</widget> |
| 132 |
</item> |
| 133 |
<item row="0" column="6"> |
| 134 |
<widget class="QSpinBox" name="height"> |
| 135 |
<property name="enabled"> |
| 136 |
<bool>false</bool> |
| 137 |
</property> |
| 138 |
<property name="suffix"> |
| 139 |
<string> px</string> |
| 140 |
</property> |
| 141 |
</widget> |
| 142 |
</item> |
| 143 |
<item row="0" column="7"> |
| 144 |
<widget class="QLabel" name="yOffsetLabel_2"> |
| 145 |
<property name="text"> |
| 146 |
<string>Freq:</string> |
| 147 |
</property> |
| 148 |
</widget> |
| 149 |
</item> |
| 150 |
<item row="0" column="8"> |
| 151 |
<widget class="QSpinBox" name="frequency"> |
| 152 |
<property name="maximumSize"> |
| 153 |
<size> |
| 154 |
<width>71</width> |
| 155 |
<height>16777215</height> |
| 156 |
</size> |
| 157 |
</property> |
| 158 |
<property name="suffix"> |
| 159 |
<string> Hz</string> |
| 160 |
</property> |
| 161 |
<property name="minimum"> |
| 162 |
<number>2</number> |
| 163 |
</property> |
| 164 |
<property name="maximum"> |
| 165 |
<number>40</number> |
| 166 |
</property> |
| 167 |
<property name="value"> |
| 168 |
<number>10</number> |
| 169 |
</property> |
| 170 |
</widget> |
| 171 |
</item> |
| 172 |
<item row="1" column="0" colspan="9"> |
| 173 |
<widget class="QFrame" name="frame"> |
| 174 |
<property name="frameShape"> |
| 175 |
<enum>QFrame::StyledPanel</enum> |
| 176 |
</property> |
| 177 |
<property name="frameShadow"> |
| 178 |
<enum>QFrame::Raised</enum> |
| 179 |
</property> |
| 180 |
<layout class="QVBoxLayout" name="verticalLayout_3"> |
| 181 |
<item> |
| 182 |
<layout class="QHBoxLayout" name="horizontalLayout_6"> |
| 183 |
<item> |
| 184 |
<widget class="QSpinBox" name="symbols"> |
| 185 |
<property name="enabled"> |
| 186 |
<bool>false</bool> |
| 187 |
</property> |
| 188 |
<property name="suffix"> |
| 189 |
<string> chars</string> |
| 190 |
</property> |
| 191 |
<property name="minimum"> |
| 192 |
<number>1</number> |
| 193 |
</property> |
| 194 |
<property name="maximum"> |
| 195 |
<number>20</number> |
| 196 |
</property> |
| 197 |
<property name="value"> |
| 198 |
<number>6</number> |
| 199 |
</property> |
| 200 |
</widget> |
| 201 |
</item> |
| 202 |
<item> |
| 203 |
<spacer name="horizontalSpacer_5"> |
| 204 |
<property name="orientation"> |
| 205 |
<enum>Qt::Horizontal</enum> |
| 206 |
</property> |
| 207 |
<property name="sizeHint" stdset="0"> |
| 208 |
<size> |
| 209 |
<width>40</width> |
| 210 |
<height>20</height> |
| 211 |
</size> |
| 212 |
</property> |
| 213 |
</spacer> |
| 214 |
</item> |
| 215 |
<item> |
| 216 |
<widget class="QLabel" name="capDisplay"> |
| 217 |
<property name="text"> |
| 218 |
<string/> |
| 219 |
</property> |
| 220 |
</widget> |
| 221 |
</item> |
| 222 |
<item> |
| 223 |
<spacer name="horizontalSpacer_6"> |
| 224 |
<property name="orientation"> |
| 225 |
<enum>Qt::Horizontal</enum> |
| 226 |
</property> |
| 227 |
<property name="sizeHint" stdset="0"> |
| 228 |
<size> |
| 229 |
<width>40</width> |
| 230 |
<height>20</height> |
| 231 |
</size> |
| 232 |
</property> |
| 233 |
</spacer> |
| 234 |
</item> |
| 235 |
</layout> |
| 236 |
</item> |
| 237 |
<item> |
| 238 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 239 |
<item> |
| 240 |
<widget class="QLabel" name="label_4"> |
| 241 |
<property name="text"> |
| 242 |
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 243 |
<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 244 |
p, li { white-space: pre-wrap; } |
| 245 |
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> |
| 246 |
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">symbols</span> in the above image:</p></body></html></string> |
| 247 |
</property> |
| 248 |
</widget> |
| 249 |
</item> |
| 250 |
<item> |
| 251 |
<widget class="QLineEdit" name="trainLetters"> |
| 252 |
<property name="inputMask"> |
| 253 |
<string>AAAAAA; </string> |
| 254 |
</property> |
| 255 |
</widget> |
| 256 |
</item> |
| 257 |
<item> |
| 258 |
<widget class="QPushButton" name="trainButton"> |
| 259 |
<property name="text"> |
| 260 |
<string>train OCR</string> |
| 261 |
</property> |
| 262 |
</widget> |
| 263 |
</item> |
| 264 |
<item> |
| 265 |
<spacer name="horizontalSpacer"> |
| 266 |
<property name="orientation"> |
| 267 |
<enum>Qt::Horizontal</enum> |
| 268 |
</property> |
| 269 |
<property name="sizeHint" stdset="0"> |
| 270 |
<size> |
| 271 |
<width>40</width> |
| 272 |
<height>20</height> |
| 273 |
</size> |
| 274 |
</property> |
| 275 |
</spacer> |
| 276 |
</item> |
| 277 |
</layout> |
| 278 |
</item> |
| 279 |
</layout> |
| 280 |
</widget> |
| 281 |
</item> |
| 282 |
</layout> |
| 283 |
</widget> |
| 284 |
</item> |
| 285 |
<item row="2" column="0"> |
| 286 |
<widget class="QGroupBox" name="groupBox"> |
| 287 |
<property name="title"> |
| 288 |
<string>Anagram</string> |
| 289 |
</property> |
| 290 |
<property name="checked"> |
| 291 |
<bool>false</bool> |
| 292 |
</property> |
| 293 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 294 |
<property name="verticalSpacing"> |
| 295 |
<number>0</number> |
| 296 |
</property> |
| 297 |
<item row="1" column="2"> |
| 298 |
<widget class="QLabel" name="xOffsetLabel_2"> |
| 299 |
<property name="text"> |
| 300 |
<string>Min, Max:</string> |
| 301 |
</property> |
| 302 |
</widget> |
| 303 |
</item> |
| 304 |
<item row="1" column="3"> |
| 305 |
<widget class="QSpinBox" name="minLetters"> |
| 306 |
<property name="minimum"> |
| 307 |
<number>1</number> |
| 308 |
</property> |
| 309 |
<property name="maximum"> |
| 310 |
<number>6</number> |
| 311 |
</property> |
| 312 |
<property name="value"> |
| 313 |
<number>3</number> |
| 314 |
</property> |
| 315 |
</widget> |
| 316 |
</item> |
| 317 |
<item row="1" column="4"> |
| 318 |
<widget class="QSpinBox" name="maxLetters"> |
| 319 |
<property name="minimum"> |
| 320 |
<number>1</number> |
| 321 |
</property> |
| 322 |
<property name="maximum"> |
| 323 |
<number>6</number> |
| 324 |
</property> |
| 325 |
<property name="value"> |
| 326 |
<number>6</number> |
| 327 |
</property> |
| 328 |
</widget> |
| 329 |
</item> |
| 330 |
<item row="1" column="7"> |
| 331 |
<spacer name="horizontalSpacer_4"> |
| 332 |
<property name="orientation"> |
| 333 |
<enum>Qt::Horizontal</enum> |
| 334 |
</property> |
| 335 |
<property name="sizeHint" stdset="0"> |
| 336 |
<size> |
| 337 |
<width>20</width> |
| 338 |
<height>20</height> |
| 339 |
</size> |
| 340 |
</property> |
| 341 |
</spacer> |
| 342 |
</item> |
| 343 |
<item row="1" column="0"> |
| 344 |
<widget class="QLabel" name="xOffsetLabel_3"> |
| 345 |
<property name="text"> |
| 346 |
<string>Input:</string> |
| 347 |
</property> |
| 348 |
</widget> |
| 349 |
</item> |
| 350 |
<item row="1" column="8"> |
| 351 |
<widget class="QLabel" name="label"> |
| 352 |
<property name="text"> |
| 353 |
<string>Words:</string> |
| 354 |
</property> |
| 355 |
</widget> |
| 356 |
</item> |
| 357 |
<item row="1" column="1"> |
| 358 |
<widget class="QLineEdit" name="currentLetters"> |
| 359 |
<property name="maximumSize"> |
| 360 |
<size> |
| 361 |
<width>100</width> |
| 362 |
<height>16777215</height> |
| 363 |
</size> |
| 364 |
</property> |
| 365 |
<property name="readOnly"> |
| 366 |
<bool>true</bool> |
| 367 |
</property> |
| 368 |
</widget> |
| 369 |
</item> |
| 370 |
<item row="1" column="9"> |
| 371 |
<widget class="QLineEdit" name="anagramWords"> |
| 372 |
<property name="maximumSize"> |
| 373 |
<size> |
| 374 |
<width>100</width> |
| 375 |
<height>16777215</height> |
| 376 |
</size> |
| 377 |
</property> |
| 378 |
<property name="readOnly"> |
| 379 |
<bool>true</bool> |
| 380 |
</property> |
| 381 |
</widget> |
| 382 |
</item> |
| 383 |
</layout> |
| 384 |
</widget> |
| 385 |
</item> |
| 386 |
</layout> |
| 387 |
</widget> |
| 388 |
<layoutdefault spacing="6" margin="11"/> |
| 389 |
<resources/> |
| 390 |
<connections/> |
| 391 |
</ui> |