MCPcopy Create free account
hub / github.com/MITK/MITK / RegisterQuestionWidget

Method RegisterQuestionWidget

Modules/FormsUI/src/mitkModuleActivator.h:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 private:
41 template <class TQuestion, class TWidget>
42 void RegisterQuestionWidget()
43 {
44 auto question = std::make_unique<TQuestion>();
45 m_QuestionWidgetFactory->Register(question->GetType(), new TWidget);
46 }
47
48 std::unique_ptr<IQuestionWidgetFactory> m_QuestionWidgetFactory;
49 };

Callers

nothing calls this directly

Calls 2

RegisterMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected