| 581 | } |
| 582 | |
| 583 | void UBFeaturesCentralWidget::showElement(const UBFeature &feature, StackElement pView) |
| 584 | { |
| 585 | if (pView == FeaturesWebView) { |
| 586 | webView->showElement(feature); |
| 587 | mStackedWidget->setCurrentIndex(FeaturesWebView); |
| 588 | } else if (pView == FeaturePropertiesList) { |
| 589 | mFeatureProperties->showElement(feature); |
| 590 | mStackedWidget->setCurrentIndex(FeaturePropertiesList); |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | void UBFeaturesCentralWidget::switchTo(StackElement pView) |
| 595 | { |
no test coverage detected