24 static std::string s =
"ork.mitk.services.UltrasoundCustomWidget.deviceClass";
29 : QWidget(parent), m_PrototypeServiceFactory(0), m_IsClonedForQt(false)
35 delete m_PrototypeServiceFactory;
54 clonedWidget->m_IsClonedForQt =
true;
72 if ( ! m_IsClonedForQt )
74 MITK_ERROR <<
"Object wasn't cloned with CloneForQt() before using as QWidget.";
75 mitkThrow() <<
"Object wasn't cloned with CloneForQt() before using as QWidget.";
78 QWidget::showEvent(event);
US_UNORDERED_MAP_TYPE< std::string, Any > ServiceProperties