Setup toolbar, set icons for actions.

This commit is contained in:
Roman Telezhynskyi 2021-05-20 16:52:14 +03:00
parent d7041cc835
commit e15b370ed4

View file

@ -81,12 +81,24 @@
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<property name="enabled">
<bool>true</bool>
</property>
<property name="windowTitle">
<string>Menu</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="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="dockWidgetCarrousel">
@ -1531,7 +1543,7 @@
</widget>
<widget class="QToolBar" name="toolBarZoom">
<property name="windowTitle">
<string>toolBar</string>
<string>zoom</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
@ -1548,6 +1560,9 @@
<addaction name="actionZoomFitBest"/>
</widget>
<action name="actionOpen">
<property name="icon">
<iconset theme="document-open"/>
</property>
<property name="text">
<string>&amp;Open</string>
</property>
@ -1556,6 +1571,12 @@
</property>
</action>
<action name="actionSave">
<property name="enabled">
<bool>true</bool>
</property>
<property name="icon">
<iconset theme="document-save"/>
</property>
<property name="text">
<string>&amp;Save</string>
</property>
@ -1564,6 +1585,12 @@
</property>
</action>
<action name="actionSaveAs">
<property name="enabled">
<bool>true</bool>
</property>
<property name="icon">
<iconset theme="document-save-as"/>
</property>
<property name="text">
<string>Save &amp;As</string>
</property>
@ -1572,11 +1599,17 @@
</property>
</action>
<action name="actionCloseLayout">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Close Layout</string>
</property>
</action>
<action name="actionImportRawLayout">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Import Raw Layout Data</string>
</property>
@ -1595,8 +1628,14 @@
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
<property name="menuRole">
<enum>QAction::QuitRole</enum>
</property>
</action>
<action name="actionNew">
<property name="icon">
<iconset theme="document-new"/>
</property>
<property name="text">
<string>&amp;New</string>
</property>
@ -1608,11 +1647,20 @@
<property name="text">
<string>About &amp;Qt</string>
</property>
<property name="menuRole">
<enum>QAction::AboutQtRole</enum>
</property>
</action>
<action name="actionAboutPuzzle">
<property name="icon">
<iconset theme="help-about"/>
</property>
<property name="text">
<string>About &amp;Puzzle</string>
</property>
<property name="menuRole">
<enum>QAction::AboutRole</enum>
</property>
</action>
<action name="actionProperties">
<property name="checkable">
@ -1624,6 +1672,9 @@
<property name="text">
<string>Properties</string>
</property>
<property name="menuRole">
<enum>QAction::PreferencesRole</enum>
</property>
</action>
<action name="actionZoomIn">
<property name="icon">
@ -1715,7 +1766,6 @@
</tabstops>
<resources>
<include location="share/resources/puzzleicon.qrc"/>
<include location="share/resources/puzzleicon.qrc"/>
</resources>
<connections/>
</ui>