Graphic UI objects names change, Ribbon init() now remember current tab

This commit is contained in:
2021-02-18 15:21:53 +03:00
parent 63aea62c89
commit 17911b8651
5 changed files with 93 additions and 83 deletions

View File

@@ -48,7 +48,7 @@
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="buttonAutofit">
<widget class="QToolButton" name="graphic_buttonAutofit">
<property name="toolTip">
<string>Autofit</string>
</property>
@@ -59,7 +59,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="checkGrid">
<widget class="QToolButton" name="graphic_checkGrid">
<property name="toolTip">
<string>Grid</string>
</property>
@@ -76,7 +76,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="checkGuides">
<widget class="QToolButton" name="graphic_checkGuides">
<property name="toolTip">
<string>Cursor axis</string>
</property>
@@ -90,7 +90,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonFullscreen">
<widget class="QToolButton" name="graphic_buttonFullscreen">
<property name="toolTip">
<string>Fullscreen</string>
</property>
@@ -101,7 +101,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="checkBorderInputs">
<widget class="QToolButton" name="graphic_checkBorderInputs">
<property name="toolTip">
<string>Border inputs</string>
</property>
@@ -118,7 +118,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="checkLegend">
<widget class="QToolButton" name="graphic_checkLegend">
<property name="toolTip">
<string>Legend</string>
</property>
@@ -135,7 +135,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="checkPause">
<widget class="QToolButton" name="graphic_checkPause">
<property name="toolTip">
<string>Pause</string>
</property>
@@ -149,23 +149,23 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonConfigure">
<widget class="QToolButton" name="graphic_buttonConfigure">
<property name="toolTip">
<string>Configure ...</string>
</property>
<property name="icon">
<iconset resource="qad_graphic.qrc">
<iconset resource="../application/qad_application.qrc">
<normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonSave">
<widget class="QToolButton" name="graphic_buttonSave">
<property name="toolTip">
<string>Save image ...</string>
</property>
<property name="icon">
<iconset resource="qad_graphic.qrc">
<iconset resource="../blockview/qad_blockview.qrc">
<normaloff>:/icons/document-save.png</normaloff>:/icons/document-save.png</iconset>
</property>
</widget>
@@ -187,23 +187,23 @@
</spacer>
</item>
<item>
<widget class="QToolButton" name="buttonClear">
<widget class="QToolButton" name="graphic_buttonClear">
<property name="toolTip">
<string>Clear</string>
</property>
<property name="icon">
<iconset resource="qad_graphic.qrc">
<iconset resource="../application/qad_application.qrc">
<normaloff>:/icons/edit-clear.png</normaloff>:/icons/edit-clear.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonClose">
<widget class="QToolButton" name="graphic_buttonClose">
<property name="toolTip">
<string>Close</string>
</property>
<property name="icon">
<iconset resource="qad_graphic.qrc">
<iconset resource="../blockview/qad_blockview.qrc">
<normaloff>:/icons/dialog-close.png</normaloff>:/icons/dialog-close.png</iconset>
</property>
</widget>
@@ -397,7 +397,7 @@
</widget>
</item>
</layout>
<action name="actionGuidesFree">
<action name="graphic_actionGuidesFree">
<property name="checkable">
<bool>true</bool>
</property>
@@ -405,7 +405,7 @@
<string>Free</string>
</property>
</action>
<action name="actionGuidesTraceX">
<action name="graphic_actionGuidesTraceX">
<property name="checkable">
<bool>true</bool>
</property>
@@ -413,7 +413,7 @@
<string>Trace X</string>
</property>
</action>
<action name="actionGuidesTraceY">
<action name="graphic_actionGuidesTraceY">
<property name="checkable">
<bool>true</bool>
</property>
@@ -421,7 +421,7 @@
<string>Trace Y</string>
</property>
</action>
<action name="actionExpandX">
<action name="graphic_actionExpandX">
<property name="checkable">
<bool>true</bool>
</property>
@@ -429,7 +429,7 @@
<string>Only expand X</string>
</property>
</action>
<action name="actionExpandY">
<action name="graphic_actionExpandY">
<property name="checkable">
<bool>true</bool>
</property>
@@ -449,6 +449,8 @@
</customwidget>
</customwidgets>
<resources>
<include location="../application/qad_application.qrc"/>
<include location="../blockview/qad_blockview.qrc"/>
<include location="qad_graphic.qrc"/>
</resources>
<connections/>