diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-19 22:31:28 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-19 22:40:42 +0000 |
commit | 639e079131126015dff0f745d1b5d3fc51adcecc (patch) | |
tree | 81a9874fc4cd39e5b1227a2d467d2ba78ecd3068 /qt-ui/profile/profilewidget2.h | |
parent | 21658383e5c188b588aecab46e827cb90a88bc26 (diff) | |
download | subsurface-639e079131126015dff0f745d1b5d3fc51adcecc.tar.gz |
Profile: add helper function to get the sample entry for a mouse position
This seems quite useful to have.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 477ddf4a7..4c7951533 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -134,6 +134,7 @@ private: /*methods*/ void addItemsToScene(); void setupItemOnScene(); void disconnectTemporaryConnections(); + struct plot_data *getEntryFromPos(QPointF pos); private: DivePlotDataModel *dataModel; |