mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profle: port event manipulation to QtQuick
UI change: the context menu is opened when left-clicking on the event. This is probably more compatible with mobile UI. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f0fe52d42b
commit
faf18ef36b
6 changed files with 147 additions and 124 deletions
|
|
@ -9,6 +9,7 @@
|
|||
class ChartGraphicsSceneItem;
|
||||
class ChartLineItem;
|
||||
class ChartRectItem;
|
||||
class DiveEventItem;
|
||||
class DivePlannerPointsModel;
|
||||
class HandleItem;
|
||||
class PictureItem;
|
||||
|
|
@ -136,6 +137,12 @@ private:
|
|||
// DC related
|
||||
void renameCurrentDC();
|
||||
|
||||
// Event related
|
||||
void editEventName(const struct event &event, int idx);
|
||||
void hideEvent(DiveEventItem &item);
|
||||
void hideEventType(DiveEventItem &item);
|
||||
void removeEvent(DiveEventItem &item);
|
||||
|
||||
// The list of pictures in this plot. The pictures are sorted by offset in seconds.
|
||||
// For the same offset, sort by filename.
|
||||
// Pictures that are outside of the dive time are not shown.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue