Skip to content

Commit 375afe5

Browse files
committed
[needs-docs] Follow up UX fixes for moving custom function help
1 parent 42ea216 commit 375afe5

File tree

1 file changed

+18
-24
lines changed

1 file changed

+18
-24
lines changed

src/ui/qgsexpressionbuilder.ui

+18-24
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,9 @@ Change the name of the script and save to allow QGIS to auto load on startup.</s
694694
<property name="bottomMargin">
695695
<number>0</number>
696696
</property>
697+
<item>
698+
<widget class="QgsCodeEditorPython" name="txtPython" native="true"/>
699+
</item>
697700
<item>
698701
<layout class="QHBoxLayout" name="horizontalLayout_5">
699702
<property name="sizeConstraint">
@@ -703,26 +706,9 @@ Change the name of the script and save to allow QGIS to auto load on startup.</s
703706
<number>0</number>
704707
</property>
705708
<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">
714710
<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/>
726712
</property>
727713
</widget>
728714
</item>
@@ -743,17 +729,25 @@ Saved scripts are auto loaded on QGIS startup.</string>
743729
</spacer>
744730
</item>
745731
<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>
747740
<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>
749746
</property>
750747
</widget>
751748
</item>
752749
</layout>
753750
</item>
754-
<item>
755-
<widget class="QgsCodeEditorPython" name="txtPython" native="true"/>
756-
</item>
757751
<item>
758752
<widget class="QgsCollapsibleGroupBox" name="groupBox">
759753
<property name="title">

0 commit comments

Comments
 (0)