Plots Lines and handles on the Planner

This is still a bit bugged - the lines are going to the wrong
end - most probaly I messed something on the math. I'll now fix
the sizing issue then I'll try to make it behave in the proper
way.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-06-20 13:20:41 -03:00
parent 0d45c77572
commit ab6aea73c1
2 changed files with 38 additions and 2 deletions

View file

@ -10,8 +10,12 @@ public:
static DivePlanner *instance();
protected:
virtual void mouseDoubleClickEvent(QMouseEvent* event);
void clear_generated_deco();
void create_deco_stop();
private:
DivePlanner(QWidget* parent = 0);
QList<QGraphicsLineItem*> lines;
QList<QGraphicsEllipseItem*> handles;
};
#endif