mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
QML UI: add second action to GPS list entries
This one will allow people to see the location on a map. Also not implemented, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f61b83301a
commit
038cfcba91
3 changed files with 8 additions and 0 deletions
|
@ -92,6 +92,12 @@ MobileComponents.Page {
|
|||
onTriggered: {
|
||||
print("delete this!")
|
||||
}
|
||||
},
|
||||
Action {
|
||||
iconName: "gps"
|
||||
onTriggered: {
|
||||
print("show map")
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<file alias="org/kde/plasma/mobilecomponents/icons/view-readermode.svg">mobilecomponents/icons/view-readermode.svg</file>
|
||||
<file alias="org/kde/plasma/mobilecomponents/icons/dialog-cancel.svg">mobilecomponents/icons/dialog-cancel.svg</file>
|
||||
<file alias="org/kde/plasma/mobilecomponents/icons/application-menu.svg">mobilecomponents/icons/application-menu.svg</file>
|
||||
<file alias="org/kde/plasma/mobilecomponents/icons/gps.svg">mobilecomponents/icons/gps.svg</file>
|
||||
<file alias="org/kde/plasma/mobilecomponents/icons/trash-empty.svg">mobilecomponents/icons/trash-empty.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -52,6 +52,7 @@ cp $BREEZE/icons/actions/24/go-next.svg $MC/icons
|
|||
cp $BREEZE/icons/actions/24/go-previous.svg $MC/icons
|
||||
cp $BREEZE/icons/actions/16/view-readermode.svg $MC/icons
|
||||
cp $BREEZE/icons/actions/24/application-menu.svg $MC/icons
|
||||
cp $BREEZE/icons/actions/22/gps.svg $MC/icons
|
||||
cp $BREEZE/icons/actions/24/trash-empty.svg $MC/icons
|
||||
|
||||
echo org.kde.plasma.mobilecomponents synced from upstream
|
||||
|
|
Loading…
Reference in a new issue