17 #ifndef QMITKDATAMANAGERVIEW_H_
18 #define QMITKDATAMANAGERVIEW_H_
28 #include <QItemSelection>
47 class QmitkDataManagerItemDelegate;
79 void OpacityChanged(
int value);
84 void OpacityActionChanged();
88 void ComponentActionChanged();
96 void ColorActionChanged();
100 void TextureInterpolationChanged();
104 void TextureInterpolationToggled (
bool checked );
108 void ColormapMenuAboutToShow ();
112 void ColormapActionToggled (
bool);
116 void SurfaceRepresentationMenuAboutToShow ();
120 void SurfaceRepresentationActionToggled (
bool checked );
124 void NodeTableViewContextMenuRequested(
const QPoint & index );
128 void RemoveSelectedNodes(
bool checked =
false );
132 void ReinitSelectedNodes(
bool checked =
false );
136 void MakeAllNodesInvisible (
bool checked =
false );
140 void ShowOnlySelectedNodes (
bool checked =
false );
144 void ToggleVisibilityOfSelectedNodes (
bool checked =
false );
148 void ShowInfoDialogForSelectedNodes (
bool checked =
false );
152 void GlobalReinit (
bool checked =
false );
162 void ContextMenuActionTriggered(
bool );
165 void NodeTreeViewRowsInserted (
const QModelIndex & parent,
int start,
int end );
168 void NodeTreeViewRowsRemoved (
const QModelIndex & parent,
int start,
int end );
171 void NodeSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected );
174 void ShowIn(
const QString& editorId);
188 void FileOpen(
const char * fileName,
mitk::DataNode* parentNode );
260 QItemSelectionModel* GetDataNodeSelectionModel()
const override;
QSignalMapper * m_ShowInMapper
Maps "Show in" actions to editor ids.
QAction * m_ColormapAction
Lookuptable selection action.
virtual void SetFocus() override=0
mitk::NodePredicateBase::Pointer m_NodeWithNoDataFilterPredicate
QPushButton * m_ColorButton
button to change the color of a node
berry::IBerryPreferences::Pointer m_DataManagerPreferencesNode
vcl_size_t m_CurrentRowCount
saves the current amount of rows shown in the datamanager
bool m_GlobalReinitOnNodeDelete
if true, GlobalReinit() is called if a node is deleted
QmitkDataStorageTreeModel * m_NodeTreeModel
A plain widget as the base pane.
Interface for a MITK Workbench Part providing a render window.
QmitkDataManagerItemDelegate * m_ItemDelegate
QmitkDataStorageFilterProxyModel * m_FilterModel
std::vector< std::pair< QmitkNodeDescriptor *, QAction * > > m_DescriptorActionList
A list of ALL actions for the Context Menu
QmitkNumberPropertySlider * m_ComponentSlider
A Slider widget to change the rendered vector component of an image.
QSlider * m_OpacitySlider
A Slider widget to change the opacity of a node.
#define MITK_QT_DATAMANAGER
mitk::NodePredicateBase::Pointer m_HelperObjectFilterPredicate
static const QString VIEW_ID
std::map< QAction *, berry::IConfigurationElement::Pointer > m_ConfElements
QAction * m_SurfaceRepresentation
SurfaceRepresentation action.
QList< QAction * > m_ShowInActions
A list of "Show in" actions.
virtual void CreateQtPartControl(QWidget *parent)=0
QmitkDnDFrameWidget * m_DndFrameWidget
QAction * m_TextureInterpolation
TextureInterpolation action.
A View class that can show all data tree nodes of a certain DataStorage.
A convenient base class for MITK related BlueBerry Views.
QMenu * m_NodeMenu
The context menu that shows up when right clicking on a node.
QTreeView * m_NodeTreeView
The Table view to show the selected nodes.
bool m_SurfaceDecimation
flag indicating whether a surface created from a selected decimation is decimated with vtkQuadricDeci...
Class for nodes of the DataTree.