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

Method SetForm

Modules/FormsUI/src/QmitkForm.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void QmitkForm::SetForm(mitk::Forms::Form* form)
65{
66 if (form == nullptr)
67 mitkThrow() << "Parameter \"form\" must point to a valid form!";
68
69 m_Form = form;
70
71 this->CreateQuestionWidgets();
72 this->Reset();
73}
74
75fs::path QmitkForm::GetResponsesPath() const
76{

Callers 3

QmitkFormMethod · 0.95
UpdateFormWidgetMethod · 0.80
from_jsonFunction · 0.80

Calls 2

CreateQuestionWidgetsMethod · 0.95
ResetMethod · 0.95

Tested by

no test coverage detected