summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-16 14:36:23 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-16 14:36:23 -0300
commitc917b29701470398b51aa5ad9541275825d912fd (patch)
treef73fc97ab5d0bc7654d793af31b7d7b99237e43c /qt-ui/maintab.h
parentc809b5a35bfee158f83a2c4467e9ad9c9b9b2350 (diff)
downloadsubsurface-c917b29701470398b51aa5ad9541275825d912fd.tar.gz
Save / Restore the sizes of the columns in Cylinders / Weigth widgets
This patch saves / restores the sizes of the columns in the cylinders and weigth table widgets, so everything is now properly behaved. There 's still other things to do - but I'm tired. i's sunday and there's a protest against the brazilian government to go. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index b92db67e1..124bcff7e 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -40,6 +40,10 @@ public:
bool eventFilter(QObject* , QEvent*);
virtual void resizeEvent(QResizeEvent*);
virtual void showEvent(QShowEvent*);
+ virtual void hideEvent(QHideEvent* );
+
+ void initialUiSetup();
+
public Q_SLOTS:
void addCylinder_clicked();