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>
This commit is contained in:
Dirk Hohndel 2014-11-19 22:31:28 +00:00
parent 21658383e5
commit 639e079131
2 changed files with 15 additions and 0 deletions

View file

@ -134,6 +134,7 @@ private: /*methods*/
void addItemsToScene();
void setupItemOnScene();
void disconnectTemporaryConnections();
struct plot_data *getEntryFromPos(QPointF pos);
private:
DivePlotDataModel *dataModel;