![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <table_editor_delegate.hpp>
Public Member Functions | |
| TableEditorDelegate (QObject *parent=0) | |
| void | attachDoc (TableDoc &doc) |
| void | detachDoc () |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| virtual void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &) const |
Protected Attributes | |
| TableDoc * | mp_doc |
Delegator for items of the module context viewer.
| hds::TableEditorDelegate::TableEditorDelegate | ( | QObject * | parent = 0 | ) |
Create delegate with header word type provided.
| void hds::TableEditorDelegate::attachDoc | ( | TableDoc & | doc | ) |
Attach table document for show/edit. Document object not copied inside,
just store a pointer.
| void hds::TableEditorDelegate::detachDoc | ( | ) |
Detach current document.
|
protected |
< Current document pointer.
1.8.5