A custom delegate for inserting a DtLineEdit editor in a Qt item view (e.g.
More...
|
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| | Create the editor for this delegate. More...
|
| |
A custom delegate for inserting a DtLineEdit editor in a Qt item view (e.g.
a QTableView or QTreeView) for editing items of the view.
- Note
- Do not share instances of delegates between widgets.
| makVrv::DtLineEditDelegate::DtLineEditDelegate |
( |
QObject * |
parent = 0 | ) |
|
Default CTOR Construct a line edit delegate to display a DtLineEdit widget.
- Parameters
-
| [in] | parent | is a parent object for this object. |
| virtual makVrv::DtLineEditDelegate::~DtLineEditDelegate |
( |
| ) |
|
|
virtual |
| virtual QWidget* makVrv::DtLineEditDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
protectedvirtual |
Create the editor for this delegate.
Reimplemented from QStyledItemDelegate::createEditor().
- Parameters
-
| [in] | parent | is the parent widget for this delegate. |
| [in] | option | is the display options (not used). |
| [in] | index | is the model index to the view (not used). |
- Returns
- The editor for editing the data (a DtLineEdit).
- Note
- Automatically called. Do not directly call this function.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vrvCoreQt/DtLineEdit.h