| 83 | } |
| 84 | |
| 85 | void ViewBarContainer::removeViewBar(QWidget* viewBar) |
| 86 | { |
| 87 | Q_D(ViewBarContainer); |
| 88 | |
| 89 | Q_ASSERT(viewBar); |
| 90 | d->layout->removeWidget(viewBar); |
| 91 | viewBar->hide(); |
| 92 | |
| 93 | if (viewBar == d->layout->currentWidget()) { |
| 94 | hide(); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | void ViewBarContainer::setCurrentViewBar(QWidget* viewBar) |
| 99 | { |
no test coverage detected