add zoom icons to toolbar

This commit is contained in:
Ronan Le Tiec 2020-11-11 22:04:07 +01:00
parent e1c79b0db5
commit 4ec3e29bb1

View File

@ -564,8 +564,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>356</width> <width>342</width>
<height>760</height> <height>731</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
@ -981,7 +981,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>356</width> <width>356</width>
<height>760</height> <height>717</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
@ -1058,7 +1058,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>356</width> <width>356</width>
<height>760</height> <height>717</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
@ -1182,6 +1182,24 @@
</layout> </layout>
</widget> </widget>
</widget> </widget>
<widget class="QToolBar" name="toolBarTools">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionZoomIn"/>
<addaction name="actionZoomOut"/>
<addaction name="actionOriginalZoom"/>
<addaction name="actionZoomSheet"/>
</widget>
<action name="actionOpen"> <action name="actionOpen">
<property name="text"> <property name="text">
<string>&amp;Open</string> <string>&amp;Open</string>
@ -1260,6 +1278,45 @@
<string>Properties</string> <string>Properties</string>
</property> </property>
</action> </action>
<action name="actionZoomIn">
<property name="icon">
<iconset theme="zoom-in">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Zoom in</string>
</property>
</action>
<action name="actionZoomOut">
<property name="icon">
<iconset theme="zoom-out">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Zoom out</string>
</property>
</action>
<action name="actionOriginalZoom">
<property name="icon">
<iconset theme="zoom-original">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Zoom 1:1</string>
</property>
</action>
<action name="actionZoomSheet">
<property name="icon">
<iconset theme="zoom-fit-best">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Zoom sheet</string>
</property>
<property name="toolTip">
<string>Zoom sheet</string>
</property>
</action>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>