#include <attributedelegates.h>
Per-row column picker — an editable QComboBox whose items are supplied by the model through a custom role (the row's data-file header names; see kFileColumnOptionsRole in swmmattributetablemodel.h). Editable so a column can still be named when the file is currently unreadable. First user: rain gage Rain File Column.
◆ FileColumnDelegate()
| openswmmvis::FileColumnDelegate::FileColumnDelegate |
( |
QObject * |
parent, |
|
|
int |
optionsRole |
|
) |
| |
◆ createEditor()
| QWidget * openswmmvis::FileColumnDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
opt, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
| void openswmmvis::FileColumnDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
| void openswmmvis::FileColumnDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
The documentation for this class was generated from the following files: