Use checkable action for alternative speed limits and display button as "pressed when enabled"

This commit is contained in:
Christophe Dumez
2010-06-21 22:38:28 +00:00
parent 9628a9e156
commit 00c92d6d61
3 changed files with 9 additions and 11 deletions

View File

@@ -269,12 +269,14 @@
</property>
</action>
<action name="actionUse_alternative_speed_limits">
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/Icons/slow_off.png</normaloff>:/Icons/slow_off.png</iconset>
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Use alternative speed limits</string>
<string>Alternative speed limits</string>
</property>
<property name="toolTip">
<string>Alternative speed limits</string>
</property>
</action>
<action name="actionTop_tool_bar">