UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
hds::TableEditorDelegate Class Reference

#include <table_editor_delegate.hpp>

Inheritance diagram for hds::TableEditorDelegate:

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

TableDocmp_doc
 

Detailed Description

Delegator for items of the module context viewer.

Constructor & Destructor Documentation

hds::TableEditorDelegate::TableEditorDelegate ( QObject *  parent = 0)

Create delegate with header word type provided.

Member Function Documentation

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.

Member Data Documentation

TableDoc* hds::TableEditorDelegate::mp_doc
protected

< Current document pointer.


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