BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Constructs row of QStandardItem's for given SessionItem. More...
Public Member Functions | |
std::vector< std::unique_ptr< ViewItem > > | constructRow (SessionItem *) override |
QStringList | horizontalHeaderLabels () const override |
Example: For LayerItem two items will be generated: ViewLabelItem and ViewEmptyItem, both uneditable. More... | |
Constructs row of QStandardItem's for given SessionItem.
Row consists of two columns, ViewLabelItem for SessionItem's display role and ViewDataItem for Session's item data role.
Definition at line 30 of file labeldatarowstrategy.h.
|
overridevirtual |
Implements ModelView::RowStrategyInterface.
Definition at line 31 of file labeldatarowstrategy.cpp.
Referenced by TEST_F().
|
overridevirtual |
Example: For LayerItem two items will be generated: ViewLabelItem and ViewEmptyItem, both uneditable.
For LayerItem's thickness property, two items will be generated: ViewLabelItem and ViewDataItem.
Implements ModelView::RowStrategyInterface.
Definition at line 25 of file labeldatarowstrategy.cpp.
Referenced by TEST_F().