17 #ifndef QmitkDataStorageComboBox_h
18 #define QmitkDataStorageComboBox_h
62 QWidget *parent =
nullptr,
63 bool _AutoSelectNewNodes =
false);
101 virtual bool GetAutoSelectNewItems();
123 virtual void RemoveNode(
int index);
141 virtual void SetAutoSelectNewItems(
bool _AutoSelectNewItems);
146 virtual void OnDataNodeDeleteOrModified(
const itk::Object *caller,
const itk::EventObject &event);
159 bool HasIndex(
unsigned int index)
const;
166 void OnCurrentIndexChanged(
int);
186 virtual void InsertNode(
int index,
const mitk::DataNode *_DataNode);
196 virtual void Reset();
243 #endif // QmitkDataStorageComboBox_h
std::map< mitk::DataNode *, const mitk::BaseProperty * > m_PropertyToNode
Maps a a specific node to (Name-)property. This is needed because we have to find the assiociated nod...
Data management class that handles 'was created by' relations.
std::vector< long > m_NodesModifiedObserverTags
Holds the tags of the node-modified observers. (must be updated everytime m_Nodes changes) ...
Displays all or a subset (defined by a predicate) of nodes of the Data Storage.
std::vector< mitk::DataNode * > m_Nodes
mitk::WeakPointer< mitk::DataStorage > m_DataStorage
static mitk::DataStorage::Pointer GetDataStorage()
itk::SmartPointer< const Self > ConstPointer
bool m_AutoSelectNewNodes
If set to "true" new Nodes will be automatically selected.
bool m_BlockEvents
Event function guard. Each function which is called by an event mechanism first checks if this is tru...
mitk::NodePredicateBase::ConstPointer m_Predicate
Holds the predicate that is responsible for the _DataNode selection of this ComboBox. If the predicate is 0, every _DataNode will be selected.
std::vector< long > m_NodesDeleteObserverTags
Holds the tags of the node-modified observers. (must be updated everytime m_Nodes changes) ...
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Class for nodes of the DataTree.