From 302e9b70ecb247977decf97269807abe5eccbdd7 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 04 Sep 2003 17:04:06 +0000 Subject: Rely on QFRame for the sizeHint --- (limited to 'libopie') diff --git a/libopie/big-screen/osplitter.cpp b/libopie/big-screen/osplitter.cpp index b09bc94..0c9ed6c 100644 --- a/libopie/big-screen/osplitter.cpp +++ b/libopie/big-screen/osplitter.cpp @@ -306,8 +306,8 @@ QWidget* OSplitter::currentWidget() const{ return 0l; } - - +/* wrong */ +#if 0 /** * @reimplented for internal reasons * returns the sizeHint of one of its sub widgets @@ -330,7 +330,7 @@ QSize OSplitter::minimumSizeHint()const { else return m_tabWidget->sizeHint(); } - +#endif /** * @reimplemented for internal reasons @@ -515,6 +515,7 @@ void OSplitter::commonChangeBox() { m_hbox->show(); delete m_tabWidget; m_tabWidget = 0; + show(); // also show this widget } } diff --git a/libopie/big-screen/osplitter.h b/libopie/big-screen/osplitter.h index 33a085f..61a247b 100644 --- a/libopie/big-screen/osplitter.h +++ b/libopie/big-screen/osplitter.h @@ -91,6 +91,7 @@ public: void setCurrentWidget( int ); QWidget* currentWidget()const; + signals: /** * Emitted if in tab and comes directly from the tab widget @@ -108,8 +109,8 @@ signals: */ void sizeChanged( bool b, Orientation ori); public: - QSize sizeHint()const; - QSize minimumSizeHint()const; +// QSize sizeHint()const; +// QSize minimumSizeHint()const; protected: void resizeEvent( QResizeEvent* ); -- cgit v0.9.0.2