BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines constants to be used as SessionItem data role. More...
Variables | |
const int | APPEARANCE = 3 |
appearance flag More... | |
const int | DATA = 1 |
main data role More... | |
const int | DISPLAY = 2 |
display name More... | |
const int | EDITORTYPE = 6 |
type of custom editor for the data role More... | |
const int | IDENTIFIER = 0 |
unique identifier More... | |
const int | LIMITS = 4 |
possibly limits on item's data More... | |
const int | TOOLTIP = 5 |
tooltip for item's data More... | |
Defines constants to be used as SessionItem data role.
const int ModelView::ItemDataRole::APPEARANCE = 3 |
appearance flag
Definition at line 32 of file mvvm_types.h.
Referenced by ModelView::Utils::ItemRoleToQtRole(), ModelView::SessionItem::setAppearanceFlag(), and TEST_F().
const int ModelView::ItemDataRole::DATA = 1 |
main data role
Definition at line 30 of file mvvm_types.h.
Referenced by ModelView::JsonItemDataConverter::createProjectConverter(), ModelView::GroupItem::init_group(), ModelView::Utils::ItemRoleToQtRole(), ModelView::GroupItem::setCurrentIndex(), TEST(), TEST_F(), and ModelView::VectorItem::update_label().
const int ModelView::ItemDataRole::DISPLAY = 2 |
display name
Definition at line 31 of file mvvm_types.h.
Referenced by ModelView::SessionItem::SessionItem(), ModelView::SessionItem::displayName(), ModelView::Utils::ItemRoleToQtRole(), ModelView::SessionItem::setDisplayName(), and TEST_F().
const int ModelView::ItemDataRole::EDITORTYPE = 6 |
type of custom editor for the data role
Definition at line 35 of file mvvm_types.h.
Referenced by ModelView::SessionItem::editorType(), ModelView::SessionItem::setEditorType(), and TEST_F().
const int ModelView::ItemDataRole::IDENTIFIER = 0 |
unique identifier
Definition at line 29 of file mvvm_types.h.
Referenced by ModelView::SessionItem::SessionItem(), ModelView::JsonItemDataConverter::createProjectConverter(), ModelView::InsertNewItemCommand::execute_command(), ModelView::SessionItem::identifier(), ModelView::JsonItemConverter::JsonItemConverterImpl::populate_item(), and TEST_F().
const int ModelView::ItemDataRole::LIMITS = 4 |
possibly limits on item's data
Definition at line 33 of file mvvm_types.h.
Referenced by ModelView::CompoundItem::addProperty(), ModelView ::EditorBuilders::DoubleEditorBuilder(), ModelView ::EditorBuilders::IntegerEditorBuilder(), ModelView ::EditorBuilders::ScientificDoubleEditorBuilder(), ModelView ::EditorBuilders::ScientificSpinBoxEditorBuilder(), ModelView::PropertyItem::setLimits(), and TEST_F().
const int ModelView::ItemDataRole::TOOLTIP = 5 |
tooltip for item's data
Definition at line 34 of file mvvm_types.h.
Referenced by ModelView::Utils::ItemRoleToQtRole(), ModelView::SessionItem::setToolTip(), TEST_F(), ModelView::SessionItem::toolTip(), and ModelView::Utils::ToolTipRole().