equal
deleted
inserted
replaced
184 { |
184 { |
185 return d_func()->layout->insertWidget(index, widget); |
185 return d_func()->layout->insertWidget(index, widget); |
186 } |
186 } |
187 |
187 |
188 /*! |
188 /*! |
189 Removes the given \a widget from the QStackedWidget. |
189 Removes \a widget from the QStackedWidget. i.e., \a widget is \e |
190 |
190 not deleted but simply removed from the stacked layout, causing it |
191 \bold{Note:} The ownership of \a widget remains the same. |
191 to be hidden. |
192 The widget is \e not deleted, but simply removed from the widget's |
192 |
193 stacked layout, causing it to be hidden. |
193 \bold{Note:} Ownership of \a widget reverts to the application. |
194 |
194 |
195 \sa addWidget(), insertWidget(), currentWidget() |
195 \sa addWidget(), insertWidget(), currentWidget() |
196 */ |
196 */ |
197 void QStackedWidget::removeWidget(QWidget *widget) |
197 void QStackedWidget::removeWidget(QWidget *widget) |
198 { |
198 { |