|
35 | 35 | <item row="0" column="0">
|
36 | 36 | <widget class="QTabWidget" name="tabWidget">
|
37 | 37 | <property name="currentIndex">
|
38 |
| - <number>0</number> |
| 38 | + <number>1</number> |
39 | 39 | </property>
|
40 | 40 | <property name="documentMode">
|
41 | 41 | <bool>true</bool>
|
|
582 | 582 | </property>
|
583 | 583 | <item>
|
584 | 584 | <widget class="QToolButton" name="btnRun">
|
| 585 | + <property name="toolTip"> |
| 586 | + <string>Run the current editor text in QGIS (also saves current script). |
| 587 | + |
| 588 | +Use this when testing your functions. |
| 589 | + |
| 590 | +Saved scripts are auto loaded on QGIS startup.</string> |
| 591 | + </property> |
585 | 592 | <property name="text">
|
586 |
| - <string>...</string> |
| 593 | + <string>Run Script</string> |
587 | 594 | </property>
|
588 | 595 | <property name="icon">
|
589 | 596 | <iconset resource="../../images/images.qrc">
|
590 | 597 | <normaloff>:/images/themes/default/console/iconRunScriptConsole.png</normaloff>:/images/themes/default/console/iconRunScriptConsole.png</iconset>
|
591 | 598 | </property>
|
| 599 | + <property name="toolButtonStyle"> |
| 600 | + <enum>Qt::ToolButtonTextUnderIcon</enum> |
| 601 | + </property> |
592 | 602 | <property name="autoRaise">
|
593 | 603 | <bool>true</bool>
|
594 | 604 | </property>
|
|
612 | 622 | </item>
|
613 | 623 | <item>
|
614 | 624 | <widget class="QToolButton" name="btnNewFile">
|
| 625 | + <property name="toolTip"> |
| 626 | + <string>Create a new function file based on the template file. |
| 627 | + |
| 628 | +Change the name of the script and save to allow QGIS to auto load on startup.</string> |
| 629 | + </property> |
615 | 630 | <property name="text">
|
616 |
| - <string>New</string> |
| 631 | + <string>New file</string> |
617 | 632 | </property>
|
618 | 633 | <property name="icon">
|
619 | 634 | <iconset resource="../../images/images.qrc">
|
620 | 635 | <normaloff>:/images/themes/default/console/iconTabEditorConsole.png</normaloff>:/images/themes/default/console/iconTabEditorConsole.png</iconset>
|
621 | 636 | </property>
|
| 637 | + <property name="toolButtonStyle"> |
| 638 | + <enum>Qt::ToolButtonTextUnderIcon</enum> |
| 639 | + </property> |
622 | 640 | <property name="autoRaise">
|
623 | 641 | <bool>true</bool>
|
624 | 642 | </property>
|
|
632 | 650 | <verstretch>0</verstretch>
|
633 | 651 | </sizepolicy>
|
634 | 652 | </property>
|
| 653 | + <property name="toolTip"> |
| 654 | + <string>Name of the file to save. |
| 655 | + |
| 656 | +Existing files are listed here and loaded when selected.</string> |
| 657 | + </property> |
635 | 658 | <property name="editable">
|
636 | 659 | <bool>true</bool>
|
637 | 660 | </property>
|
638 | 661 | </widget>
|
639 | 662 | </item>
|
640 | 663 | <item>
|
641 | 664 | <widget class="QToolButton" name="btnSaveFile">
|
| 665 | + <property name="toolTip"> |
| 666 | + <string>Save the current script into the users function file folder.</string> |
| 667 | + </property> |
642 | 668 | <property name="text">
|
643 |
| - <string>Save</string> |
| 669 | + <string>Save file</string> |
644 | 670 | </property>
|
645 | 671 | <property name="icon">
|
646 | 672 | <iconset resource="../../images/images.qrc">
|
647 | 673 | <normaloff>:/images/themes/default/console/iconSaveConsole.png</normaloff>:/images/themes/default/console/iconSaveConsole.png</iconset>
|
648 | 674 | </property>
|
| 675 | + <property name="toolButtonStyle"> |
| 676 | + <enum>Qt::ToolButtonTextUnderIcon</enum> |
| 677 | + </property> |
649 | 678 | <property name="autoRaise">
|
650 | 679 | <bool>true</bool>
|
651 | 680 | </property>
|
|
0 commit comments