#ifndef DIVEPLANNER_H #define DIVEPLANNER_H #include #include class DivePlanner : public QGraphicsView { Q_OBJECT public: static DivePlanner *instance(); protected: virtual void mouseDoubleClickEvent(QMouseEvent* event); void clear_generated_deco(); void create_deco_stop(); private: DivePlanner(QWidget* parent = 0); QList lines; QList handles; }; #endif