Slicer  4.10
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 ()
 
void transformActionSelected ()
 

Protected Attributes

int FixedRowHeight
 
QAction * HardenAction
 
vtkMRMLSceneMRMLScene
 
QAction * NoneAction
 
QActionGroup * TransformActionGroup
 

Detailed Description

Item Delegate for MRML parent transform property.

Definition at line 39 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

◆ transformActionSelected

void qMRMLTransformItemDelegate::transformActionSelected ( )
protectedslot

◆ updateEditorGeometry()

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

Member Data Documentation

◆ FixedRowHeight

int qMRMLTransformItemDelegate::FixedRowHeight
protected

Definition at line 88 of file qMRMLTransformItemDelegate.h.

◆ HardenAction

QAction* qMRMLTransformItemDelegate::HardenAction
protected

Definition at line 87 of file qMRMLTransformItemDelegate.h.

◆ MRMLScene

vtkMRMLScene* qMRMLTransformItemDelegate::MRMLScene
protected

Definition at line 84 of file qMRMLTransformItemDelegate.h.

◆ NoneAction

QAction* qMRMLTransformItemDelegate::NoneAction
protected

Definition at line 86 of file qMRMLTransformItemDelegate.h.

◆ TransformActionGroup

QActionGroup* qMRMLTransformItemDelegate::TransformActionGroup
protected

Definition at line 85 of file qMRMLTransformItemDelegate.h.


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