界面添加工具按钮

This commit is contained in:
tangchao0503
2026-03-11 17:57:23 +08:00
parent 452f7c8e5f
commit ece7a34bfb

View File

@ -816,6 +816,19 @@ QPushButton:pressed
</layout> </layout>
</widget> </widget>
</widget> </widget>
<widget class="QToolBar" name="mapToolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="mActionPan"/>
<addaction name="mActionSpectral"/>
</widget>
<action name="action_exit"> <action name="action_exit">
<property name="text"> <property name="text">
<string>退出</string> <string>退出</string>
@ -1064,6 +1077,16 @@ QPushButton:pressed
<string>2 轴线性马达</string> <string>2 轴线性马达</string>
</property> </property>
</action> </action>
<action name="mActionPan">
<property name="text">
<string>漫游</string>
</property>
</action>
<action name="mActionSpectral">
<property name="text">
<string>光谱</string>
</property>
</action>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>