@@ -694,6 +694,9 @@ Change the name of the script and save to allow QGIS to auto load on startup.</s
694
694
<property name =" bottomMargin" >
695
695
<number >0</number >
696
696
</property >
697
+ <item >
698
+ <widget class =" QgsCodeEditorPython" name =" txtPython" native =" true" />
699
+ </item >
697
700
<item >
698
701
<layout class =" QHBoxLayout" name =" horizontalLayout_5" >
699
702
<property name =" sizeConstraint" >
@@ -703,26 +706,9 @@ Change the name of the script and save to allow QGIS to auto load on startup.</s
703
706
<number >0</number >
704
707
</property >
705
708
<item >
706
- <widget class =" QToolButton" name =" btnRun" >
707
- <property name =" toolTip" >
708
- <string >Run the current editor text in QGIS (also saves current script).
709
-
710
- Use this when testing your functions.
711
-
712
- Saved scripts are auto loaded on QGIS startup.</string >
713
- </property >
709
+ <widget class =" QLabel" name =" lblAutoSave" >
714
710
<property name =" text" >
715
- <string >Save and load functions</string >
716
- </property >
717
- <property name =" icon" >
718
- <iconset resource =" ../../images/images.qrc" >
719
- <normaloff >:/images/themes/default/mActionStart.svg</normaloff >:/images/themes/default/mActionStart.svg</iconset >
720
- </property >
721
- <property name =" toolButtonStyle" >
722
- <enum >Qt::ToolButtonTextBesideIcon</enum >
723
- </property >
724
- <property name =" autoRaise" >
725
- <bool >true</bool >
711
+ <string />
726
712
</property >
727
713
</widget >
728
714
</item >
@@ -743,17 +729,25 @@ Saved scripts are auto loaded on QGIS startup.</string>
743
729
</spacer >
744
730
</item >
745
731
<item >
746
- <widget class =" QLabel" name =" lblAutoSave" >
732
+ <widget class =" QPushButton" name =" btnRun" >
733
+ <property name =" toolTip" >
734
+ <string >Run the current editor text in QGIS (also saves current script).
735
+
736
+ Use this when testing your functions.
737
+
738
+ Saved scripts are auto loaded on QGIS startup.</string >
739
+ </property >
747
740
<property name =" text" >
748
- <string />
741
+ <string >Save and Load Functions</string >
742
+ </property >
743
+ <property name =" icon" >
744
+ <iconset resource =" ../../images/images.qrc" >
745
+ <normaloff >:/images/themes/default/mActionStart.svg</normaloff >:/images/themes/default/mActionStart.svg</iconset >
749
746
</property >
750
747
</widget >
751
748
</item >
752
749
</layout >
753
750
</item >
754
- <item >
755
- <widget class =" QgsCodeEditorPython" name =" txtPython" native =" true" />
756
- </item >
757
751
<item >
758
752
<widget class =" QgsCollapsibleGroupBox" name =" groupBox" >
759
753
<property name =" title" >
0 commit comments