#include <QmitkMonaiLabelToolGUI.h>
Definition at line 24 of file QmitkMonaiLabelToolGUI.h.
◆ QmitkMonaiLabelToolGUI()
QmitkMonaiLabelToolGUI::QmitkMonaiLabelToolGUI |
( |
int |
dimension | ) |
|
|
protected |
◆ ~QmitkMonaiLabelToolGUI()
QmitkMonaiLabelToolGUI::~QmitkMonaiLabelToolGUI |
( |
| ) |
|
|
protected |
◆ Clone()
Pointer QmitkMonaiLabelToolGUI::Clone |
( |
| ) |
const |
◆ ConnectNewTool()
◆ DisplayWidgets()
virtual void QmitkMonaiLabelToolGUI::DisplayWidgets |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
◆ EnableWidgets()
void QmitkMonaiLabelToolGUI::EnableWidgets |
( |
bool |
enabled | ) |
|
|
overrideprotectedvirtual |
This method is used to control/set the enabled state of the tool UI widgets. It is e.g. used if the busy state is changed (see BusyStateChanged). Override the default implementation, e.g. if a tool adds his own UI elements (normally by overriding InitializeUI()) and wants to control how the widgets are enabled/disabled.
Reimplemented from QmitkSegWithPreviewToolGUIBase.
◆ InitializeUI()
void QmitkMonaiLabelToolGUI::InitializeUI |
( |
QBoxLayout * |
mainLayout | ) |
|
|
overrideprotectedvirtual |
This method is called by OnNewToolAssociated if the UI is initialized the first time to allow derived classes to introduce own UI code. Overwrite to change. The implementation should ensure that alle widgets needed for the tool UI are properly allocated. If one needs to eecute time (e.g. to connect events between the tool and the UI) each time the tool changes, override the functions ConnectNewTool() and DisconnectOldTool().
Reimplemented from QmitkSegWithPreviewToolGUIBase.
◆ mitkClassMacro()
◆ OnFetchBtnClicked
void QmitkMonaiLabelToolGUI::OnFetchBtnClicked |
( |
| ) |
|
|
protectedslot |
◆ OnModelChanged
void QmitkMonaiLabelToolGUI::OnModelChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnPreferenceChangedEvent()
Function to listen to Preference changes.
◆ OnPreviewBtnClicked
void QmitkMonaiLabelToolGUI::OnPreviewBtnClicked |
( |
| ) |
|
|
protectedslot |
◆ PopulateModelBox()
void QmitkMonaiLabelToolGUI::PopulateModelBox |
( |
QString |
appName, |
|
|
std::vector< mitk::MonaiModelInfo > |
models, |
|
|
bool |
allowAllModels |
|
) |
| |
|
protected |
Helper function to write MONAI model info in to model combo box.
◆ PopulateUI()
void QmitkMonaiLabelToolGUI::PopulateUI |
( |
bool |
allowAllModels | ) |
|
|
protected |
Helper function to populate required server metadata into UI.
◆ ShowErrorMessage()
void QmitkMonaiLabelToolGUI::ShowErrorMessage |
( |
const std::string & |
message | ) |
|
|
protected |
Creates a QMessage object and shows on screen.
◆ StatusMessageListener()
void QmitkMonaiLabelToolGUI::StatusMessageListener |
( |
const bool |
status | ) |
|
|
protected |
Function to listen to tool class status emitters.
◆ WriteErrorMessage()
void QmitkMonaiLabelToolGUI::WriteErrorMessage |
( |
const QString & |
| ) |
|
|
protected |
Writes any message in red on the tool pane.
◆ WriteStatusMessage()
void QmitkMonaiLabelToolGUI::WriteStatusMessage |
( |
const QString & |
| ) |
|
|
protected |
Writes any message in white on the tool pane.
The documentation for this class was generated from the following file: