Better handling of the scene size for the dive Plan

Better handling of the scene size for the dive plan,
The scene can be resized and a transform will be applied,
the handles will not resize however - they are 10x10px
and that's it.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-06-20 13:28:04 -03:00
parent ab6aea73c1
commit 364254ed36
2 changed files with 17 additions and 1 deletions

View file

@ -10,6 +10,9 @@ public:
static DivePlanner *instance();
protected:
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void showEvent(QShowEvent* event);
virtual void resizeEvent(QResizeEvent* event);
void clear_generated_deco();
void create_deco_stop();