Question widget for ScreenshotQuestion, allowing users to take screenshots of render windows.
More...
#include <QmitkScreenshotQuestionWidget.h>
|
| void | InsertLayout (QLayout *layout) |
| | Insert a layout containing all GUI elements specific to the derived question widget type. More...
|
| |
Question widget for ScreenshotQuestion, allowing users to take screenshots of render windows.
A "Take Screenshot" button shows a popup menu with axial, sagittal, and coronal view options. Taken screenshots appear as thumbnail widgets that can be removed.
- See also
- mitk::Forms::ScreenshotQuestion, QmitkQuestionWidget
Definition at line 31 of file QmitkScreenshotQuestionWidget.h.
◆ QmitkScreenshotQuestionWidget()
| QmitkScreenshotQuestionWidget::QmitkScreenshotQuestionWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Construct the widget.
- Parameters
-
| [in] | parent | The parent widget. |
◆ ~QmitkScreenshotQuestionWidget()
| QmitkScreenshotQuestionWidget::~QmitkScreenshotQuestionWidget |
( |
| ) |
|
|
override |
◆ CreateAnother()
| QmitkQuestionWidget* QmitkScreenshotQuestionWidget::CreateAnother |
( |
QWidget * |
parent = nullptr | ) |
const |
|
overridevirtual |
◆ GetQuestion()
Get the associated ScreenshotQuestion.
- Returns
- A pointer to the ScreenshotQuestion, or
nullptr if not set.
Implements QmitkQuestionWidget.
◆ Reset()
| void QmitkScreenshotQuestionWidget::Reset |
( |
| ) |
|
|
overridevirtual |
◆ SetQuestion()
Initialize the widget for a ScreenshotQuestion.
- Parameters
-
| [in] | question | Must be a ScreenshotQuestion. The widget does not take ownership. |
- Exceptions
-
Implements QmitkQuestionWidget.
The documentation for this class was generated from the following file: