author | zecke <zecke> | 2003-09-04 17:04:06 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-09-04 17:04:06 (UTC) |
commit | 302e9b70ecb247977decf97269807abe5eccbdd7 (patch) (unidiff) | |
tree | 59bb2fe59f0ced82acd0d3529af16c0e0d516772 /libopie/big-screen/osplitter.h | |
parent | d11827ca5879b21488c189fb09f32ecf635644ae (diff) | |
download | opie-302e9b70ecb247977decf97269807abe5eccbdd7.zip opie-302e9b70ecb247977decf97269807abe5eccbdd7.tar.gz opie-302e9b70ecb247977decf97269807abe5eccbdd7.tar.bz2 |
Rely on QFRame for the sizeHint
Diffstat (limited to 'libopie/big-screen/osplitter.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/big-screen/osplitter.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
@@ -82,43 +82,44 @@ public: | |||
82 | void setSizeChange( int width_height ); | 82 | void setSizeChange( int width_height ); |
83 | 83 | ||
84 | void addWidget( OSplitter* splitter ); | 84 | void addWidget( OSplitter* splitter ); |
85 | void addWidget( QWidget* wid, const QString& icon, const QString& label ); | 85 | void addWidget( QWidget* wid, const QString& icon, const QString& label ); |
86 | void removeWidget( QWidget* ); | 86 | void removeWidget( QWidget* ); |
87 | void removeWidget( OSplitter* ); | 87 | void removeWidget( OSplitter* ); |
88 | 88 | ||
89 | void setCurrentWidget( QWidget* ); | 89 | void setCurrentWidget( QWidget* ); |
90 | void setCurrentWidget( const QString& label ); | 90 | void setCurrentWidget( const QString& label ); |
91 | void setCurrentWidget( int ); | 91 | void setCurrentWidget( int ); |
92 | QWidget* currentWidget()const; | 92 | QWidget* currentWidget()const; |
93 | 93 | ||
94 | |||
94 | signals: | 95 | signals: |
95 | /** | 96 | /** |
96 | * Emitted if in tab and comes directly from the tab widget | 97 | * Emitted if in tab and comes directly from the tab widget |
97 | * | 98 | * |
98 | */ | 99 | */ |
99 | void currentChanged( QWidget* ); | 100 | void currentChanged( QWidget* ); |
100 | 101 | ||
101 | /** | 102 | /** |
102 | * emitted whenever a border is crossed | 103 | * emitted whenever a border is crossed |
103 | * true if in small screen mode | 104 | * true if in small screen mode |
104 | * false if in bigscreen | 105 | * false if in bigscreen |
105 | * this signal is emitted after the layout switch | 106 | * this signal is emitted after the layout switch |
106 | * @param b The layout mode | 107 | * @param b The layout mode |
107 | * @param ori The orientation | 108 | * @param ori The orientation |
108 | */ | 109 | */ |
109 | void sizeChanged( bool b, Orientation ori); | 110 | void sizeChanged( bool b, Orientation ori); |
110 | public: | 111 | public: |
111 | QSize sizeHint()const; | 112 | // QSize sizeHint()const; |
112 | QSize minimumSizeHint()const; | 113 | // QSize minimumSizeHint()const; |
113 | 114 | ||
114 | protected: | 115 | protected: |
115 | void resizeEvent( QResizeEvent* ); | 116 | void resizeEvent( QResizeEvent* ); |
116 | 117 | ||
117 | private: | 118 | private: |
118 | /* true if OTabMode */ | 119 | /* true if OTabMode */ |
119 | bool layoutMode()const; | 120 | bool layoutMode()const; |
120 | // void reparentAll(); | 121 | // void reparentAll(); |
121 | void setTabWidget( OTabWidget*); | 122 | void setTabWidget( OTabWidget*); |
122 | void addToTab( const Opie::OSplitterContainer& ); | 123 | void addToTab( const Opie::OSplitterContainer& ); |
123 | void addToBox( const Opie::OSplitterContainer& ); | 124 | void addToBox( const Opie::OSplitterContainer& ); |
124 | void removeFromTab( QWidget* ); | 125 | void removeFromTab( QWidget* ); |