Diffstat (limited to 'libopie/big-screen/osplitter.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/big-screen/osplitter.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libopie/big-screen/osplitter.h b/libopie/big-screen/osplitter.h index bc4f80b..db69fc6 100644 --- a/libopie/big-screen/osplitter.h +++ b/libopie/big-screen/osplitter.h @@ -1,9 +1,9 @@ /* =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 hOlgAr <zecke@handhelds.org> + .=l. Copyright (c) 2003 hOlgAr <zecke@handhelds.org> .>+-= _;:, .> :=|. This library is free software; you can .> <`_, > . <= redistribute it and/or modify it under :`=1 )Y*s>-.-- : the terms of the GNU Library General Public .="- .-=="i, .._ License as published by the Free Software - . .-<_> .<> Foundation; either version 2 of the License, @@ -71,15 +71,24 @@ public: void addWidget( QWidget* wid, const QString& icon, const QString& label ); void removeWidget( QWidget* ); void setCurrentWidget( QWidget* ); void setCurrentWidget( const QString& label ); + void setCurrentWidget( int ); QWidget* currentWidget(); +signals: + /** + * Emitted if in tab and comes directly from the tab widget + * + */ + void currentChanged( QWidget* ); +public: // QSize sizeHint()const; +// QSize minimumSizeHint()const; protected: void resizeEvent( QResizeEvent* ); private: void addToTab( const Opie::OSplitterContainer& ); |