#include <reactionexpressionedit.h>
|
| static constexpr int | ScopeRole = 0x0100 + 77 |
| | Model data role carrying the cell's SWMM_RXN_SCOPE_* (int).
|
| |
Cell delegate hosting ReactionExpressionEdit; forwards live validation so the hosting page's banner can mirror it. The scope for each cell comes from the model's ScopeRole (falls back to the constructor's).
◆ ReactionExpressionDelegate()
| openswmmvis::ui::ReactionExpressionDelegate::ReactionExpressionDelegate |
( |
void * |
engineHandle, |
|
|
int |
defaultScope, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ createEditor()
| QWidget * openswmmvis::ui::ReactionExpressionDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
| void openswmmvis::ui::ReactionExpressionDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
| void openswmmvis::ui::ReactionExpressionDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ validationChanged
| void openswmmvis::ui::ReactionExpressionDelegate::validationChanged |
( |
bool |
ok, |
|
|
const QString & |
msg, |
|
|
int |
col |
|
) |
| const |
|
signal |
◆ ScopeRole
| constexpr int openswmmvis::ui::ReactionExpressionDelegate::ScopeRole = 0x0100 + 77 |
|
staticconstexpr |
Model data role carrying the cell's SWMM_RXN_SCOPE_* (int).
The documentation for this class was generated from the following files: