#include <QmitkSynchronizedNodeSelectionWidget.h>
◆ NodeList
◆ QmitkSynchronizedNodeSelectionWidget()
QmitkSynchronizedNodeSelectionWidget::QmitkSynchronizedNodeSelectionWidget |
( |
QWidget * |
parent | ) |
|
◆ ~QmitkSynchronizedNodeSelectionWidget()
QmitkSynchronizedNodeSelectionWidget::~QmitkSynchronizedNodeSelectionWidget |
( |
| ) |
|
◆ AllowEmissionOfSelection()
bool QmitkSynchronizedNodeSelectionWidget::AllowEmissionOfSelection |
( |
const NodeList & |
emissionCandidates | ) |
const |
|
overrideprotectedvirtual |
This function will be called before the CurrentSelectionChanged signal is emitted. The return value indicates if the signal should be emitted (true = emission; false = no emission). The default implementation always returns true.
- Parameters
-
emissionCandidates | The nodes that will be emitted if the function returns true. |
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ DeregisterSynchronization
void QmitkSynchronizedNodeSelectionWidget::DeregisterSynchronization |
( |
| ) |
|
|
signal |
◆ GetSelectAll()
bool QmitkSynchronizedNodeSelectionWidget::GetSelectAll |
( |
| ) |
const |
◆ Initialize()
void QmitkSynchronizedNodeSelectionWidget::Initialize |
( |
| ) |
|
|
protected |
◆ IsSynchronized()
bool QmitkSynchronizedNodeSelectionWidget::IsSynchronized |
( |
| ) |
const |
◆ OnDataStorageChanged()
void QmitkSynchronizedNodeSelectionWidget::OnDataStorageChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
Method is called if the data storage has changed. The selection will be automatically be reset afterwards. The default implementation does nothing.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ OnInternalSelectionChanged()
void QmitkSynchronizedNodeSelectionWidget::OnInternalSelectionChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
This member function will called when ever a new internal selection has been determined. This can be used to update the state of internal widgets. The default implementation does nothing.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ OnNodeAddedToStorage()
void QmitkSynchronizedNodeSelectionWidget::OnNodeAddedToStorage |
( |
const mitk::DataNode * |
node | ) |
|
|
overrideprotectedvirtual |
Method is called when a node is added to the storage. Default implementation does nothing. Derived widgets can override the method if they want to react on new nodes in the storage.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ OnNodeModified()
void QmitkSynchronizedNodeSelectionWidget::OnNodeModified |
( |
const itk::Object * |
caller, |
|
|
const itk::EventObject & |
event |
|
) |
| |
|
overrideprotectedvirtual |
Method is called when a node is modified. The modified node is passed as 'caller' variable. Default implementation handles changes that are related to the node predicate:
- If the node does not fit the node predicate anymore, it will be removed.
- If the node was part of the external selection and now fits the node predicate, a new selection is compiled and emitted. Derived widgets can override the method if they want to react on modified nodes.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ OnNodePredicateChanged()
void QmitkSynchronizedNodeSelectionWidget::OnNodePredicateChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
Method is called if the predicate has changed, before the selection will be updated according to the new predicate. The default implementation does nothing.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ ReviseSelectionChanged()
void QmitkSynchronizedNodeSelectionWidget::ReviseSelectionChanged |
( |
const NodeList & |
oldInternalSelection, |
|
|
NodeList & |
newInternalSelection |
|
) |
| |
|
overrideprotectedvirtual |
This member function is called if the internal selection is about to be changed by the base implementation. This is the slot where derived classes can revise and change the internal selection before widget updates, signal emissions and other things are triggered. Default implementation does nothing, thus it keeps the passed internal selection as compiled by the base implementation.
Reimplemented from QmitkAbstractNodeSelectionWidget.
◆ SelectAll()
void QmitkSynchronizedNodeSelectionWidget::SelectAll |
( |
| ) |
|
◆ SelectionModeChanged
void QmitkSynchronizedNodeSelectionWidget::SelectionModeChanged |
( |
bool |
selectAll | ) |
|
|
signal |
◆ SetBaseRenderer()
void QmitkSynchronizedNodeSelectionWidget::SetBaseRenderer |
( |
mitk::BaseRenderer * |
baseRenderer | ) |
|
◆ SetSelectAll()
void QmitkSynchronizedNodeSelectionWidget::SetSelectAll |
( |
bool |
selectAll | ) |
|
◆ SetSelection
void QmitkSynchronizedNodeSelectionWidget::SetSelection |
( |
const NodeList & |
newSelection | ) |
|
|
slot |
◆ SetSynchronized()
void QmitkSynchronizedNodeSelectionWidget::SetSynchronized |
( |
bool |
synchronize | ) |
|
◆ SetUpConnections()
void QmitkSynchronizedNodeSelectionWidget::SetUpConnections |
( |
| ) |
|
|
protected |
◆ UpdateInfo()
void QmitkSynchronizedNodeSelectionWidget::UpdateInfo |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: