MNE-CPP
beta 1.0
|
Delegate for QTableView. More...
#include <cluststctabledelegate.h>
Public Types | |
typedef QSharedPointer< ClustStcTableDelegate > | SPtr |
typedef QSharedPointer< const ClustStcTableDelegate > | ConstSPtr |
Public Member Functions | |
ClustStcTableDelegate (QObject *parent=0) | |
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
Delegate for QTableView.
Delegate to view stc model data in a table view
Definition at line 70 of file cluststctabledelegate.h.
typedef QSharedPointer<const ClustStcTableDelegate> DISP3DLIB::ClustStcTableDelegate::ConstSPtr |
Const shared pointer type for ClustStcTableDelegate class.
Definition at line 75 of file cluststctabledelegate.h.
typedef QSharedPointer<ClustStcTableDelegate> DISP3DLIB::ClustStcTableDelegate::SPtr |
Shared pointer type for ClustStcTableDelegate class.
Definition at line 74 of file cluststctabledelegate.h.
|
virtual |
Use the painter and style option to render the item specified by the item index.
(sizeHint() must be implemented also)
[in] | painter | Low-level painting on widgets and other paint devices |
[in] | option | Describes the parameters used to draw an item in a view widget |
[in] | index | Used to locate data in a data model. |
Definition at line 76 of file cluststctabledelegate.cpp.
|
virtual |
Item size
[in] | option | Describes the parameters used to draw an item in a view widget |
[in] | index | Used to locate data in a data model. |
Definition at line 148 of file cluststctabledelegate.cpp.