diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-23 20:51:30 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-24 07:28:39 -0700 |
commit | ea4d4ac020319dee0e1d74ff793ef50ab8c47508 (patch) | |
tree | fd2562b39c4c4e1f098944f050d3b7c018510ae6 /qt-ui/profile/profilewidget2.h | |
parent | e1dcd8eac32e2e7d606f5bc82106cde07984b42a (diff) | |
download | subsurface-ea4d4ac020319dee0e1d74ff793ef50ab8c47508.tar.gz |
Make the planner actually work.
This commit makes the planner actually work. There ar still
a few edges, but oh, joy - the new Profile gave a very unexpected
and nice addition to it - Grab the last handler of the initial
dive, and move it to the right, or get any handler, and move it
to the bottom to see what I mean.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 895b82c78..1c1258de5 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -91,6 +91,9 @@ slots: // Necessary to call from QAction's signals. void pointsRemoved(const QModelIndex &, int start, int end); void replot(); + /* this is called for every move on the handlers. maybe we can speed up this a bit? */ + void recreatePlannedDive(); + protected: virtual void resizeEvent(QResizeEvent *event); virtual void wheelEvent(QWheelEvent *event); |