diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-20 13:28:04 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-20 13:28:04 -0300 |
commit | 364254ed36d98ebe61385ddd7d2062c0f7214df3 (patch) | |
tree | ded0af2284fbe33a5c5fb3818a4d808c977bf1ee /qt-ui/diveplanner.h | |
parent | ab6aea73c17a10bfb934ba74fcda59cb916f278d (diff) | |
download | subsurface-364254ed36d98ebe61385ddd7d2062c0f7214df3.tar.gz |
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>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index fc9575cfa..682c56ae4 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -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(); |