mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: port divecomputer menu to QtQuick
This uses QWidgets and therefore will only compile on desktop. We'll have to see how to integrate that on mobile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
bece0a0652
commit
f0fe52d42b
5 changed files with 88 additions and 52 deletions
|
@ -92,6 +92,7 @@ private:
|
|||
ChartItemPtr<ChartGraphicsSceneItem> profileItem;
|
||||
std::unique_ptr<ProfileAnimation> animation;
|
||||
ChartItemPtr<ChartLineItem> mouseFollowerHorizontal, mouseFollowerVertical;
|
||||
dive *mutable_dive() const; // for functions manipulating the dive
|
||||
|
||||
void plotAreaChanged(const QSizeF &size) override;
|
||||
void resetPointers() override;
|
||||
|
@ -132,6 +133,9 @@ private:
|
|||
void pointsRemoved(const QModelIndex &, int start, int end);
|
||||
void pointsMoved(const QModelIndex &, int start, int end, const QModelIndex &destination, int row);
|
||||
|
||||
// DC related
|
||||
void renameCurrentDC();
|
||||
|
||||
// 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