Computer Assited Medical Intervention Tool Kit  version 5.0
QtPropertyEditorView Class Reference
+ Inheritance diagram for QtPropertyEditorView:
+ Collaboration diagram for QtPropertyEditorView:

Public Member Functions

QTreeWidgetItem * indexToItem (const QModelIndex &index) const
 
 QtPropertyEditorView (QWidget *parent=nullptr)
 
void setEditorPrivate (QtTreePropertyBrowserPrivate *editorPrivate)
 

Protected Member Functions

void drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void keyPressEvent (QKeyEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 

Private Attributes

QtTreePropertyBrowserPrivatem_editorPrivate {nullptr}
 

Constructor & Destructor Documentation

◆ QtPropertyEditorView()

QtPropertyEditorView::QtPropertyEditorView ( QWidget *  parent = nullptr)

Member Function Documentation

◆ drawRow()

void QtPropertyEditorView::drawRow ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overrideprotected

References QtTreePropertyBrowserPrivate::calculatedBackgroundColor(), QtProperty::hasValue(), QtTreePropertyBrowserPrivate::indexToBrowserItem(), QtTreePropertyBrowserPrivate::indexToProperty(), m_editorPrivate, and QtTreePropertyBrowserPrivate::markPropertiesWithoutValue().

+ Here is the call graph for this function:

◆ indexToItem()

QTreeWidgetItem* QtPropertyEditorView::indexToItem ( const QModelIndex &  index) const
inline

Referenced by QtTreePropertyBrowserPrivate::indexToBrowserItem(), QtTreePropertyBrowserPrivate::indexToItem(), and QtTreePropertyBrowserPrivate::indexToProperty().

+ Here is the caller graph for this function:

◆ keyPressEvent()

void QtPropertyEditorView::keyPressEvent ( QKeyEvent *  event)
overrideprotected

References QtTreePropertyBrowserPrivate::editedItem(), camitk::keyPressEvent(), and m_editorPrivate.

+ Here is the call graph for this function:

◆ mousePressEvent()

void QtPropertyEditorView::mousePressEvent ( QMouseEvent *  event)
overrideprotected

References QtTreePropertyBrowserPrivate::editedItem(), QtTreePropertyBrowserPrivate::hasValue(), m_editorPrivate, QtTreePropertyBrowserPrivate::markPropertiesWithoutValue(), and camitk::mousePressEvent().

+ Here is the call graph for this function:

◆ setEditorPrivate()

void QtPropertyEditorView::setEditorPrivate ( QtTreePropertyBrowserPrivate editorPrivate)
inline

References m_editorPrivate.

Referenced by QtTreePropertyBrowserPrivate::init().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_editorPrivate

QtTreePropertyBrowserPrivate* QtPropertyEditorView::m_editorPrivate {nullptr}
private

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