1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>scriptConsoleForm</class> 4 <widget class="QWidget" name="scriptConsoleForm"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>680</width> 10 <height>394</height> 11 </rect> 12 </property> 13 <layout class="QVBoxLayout" name="verticalLayout_2"> 14 <property name="spacing"> 15 <number>0</number> 16 </property> 17 <property name="leftMargin"> 18 <number>0</number> 19 </property> 20 <property name="topMargin"> 21 <number>0</number> 22 </property> 23 <property name="rightMargin"> 24 <number>0</number> 25 </property> 26 <property name="bottomMargin"> 27 <number>0</number> 28 </property> 29 <item> 30 <widget class="BarFrame" name="TitleBar"> 31 <property name="minimumSize"> 32 <size> 33 <width>16</width> 34 <height>25</height> 35 </size> 36 </property> 37 <property name="maximumSize"> 38 <size> 39 <width>16777215</width> 40 <height>25</height> 41 </size> 42 </property> 43 <property name="frameShape"> 44 <enum>QFrame::StyledPanel</enum> 45 </property> 46 <layout class="QHBoxLayout"> 47 <property name="leftMargin"> 48 <number>0</number> 49 </property> 50 <property name="topMargin"> 51 <number>0</number> 52 </property> 53 <property name="rightMargin"> 54 <number>4</number> 55 </property> 56 <property name="bottomMargin"> 57 <number>0</number> 58 </property> 59 <item> 60 <spacer> 61 <property name="orientation"> 62 <enum>Qt::Horizontal</enum> 63 </property> 64 <property name="sizeHint" stdset="0"> 65 <size> 66 <width>40</width> 67 <height>20</height> 68 </size> 69 </property> 70 </spacer> 71 </item> 72 <item> 73 <widget class="QLabel" name="stelWindowTitle"> 74 <property name="palette"> 75 <palette> 76 <active/> 77 <inactive/> 78 <disabled/> 79 </palette> 80 </property> 81 <property name="font"> 82 <font/> 83 </property> 84 <property name="text"> 85 <string>Script console</string> 86 </property> 87 </widget> 88 </item> 89 <item> 90 <spacer> 91 <property name="orientation"> 92 <enum>Qt::Horizontal</enum> 93 </property> 94 <property name="sizeHint" stdset="0"> 95 <size> 96 <width>40</width> 97 <height>20</height> 98 </size> 99 </property> 100 </spacer> 101 </item> 102 <item> 103 <widget class="QPushButton" name="closeStelWindow"> 104 <property name="sizePolicy"> 105 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 106 <horstretch>16</horstretch> 107 <verstretch>16</verstretch> 108 </sizepolicy> 109 </property> 110 <property name="minimumSize"> 111 <size> 112 <width>16</width> 113 <height>16</height> 114 </size> 115 </property> 116 <property name="maximumSize"> 117 <size> 118 <width>16</width> 119 <height>16</height> 120 </size> 121 </property> 122 <property name="focusPolicy"> 123 <enum>Qt::NoFocus</enum> 124 </property> 125 <property name="text"> 126 <string/> 127 </property> 128 </widget> 129 </item> 130 </layout> 131 </widget> 132 </item> 133 <item> 134 <widget class="QFrame" name="frame"> 135 <property name="sizePolicy"> 136 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 137 <horstretch>0</horstretch> 138 <verstretch>1</verstretch> 139 </sizepolicy> 140 </property> 141 <property name="frameShape"> 142 <enum>QFrame::StyledPanel</enum> 143 </property> 144 <layout class="QVBoxLayout" name="verticalLayout"> 145 <property name="spacing"> 146 <number>0</number> 147 </property> 148 <property name="leftMargin"> 149 <number>0</number> 150 </property> 151 <property name="topMargin"> 152 <number>0</number> 153 </property> 154 <property name="rightMargin"> 155 <number>0</number> 156 </property> 157 <property name="bottomMargin"> 158 <number>0</number> 159 </property> 160 <item> 161 <layout class="QHBoxLayout" name="horizontalLayout"> 162 <property name="spacing"> 163 <number>3</number> 164 </property> 165 <item> 166 <widget class="QPushButton" name="loadButton"> 167 <property name="sizePolicy"> 168 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 169 <horstretch>0</horstretch> 170 <verstretch>0</verstretch> 171 </sizepolicy> 172 </property> 173 <property name="maximumSize"> 174 <size> 175 <width>28</width> 176 <height>28</height> 177 </size> 178 </property> 179 <property name="toolTip"> 180 <string>Load script from file</string> 181 </property> 182 <property name="text"> 183 <string/> 184 </property> 185 <property name="icon"> 186 <iconset resource="../../data/gui/guiRes.qrc"> 187 <normaloff>:/graphicGui/uibtFolder.png</normaloff>:/graphicGui/uibtFolder.png</iconset> 188 </property> 189 <property name="shortcut"> 190 <string notr="true">Ctrl+Shift+O</string> 191 </property> 192 </widget> 193 </item> 194 <item> 195 <widget class="QPushButton" name="saveButton"> 196 <property name="sizePolicy"> 197 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 198 <horstretch>0</horstretch> 199 <verstretch>0</verstretch> 200 </sizepolicy> 201 </property> 202 <property name="maximumSize"> 203 <size> 204 <width>28</width> 205 <height>28</height> 206 </size> 207 </property> 208 <property name="toolTip"> 209 <string>Save script to file</string> 210 </property> 211 <property name="text"> 212 <string/> 213 </property> 214 <property name="icon"> 215 <iconset resource="../../data/gui/guiRes.qrc"> 216 <normaloff>:/graphicGui/uibtSave.png</normaloff>:/graphicGui/uibtSave.png</iconset> 217 </property> 218 <property name="shortcut"> 219 <string notr="true">Ctrl+Shift+S</string> 220 </property> 221 </widget> 222 </item> 223 <item> 224 <widget class="QPushButton" name="clearButton"> 225 <property name="sizePolicy"> 226 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 227 <horstretch>0</horstretch> 228 <verstretch>0</verstretch> 229 </sizepolicy> 230 </property> 231 <property name="maximumSize"> 232 <size> 233 <width>28</width> 234 <height>28</height> 235 </size> 236 </property> 237 <property name="toolTip"> 238 <string>Clear</string> 239 </property> 240 <property name="text"> 241 <string/> 242 </property> 243 <property name="icon"> 244 <iconset resource="../../data/gui/guiRes.qrc"> 245 <normaloff>:/graphicGui/uibtDelete.png</normaloff>:/graphicGui/uibtDelete.png</iconset> 246 </property> 247 </widget> 248 </item> 249 <item> 250 <widget class="QPushButton" name="preprocessSSCButton"> 251 <property name="maximumSize"> 252 <size> 253 <width>16777215</width> 254 <height>28</height> 255 </size> 256 </property> 257 <property name="toolTip"> 258 <string>Pre-process script using SSC preprocessor</string> 259 </property> 260 <property name="text"> 261 <string notr="true">SSC</string> 262 </property> 263 <property name="icon"> 264 <iconset resource="../../data/gui/guiRes.qrc"> 265 <normaloff>:/graphicGui/uibtProcess.png</normaloff>:/graphicGui/uibtProcess.png</iconset> 266 </property> 267 </widget> 268 </item> 269 <item> 270 <spacer name="horizontalSpacer"> 271 <property name="orientation"> 272 <enum>Qt::Horizontal</enum> 273 </property> 274 <property name="sizeHint" stdset="0"> 275 <size> 276 <width>40</width> 277 <height>20</height> 278 </size> 279 </property> 280 </spacer> 281 </item> 282 <item> 283 <widget class="QLabel" name="quickrunLabel"> 284 <property name="toolTip"> 285 <string/> 286 </property> 287 <property name="text"> 288 <string>Execute:</string> 289 </property> 290 </widget> 291 </item> 292 <item> 293 <widget class="QComboBox" name="quickrunCombo"> 294 <property name="toolTip"> 295 <string/> 296 </property> 297 </widget> 298 </item> 299 <item> 300 <spacer name="horizontalSpacer_2"> 301 <property name="orientation"> 302 <enum>Qt::Horizontal</enum> 303 </property> 304 <property name="sizeHint" stdset="0"> 305 <size> 306 <width>40</width> 307 <height>20</height> 308 </size> 309 </property> 310 </spacer> 311 </item> 312 <item> 313 <widget class="QPushButton" name="runButton"> 314 <property name="sizePolicy"> 315 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 316 <horstretch>0</horstretch> 317 <verstretch>0</verstretch> 318 </sizepolicy> 319 </property> 320 <property name="maximumSize"> 321 <size> 322 <width>28</width> 323 <height>28</height> 324 </size> 325 </property> 326 <property name="toolTip"> 327 <string>Run script</string> 328 </property> 329 <property name="text"> 330 <string/> 331 </property> 332 <property name="icon"> 333 <iconset resource="../../data/gui/guiRes.qrc"> 334 <normaloff>:/graphicGui/uibtStart.png</normaloff> 335 <disabledoff>:/graphicGui/uibtStart-disabled.png</disabledoff>:/graphicGui/uibtStart.png</iconset> 336 </property> 337 <property name="shortcut"> 338 <string notr="true">Ctrl+Return</string> 339 </property> 340 </widget> 341 </item> 342 <item> 343 <widget class="QPushButton" name="stopButton"> 344 <property name="enabled"> 345 <bool>false</bool> 346 </property> 347 <property name="sizePolicy"> 348 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 349 <horstretch>0</horstretch> 350 <verstretch>0</verstretch> 351 </sizepolicy> 352 </property> 353 <property name="maximumSize"> 354 <size> 355 <width>28</width> 356 <height>28</height> 357 </size> 358 </property> 359 <property name="toolTip"> 360 <string>Stop script</string> 361 </property> 362 <property name="text"> 363 <string/> 364 </property> 365 <property name="icon"> 366 <iconset resource="../../data/gui/guiRes.qrc"> 367 <normaloff>:/graphicGui/uibtStop.png</normaloff> 368 <disabledoff>:/graphicGui/uibtStop-disabled.png</disabledoff>:/graphicGui/uibtStop.png</iconset> 369 </property> 370 </widget> 371 </item> 372 </layout> 373 </item> 374 <item> 375 <widget class="QTabWidget" name="tabs"> 376 <property name="tabPosition"> 377 <enum>QTabWidget::North</enum> 378 </property> 379 <property name="currentIndex"> 380 <number>0</number> 381 </property> 382 <widget class="QWidget" name="scriptTab"> 383 <attribute name="title"> 384 <string>Script</string> 385 </attribute> 386 <layout class="QVBoxLayout" name="verticalLayout_3"> 387 <property name="leftMargin"> 388 <number>0</number> 389 </property> 390 <property name="topMargin"> 391 <number>0</number> 392 </property> 393 <property name="rightMargin"> 394 <number>0</number> 395 </property> 396 <property name="bottomMargin"> 397 <number>0</number> 398 </property> 399 <item> 400 <widget class="QPlainTextEdit" name="scriptEdit"> 401 <property name="verticalScrollBarPolicy"> 402 <enum>Qt::ScrollBarAlwaysOn</enum> 403 </property> 404 <property name="horizontalScrollBarPolicy"> 405 <enum>Qt::ScrollBarAlwaysOn</enum> 406 </property> 407 <property name="lineWrapMode"> 408 <enum>QPlainTextEdit::NoWrap</enum> 409 </property> 410 </widget> 411 </item> 412 </layout> 413 </widget> 414 <widget class="QWidget" name="logTab"> 415 <attribute name="title"> 416 <string>Log</string> 417 </attribute> 418 <layout class="QVBoxLayout" name="verticalLayout_5"> 419 <property name="leftMargin"> 420 <number>0</number> 421 </property> 422 <property name="topMargin"> 423 <number>0</number> 424 </property> 425 <property name="rightMargin"> 426 <number>0</number> 427 </property> 428 <property name="bottomMargin"> 429 <number>0</number> 430 </property> 431 <item> 432 <widget class="QTextBrowser" name="logBrowser"/> 433 </item> 434 </layout> 435 </widget> 436 <widget class="QWidget" name="outputTab"> 437 <attribute name="title"> 438 <string>Output</string> 439 </attribute> 440 <layout class="QVBoxLayout" name="verticalLayout_4"> 441 <property name="leftMargin"> 442 <number>0</number> 443 </property> 444 <property name="topMargin"> 445 <number>0</number> 446 </property> 447 <property name="rightMargin"> 448 <number>0</number> 449 </property> 450 <property name="bottomMargin"> 451 <number>0</number> 452 </property> 453 <item> 454 <widget class="QTextBrowser" name="outputBrowser"/> 455 </item> 456 </layout> 457 </widget> 458 <widget class="QWidget" name="settingsTab"> 459 <attribute name="title"> 460 <string>Settings</string> 461 </attribute> 462 <layout class="QVBoxLayout" name="verticalLayout_6"> 463 <item> 464 <widget class="QCheckBox" name="useUserDirCheckBox"> 465 <property name="text"> 466 <string>Load scripts from the User Directory by default</string> 467 </property> 468 </widget> 469 </item> 470 <item> 471 <widget class="QCheckBox" name="closeWindowAtScriptRunCheckbox"> 472 <property name="text"> 473 <string>Close window when script runs</string> 474 </property> 475 </widget> 476 </item> 477 <item> 478 <widget class="QCheckBox" name="clearOutputCheckbox"> 479 <property name="text"> 480 <string>Clear output before script runs</string> 481 </property> 482 </widget> 483 </item> 484 <item> 485 <spacer name="verticalSpacer"> 486 <property name="orientation"> 487 <enum>Qt::Vertical</enum> 488 </property> 489 <property name="sizeHint" stdset="0"> 490 <size> 491 <width>20</width> 492 <height>40</height> 493 </size> 494 </property> 495 </spacer> 496 </item> 497 </layout> 498 </widget> 499 </widget> 500 </item> 501 <item> 502 <layout class="QHBoxLayout" name="horizontalLayout_2"> 503 <property name="spacing"> 504 <number>2</number> 505 </property> 506 <property name="leftMargin"> 507 <number>4</number> 508 </property> 509 <item> 510 <widget class="QLabel" name="rowColumnLabel"> 511 <property name="sizePolicy"> 512 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> 513 <horstretch>0</horstretch> 514 <verstretch>0</verstretch> 515 </sizepolicy> 516 </property> 517 <property name="toolTip"> 518 <string>Cursor position</string> 519 </property> 520 <property name="text"> 521 <string>R:0 C:0</string> 522 </property> 523 </widget> 524 </item> 525 <item> 526 <widget class="QLabel" name="label"> 527 <property name="text"> 528 <string>Include dir:</string> 529 </property> 530 </widget> 531 </item> 532 <item> 533 <widget class="QLineEdit" name="includeEdit"> 534 <property name="sizePolicy"> 535 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 536 <horstretch>0</horstretch> 537 <verstretch>0</verstretch> 538 </sizepolicy> 539 </property> 540 </widget> 541 </item> 542 <item> 543 <widget class="QPushButton" name="includeBrowseButton"> 544 <property name="sizePolicy"> 545 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 546 <horstretch>0</horstretch> 547 <verstretch>0</verstretch> 548 </sizepolicy> 549 </property> 550 <property name="maximumSize"> 551 <size> 552 <width>24</width> 553 <height>24</height> 554 </size> 555 </property> 556 <property name="text"> 557 <string>...</string> 558 </property> 559 </widget> 560 </item> 561 <item> 562 <widget class="ResizeFrame" name="frame_4"> 563 <property name="sizePolicy"> 564 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 565 <horstretch>0</horstretch> 566 <verstretch>0</verstretch> 567 </sizepolicy> 568 </property> 569 <property name="minimumSize"> 570 <size> 571 <width>20</width> 572 <height>20</height> 573 </size> 574 </property> 575 <property name="maximumSize"> 576 <size> 577 <width>24</width> 578 <height>24</height> 579 </size> 580 </property> 581 <property name="font"> 582 <font> 583 <family>Sans Serif</family> 584 </font> 585 </property> 586 <property name="cursor"> 587 <cursorShape>SizeFDiagCursor</cursorShape> 588 </property> 589 <property name="frameShape"> 590 <enum>QFrame::StyledPanel</enum> 591 </property> 592 </widget> 593 </item> 594 </layout> 595 </item> 596 </layout> 597 </widget> 598 </item> 599 </layout> 600 <zorder>frame</zorder> 601 <zorder>TitleBar</zorder> 602 </widget> 603 <customwidgets> 604 <customwidget> 605 <class>BarFrame</class> 606 <extends>QFrame</extends> 607 <header>Dialog.hpp</header> 608 <container>1</container> 609 </customwidget> 610 <customwidget> 611 <class>ResizeFrame</class> 612 <extends>QFrame</extends> 613 <header>Dialog.hpp</header> 614 <container>1</container> 615 </customwidget> 616 </customwidgets> 617 <resources> 618 <include location="../../data/gui/guiRes.qrc"/> 619 <include location="../../data/gui/guiRes.qrc"/> 620 </resources> 621 <connections/> 622</ui> 623