mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make the plan handlers to not move across other handlers.
This patch disables the hability to move handlers across the others, making a 'zigzag' in the time line. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
607f82ade3
commit
52a0e6c82d
2 changed files with 48 additions and 19 deletions
|
|
@ -22,13 +22,14 @@ protected:
|
|||
virtual void mouseMoveEvent(QMouseEvent* event);
|
||||
virtual void mousePressEvent(QMouseEvent* event);
|
||||
virtual void mouseReleaseEvent(QMouseEvent* event);
|
||||
|
||||
|
||||
void clear_generated_deco();
|
||||
void create_deco_stop();
|
||||
bool isPointOutOfBoundaries(QPointF point);
|
||||
|
||||
private:
|
||||
DivePlanner(QWidget* parent = 0);
|
||||
void moveActiveHandler(QPointF pos);
|
||||
QList<QGraphicsLineItem*> lines;
|
||||
QList<DiveHandler *> handles;
|
||||
QGraphicsLineItem *verticalLine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue