MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / showElement

Method showElement

src/gui/UBFeaturesWidget.cpp:583–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void 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
594void UBFeaturesCentralWidget::switchTo(StackElement pView)
595{

Callers 2

currentSelectedMethod · 0.80
onDisplayMetadataMethod · 0.80

Calls 11

existsFunction · 0.85
setCurrentIndexMethod · 0.80
getFullPathMethod · 0.80
nextSiblingMethod · 0.80
getThumbnailMethod · 0.80
valueMethod · 0.45
closeMethod · 0.45
loadMethod · 0.45
setPixmapMethod · 0.45
showMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected