Moved a lot of code to the Model, cleaning the interface.

Moved a lot of code that handled the positioning of the
DiveHandles on the interface to the model. there are a
few bugs left ( regressions ) that I will fix in the
next commits. With this commit an edition of the points
on the widget will trigger a repaint of the planner profile.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-08-26 16:34:06 -03:00
parent de2f5d9e60
commit 367fc6e1c3
2 changed files with 63 additions and 40 deletions

View file

@ -68,8 +68,6 @@ private:
class DiveHandler : public QGraphicsEllipseItem{
public:
DiveHandler();
int sec;
int mm;
protected:
void mousePressEvent(QGraphicsSceneMouseEvent* event);
};