Computer Assisted Medical Intervention Tool Kit  version 5.2
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
 

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(), 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(), and camitk::keyPressEvent().

+ Here is the call graph for this function:

◆ mousePressEvent()

void QtPropertyEditorView::mousePressEvent ( QMouseEvent *  event)
overrideprotected

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

+ Here is the call graph for this function:

◆ setEditorPrivate()

void QtPropertyEditorView::setEditorPrivate ( QtTreePropertyBrowserPrivate editorPrivate)
inline

Referenced by QtTreePropertyBrowserPrivate::init().

+ Here is the caller graph for this function:

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