Implementert verktøylinje #3

This commit is contained in:
Helge-Mikael Nordgård 2021-09-24 21:41:01 +02:00
parent a87054df1b
commit 840c4164fc

View File

@ -218,15 +218,51 @@
<addaction name="menuOm"/> <addaction name="menuOm"/>
</widget> </widget>
<widget class="QStatusBar" name="statusbar"/> <widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNy"/>
<addaction name="action_pne"/>
<addaction name="actionLagre"/>
<addaction name="separator"/>
<addaction name="action_Avslutt"/>
</widget>
<action name="actionNy"> <action name="actionNy">
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/res/database.svg</normaloff>:/res/database.svg</iconset>
</property>
<property name="text"> <property name="text">
<string>Ny</string> <string>Ny</string>
</property> </property>
<property name="toolTip">
<string>Opprett ny database</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action> </action>
<action name="actionLagre"> <action name="actionLagre">
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/res/save.svg</normaloff>:/res/save.svg</iconset>
</property>
<property name="text"> <property name="text">
<string>&amp;Lagre</string> <string>&amp;Lagre</string>
</property> </property>
<property name="toolTip">
<string>Lagre database</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action> </action>
<action name="actionL_agre_som"> <action name="actionL_agre_som">
<property name="text"> <property name="text">
@ -234,9 +270,19 @@
</property> </property>
</action> </action>
<action name="action_Avslutt"> <action name="action_Avslutt">
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/res/log-out.svg</normaloff>:/res/log-out.svg</iconset>
</property>
<property name="text"> <property name="text">
<string>&amp;Avslutt ...</string> <string>&amp;Avslutt ...</string>
</property> </property>
<property name="toolTip">
<string>Avslutt program</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action> </action>
<action name="actionOm"> <action name="actionOm">
<property name="text"> <property name="text">
@ -244,9 +290,16 @@
</property> </property>
</action> </action>
<action name="action_pne"> <action name="action_pne">
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/res/book-open.svg</normaloff>:/res/book-open.svg</iconset>
</property>
<property name="text"> <property name="text">
<string>&amp;Åpne</string> <string>&amp;Åpne</string>
</property> </property>
<property name="toolTip">
<string>Åpne eksisterende database</string>
</property>
</action> </action>
<action name="action_Innstillinger"> <action name="action_Innstillinger">
<property name="text"> <property name="text">