SHAPER
9.13.0
|
Public Member Functions | |
ParametersPlugin_ItemDelegate (QObject *thaParent) | |
Constructor. More... | |
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Redefinition of virtual method. More... | |
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Redefinition of virtual method. More... | |
bool | isEditable (const QModelIndex &theIndex) const |
Returns True if the given index is editable item. More... | |
QModelIndex | editIndex () const |
Returns currently editing index. More... | |
ItemDelegate object in order to redefine items behavior
|
inline |
Constructor.
thaParent | a parent |
|
virtual |
Redefinition of virtual method.
painter | a painter object |
option | the item options |
index | the current index |
|
virtual |
Redefinition of virtual method.
parent | a parent widget |
option | the item options |
index | the current index |
bool ParametersPlugin_ItemDelegate::isEditable | ( | const QModelIndex & | theIndex | ) | const |
Returns True if the given index is editable item.
theIndex | an item index |
|
inline |
Returns currently editing index.