Computer Assisted Medical Intervention Tool Kit  version 5.2
QtPropertyEditorDelegate Class Reference
+ Inheritance diagram for QtPropertyEditorDelegate:
+ Collaboration diagram for QtPropertyEditorDelegate:

Public Member Functions

void closeEditor (QtProperty *property)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QTreeWidgetItem * editedItem () const
 
bool eventFilter (QObject *object, QEvent *event) override
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
 QtPropertyEditorDelegate (QObject *parent=nullptr)
 
void setEditorData (QWidget *, const QModelIndex &) const override
 
void setEditorPrivate (QtTreePropertyBrowserPrivate *editorPrivate)
 
void setModelData (QWidget *, QAbstractItemModel *, const QModelIndex &) const override
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Protected Member Functions

void drawDecoration (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QPixmap &pixmap) const override
 
void drawDisplay (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const override
 

Constructor & Destructor Documentation

◆ QtPropertyEditorDelegate()

QtPropertyEditorDelegate::QtPropertyEditorDelegate ( QObject *  parent = nullptr)
inline

Member Function Documentation

◆ closeEditor()

void QtPropertyEditorDelegate::closeEditor ( QtProperty property)

Referenced by QtTreePropertyBrowserPrivate::disableItem().

+ Here is the caller graph for this function:

◆ createEditor()

QWidget * QtPropertyEditorDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

References QtTreePropertyBrowserPrivate::createEditor(), QtTreePropertyBrowserPrivate::indexToItem(), and QtTreePropertyBrowserPrivate::indexToProperty().

+ Here is the call graph for this function:

◆ drawDecoration()

void QtPropertyEditorDelegate::drawDecoration ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QRect &  rect,
const QPixmap &  pixmap 
) const
overrideprotected

◆ drawDisplay()

void QtPropertyEditorDelegate::drawDisplay ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QRect &  rect,
const QString &  text 
) const
overrideprotected

◆ editedItem()

QTreeWidgetItem* QtPropertyEditorDelegate::editedItem ( ) const
inline

Referenced by QtTreePropertyBrowserPrivate::editedItem().

+ Here is the caller graph for this function:

◆ eventFilter()

bool QtPropertyEditorDelegate::eventFilter ( QObject *  object,
QEvent *  event 
)
override

◆ paint()

void QtPropertyEditorDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

◆ setEditorData()

void QtPropertyEditorDelegate::setEditorData ( QWidget *  ,
const QModelIndex &   
) const
inlineoverride

◆ setEditorPrivate()

void QtPropertyEditorDelegate::setEditorPrivate ( QtTreePropertyBrowserPrivate editorPrivate)
inline

Referenced by QtTreePropertyBrowserPrivate::init().

+ Here is the caller graph for this function:

◆ setModelData()

void QtPropertyEditorDelegate::setModelData ( QWidget *  ,
QAbstractItemModel *  ,
const QModelIndex &   
) const
inlineoverride

◆ sizeHint()

QSize QtPropertyEditorDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

◆ updateEditorGeometry()

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

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