subsurface/mobile-widgets/qml
Lubomir I. Ivanov 4d0d0e102b mapwidgetcontextmenu: add the actionSelected() signal
The actionSelected() signal is now dispatched when the user selects
an action from the menu (see the "actions" object). Then the declaration
of the MapWidgetContextMenu object in mapwidget.qml can catch that
signal in the onActionSelected() slot and obtain the action via
switch() branching.

The actions enumeration is kept in QML for now, with the idea that
specific C++ methods from the mapwidgethelper class will be called
directly (if marked as Q_INVOCABLE), instead of a generic
onMapAction(action) C++ method in the helper. But if the actions
are possible from QML (like copying to clipboard) and are also
small and non-expensive, it might be better to keep them
in mapwidget.qml.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-07-28 07:31:11 -07:00
..
icons mapwidgetcontextmenu: add an Image for the context menu toggle 2017-07-28 07:31:11 -07:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml QML UI: remove obsolete debugging code 2017-07-26 06:31:14 -07:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml QML UI: don't access dive without modelData 2017-06-21 17:20:07 -07:00
DiveDetailsEdit.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DiveDetailsView.qml QML UI: use primaryColor instead of darkerPrimaryColor 2017-07-26 14:13:22 +09:00
DiveList.qml QML UI: use a lighter text color for the selected dive 2017-07-26 14:13:22 +09:00
DownloadedDiveDelegate.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DownloadFromDiveComputer.qml QML UI: replace button on DC download page 2017-07-26 01:39:26 +09:00
GpsList.qml QML UI: style the GPS fixes page 2017-07-15 18:21:03 +02:00
HintsTextEdit.qml QML UI: attempt to add dark theme 2017-06-21 17:20:07 -07:00
Log.qml QML UI: drop AppLog title and add margin instead 2017-07-06 09:34:37 -07:00
main.qml Revert "QML UI: color the status bar correctly" 2017-07-28 07:30:44 -07:00
MapWidget.qml mapwidgetcontextmenu: add the actionSelected() signal 2017-07-28 07:31:11 -07:00
MapWidgetContextMenu.qml mapwidgetcontextmenu: add the actionSelected() signal 2017-07-28 07:31:11 -07:00
mobile-resources.qrc QML UI: add our own styled button 2017-07-26 01:39:26 +09:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml QML UI: replace all switches with our own 2017-07-26 01:39:26 +09:00
SsrfButton.qml QML UI: add missing id line in our button 2017-07-26 14:13:22 +09:00
SsrfCheckBox.qml QML UI: add our own styled checkbox 2017-07-26 01:39:26 +09:00
SsrfSwitch.qml QML UI: add our own styled switch 2017-07-26 01:39:26 +09:00
StartPage.qml Mobile: consolidate settings to one page and menu entry 2017-07-23 03:20:58 +09:00
ThemeTest.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00