An object of this class offers an UI to manage NavigationTools and NavigationToolStorages. This means a user may create, save and load single NavigationTools and/or NavigationToolStorages with this widget.
More...
#include <QmitkNavigationToolManagementWidget.h>
|
void | NewStorageAdded (mitk::NavigationToolStorage::Pointer newStorage, std::string storageName) |
|
An object of this class offers an UI to manage NavigationTools and NavigationToolStorages. This means a user may create, save and load single NavigationTools and/or NavigationToolStorages with this widget.
Documentation: Be sure to call the Initialize-methode before you start the widget otherwise some errors might occure.
Definition at line 37 of file QmitkNavigationToolManagementWidget.h.
◆ QmitkNavigationToolManagementWidget()
QmitkNavigationToolManagementWidget::QmitkNavigationToolManagementWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkNavigationToolManagementWidget()
QmitkNavigationToolManagementWidget::~QmitkNavigationToolManagementWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
virtual void QmitkNavigationToolManagementWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkNavigationToolManagementWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ DisableStorageControls()
void QmitkNavigationToolManagementWidget::DisableStorageControls |
( |
| ) |
|
|
protected |
◆ EnableStorageControls()
void QmitkNavigationToolManagementWidget::EnableStorageControls |
( |
| ) |
|
|
protected |
◆ Initialize()
void QmitkNavigationToolManagementWidget::Initialize |
( |
mitk::DataStorage * |
dataStorage | ) |
|
Initializes the widget. Has to be called before any action, otherwise errors might occur.
◆ LoadStorage()
void QmitkNavigationToolManagementWidget::LoadStorage |
( |
mitk::NavigationToolStorage::Pointer |
storageToLoad | ) |
|
Loads a storage to the widget. The old storage storage is dropped, so be careful, if the storage is not saved somewhere else it might be lost. You might want to ask the user if he wants to save the storage to the harddisk before calling this method.
- Parameters
-
storageToLoad | This storage will be loaded and might be modified by the user. |
◆ MessageBox()
void QmitkNavigationToolManagementWidget::MessageBox |
( |
const std::string & |
s | ) |
|
|
protected |
◆ NewStorageAdded
void QmitkNavigationToolManagementWidget::NewStorageAdded |
( |
mitk::NavigationToolStorage::Pointer |
newStorage, |
|
|
std::string |
storageName |
|
) |
| |
|
signal |
This signal is emmited if a new storage was added by the widget itself, e.g. because a storage was loaded from the harddisk.
- Parameters
-
newStorage | Holds the new storage which was added. |
storageName | Name of the new storage (e.g. filename) |
◆ OnAddTool
void QmitkNavigationToolManagementWidget::OnAddTool |
( |
| ) |
|
|
protectedslot |
◆ OnAddToolCancel
void QmitkNavigationToolManagementWidget::OnAddToolCancel |
( |
| ) |
|
|
protectedslot |
◆ OnAddToolSave
void QmitkNavigationToolManagementWidget::OnAddToolSave |
( |
| ) |
|
|
protectedslot |
◆ OnCreateStorage
void QmitkNavigationToolManagementWidget::OnCreateStorage |
( |
| ) |
|
|
protectedslot |
◆ OnDeleteTool
void QmitkNavigationToolManagementWidget::OnDeleteTool |
( |
| ) |
|
|
protectedslot |
◆ OnEditTool
void QmitkNavigationToolManagementWidget::OnEditTool |
( |
| ) |
|
|
protectedslot |
◆ OnLoadStorage
void QmitkNavigationToolManagementWidget::OnLoadStorage |
( |
| ) |
|
|
protectedslot |
◆ OnLoadTool
void QmitkNavigationToolManagementWidget::OnLoadTool |
( |
| ) |
|
|
protectedslot |
◆ OnMoveToolDown
void QmitkNavigationToolManagementWidget::OnMoveToolDown |
( |
| ) |
|
|
protectedslot |
◆ OnMoveToolUp
void QmitkNavigationToolManagementWidget::OnMoveToolUp |
( |
| ) |
|
|
protectedslot |
◆ OnSaveStorage
void QmitkNavigationToolManagementWidget::OnSaveStorage |
( |
| ) |
|
|
protectedslot |
◆ OnSaveTool
void QmitkNavigationToolManagementWidget::OnSaveTool |
( |
| ) |
|
|
protectedslot |
◆ OnToolSelected
void QmitkNavigationToolManagementWidget::OnToolSelected |
( |
| ) |
|
|
protectedslot |
◆ UpdateToolTable()
void QmitkNavigationToolManagementWidget::UpdateToolTable |
( |
| ) |
|
|
protected |
◆ m_Controls
Ui::QmitkNavigationToolManagementWidgetControls* QmitkNavigationToolManagementWidget::m_Controls |
|
protected |
◆ m_DataStorage
◆ m_edit
bool QmitkNavigationToolManagementWidget::m_edit |
|
protected |
◆ m_NavigationToolStorage
mitk::NavigationToolStorage::Pointer QmitkNavigationToolManagementWidget::m_NavigationToolStorage |
|
protected |
◆ VIEW_ID
const std::string QmitkNavigationToolManagementWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: