Medical Imaging Interaction Toolkit
2024.06.99-ccaff7ce
Medical Imaging Interaction Toolkit
|
#include <QmitkLinearScaleQuestionWidget.h>
Public Member Functions | |
QmitkLinearScaleQuestionWidget (QWidget *parent=nullptr) | |
~QmitkLinearScaleQuestionWidget () override | |
QmitkQuestionWidget * | CreateAnother (QWidget *parent=nullptr) const override |
Create a new instance of the derived question widget class type. More... | |
mitk::Forms::Question * | GetQuestion () const override |
Get the question associated with this widget. More... | |
void | SetQuestion (mitk::Forms::Question *question) override |
Initialize the widget based on the given question. More... | |
void | Reset () override |
Reset the state of the GUI as if no interaction would have been happened yet. More... | |
Public Member Functions inherited from QmitkQuestionWidget | |
QmitkQuestionWidget (QWidget *parent=nullptr) | |
~QmitkQuestionWidget () override | |
void | SetRequirementVisible (bool visible) |
void | ShowRequirement () |
void | HideRequirement () |
Additional Inherited Members | |
Protected Member Functions inherited from QmitkQuestionWidget | |
void | InsertLayout (QLayout *layout) |
Insert a layout containing all GUI elements specific to the derived question widget type. More... | |
Definition at line 23 of file QmitkLinearScaleQuestionWidget.h.
|
explicit |
|
override |
|
overridevirtual |
Create a new instance of the derived question widget class type.
This method is mainly used by mitk::Forms::UI::IQuestionWidgetFactory to create new instances from registered prototype instances.
Implements QmitkQuestionWidget.
|
overridevirtual |
Get the question associated with this widget.
Implements QmitkQuestionWidget.
|
overridevirtual |
Reset the state of the GUI as if no interaction would have been happened yet.
Implements QmitkQuestionWidget.
|
overridevirtual |
Initialize the widget based on the given question.
This method is rarely used explicitly since it is automatically called by mitk::Forms::UI::IQuestionWidgetFactory::Create().
You are excepted to throw an mitk::Exception if the Question type does not match the expectations of the widget.
Implements QmitkQuestionWidget.