mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
0d45c77572
commit
ab6aea73c1
2 changed files with 38 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue