Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Signals | Public Member Functions | Protected Slots | Protected Attributes
qMRMLTransformItemDelegate Class Reference

Item Delegate for MRML parent transform property. More...

#include <Modules/Loadable/SubjectHierarchy/Widgets/qMRMLTransformItemDelegate.h>

Inheritance diagram for qMRMLTransformItemDelegate:
Inheritance graph
[legend]
Collaboration diagram for qMRMLTransformItemDelegate:
Collaboration graph
[legend]

Signals

void hardenTransformOnBranchOfCurrentItem ()
 
void removeTransformsFromBranchOfCurrentItem ()
 

Public Member Functions

virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
virtual bool eventFilter (QObject *object, QEvent *event)
 
bool isTransform (const QModelIndex &index) const
 Determine if the current index contains a transform. More...
 
 qMRMLTransformItemDelegate (QObject *parent=0)
 
virtual void setEditorData (QWidget *editor, const QModelIndex &index) const
 
void setFixedRowHeight (int height)
 
virtual void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 
void setMRMLScene (vtkMRMLScene *scene)
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
virtual ~qMRMLTransformItemDelegate ()
 

Protected Slots

void commitAndClose ()
 

Protected Attributes

int FixedRowHeight
 
QAction * HardenAction
 
vtkMRMLSceneMRMLScene
 
QAction * RemoveTransformAction
 

Detailed Description

Item Delegate for MRML parent transform property.

Definition at line 35 of file qMRMLTransformItemDelegate.h.

Constructor & Destructor Documentation

◆ qMRMLTransformItemDelegate()

qMRMLTransformItemDelegate::qMRMLTransformItemDelegate ( QObject *  parent = 0)

◆ ~qMRMLTransformItemDelegate()

virtual qMRMLTransformItemDelegate::~qMRMLTransformItemDelegate ( )
virtual

Member Function Documentation

◆ commitAndClose

void qMRMLTransformItemDelegate::commitAndClose ( )
protectedslot

◆ createEditor()

virtual QWidget* qMRMLTransformItemDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

◆ eventFilter()

virtual bool qMRMLTransformItemDelegate::eventFilter ( QObject *  object,
QEvent *  event 
)
virtual

◆ hardenTransformOnBranchOfCurrentItem

void qMRMLTransformItemDelegate::hardenTransformOnBranchOfCurrentItem ( )
signal

◆ isTransform()

bool qMRMLTransformItemDelegate::isTransform ( const QModelIndex &  index) const

Determine if the current index contains a transform.

◆ removeTransformsFromBranchOfCurrentItem

void qMRMLTransformItemDelegate::removeTransformsFromBranchOfCurrentItem ( )
signal

◆ setEditorData()

virtual void qMRMLTransformItemDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
virtual

◆ setFixedRowHeight()

void qMRMLTransformItemDelegate::setFixedRowHeight ( int  height)

Set a fixed row height. Useful if uniform row heights is turned on, but the desired row height is different than that of the first row (often scene). Set value to -1 to disable fixed row height (this is the default)

◆ setModelData()

virtual void qMRMLTransformItemDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
virtual

◆ setMRMLScene()

void qMRMLTransformItemDelegate::setMRMLScene ( vtkMRMLScene scene)

◆ sizeHint()

virtual QSize qMRMLTransformItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

◆ updateEditorGeometry()

void qMRMLTransformItemDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Member Data Documentation

◆ FixedRowHeight

int qMRMLTransformItemDelegate::FixedRowHeight
protected

Definition at line 81 of file qMRMLTransformItemDelegate.h.

◆ HardenAction

QAction* qMRMLTransformItemDelegate::HardenAction
protected

Definition at line 80 of file qMRMLTransformItemDelegate.h.

◆ MRMLScene

vtkMRMLScene* qMRMLTransformItemDelegate::MRMLScene
protected

Definition at line 78 of file qMRMLTransformItemDelegate.h.

◆ RemoveTransformAction

QAction* qMRMLTransformItemDelegate::RemoveTransformAction
protected

Definition at line 79 of file qMRMLTransformItemDelegate.h.


The documentation for this class was generated from the following file: