BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Collection of methods to build custom editors for trees/tables cells. More...
Typedefs | |
using | builder_t = std::function< editor_t(const SessionItem *)> |
using | editor_t = std::unique_ptr< CustomEditor > |
Functions | |
MVVM_VIEWMODEL_EXPORT builder_t | BoolEditorBuilder () |
Builder for boolean property editor. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | ColorEditorBuilder () |
Builder for color property editor. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | ComboPropertyEditorBuilder () |
Builder for ComboProperty editor. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | DoubleEditorBuilder () |
Builder for double editor with limits support. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | ExternalPropertyEditorBuilder () |
Builder for external property editor. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | IntegerEditorBuilder () |
Builder for integer property editor. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | ScientificDoubleEditorBuilder () |
Builder for double editor with scientific notation based on simple text field. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | ScientificSpinBoxEditorBuilder () |
Builder for double editor with scientific notation and spinbox functionality. More... | |
MVVM_VIEWMODEL_EXPORT builder_t | SelectableComboPropertyEditorBuilder () |
Builder for ComboProperty editor with multi-selection functionality. More... | |
Collection of methods to build custom editors for trees/tables cells.
Used to edit SessionItem data in the context of DefaultEditorFactory.
using ModelView::EditorBuilders::builder_t = typedef std::function<editor_t(const SessionItem*)> |
Definition at line 33 of file editorbuilders.h.
using ModelView::EditorBuilders::editor_t = typedef std::unique_ptr<CustomEditor> |
Definition at line 32 of file editorbuilders.h.
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::BoolEditorBuilder | ( | ) |
Builder for boolean property editor.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::ColorEditorBuilder | ( | ) |
Builder for color property editor.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::ComboPropertyEditorBuilder | ( | ) |
Builder for ComboProperty editor.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::DoubleEditorBuilder | ( | ) |
Builder for double editor with limits support.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::ExternalPropertyEditorBuilder | ( | ) |
Builder for external property editor.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::IntegerEditorBuilder | ( | ) |
Builder for integer property editor.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::ScientificDoubleEditorBuilder | ( | ) |
Builder for double editor with scientific notation based on simple text field.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::ScientificSpinBoxEditorBuilder | ( | ) |
Builder for double editor with scientific notation and spinbox functionality.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory(), and ModelView::VariantDependentEditorFactory::VariantDependentEditorFactory().
MVVM_VIEWMODEL_EXPORT builder_t ModelView::EditorBuilders::SelectableComboPropertyEditorBuilder | ( | ) |
Builder for ComboProperty editor with multi-selection functionality.
Referenced by ModelView::RoleDependentEditorFactory::RoleDependentEditorFactory().