15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_EDITORBUILDERS_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_EDITORBUILDERS_H
18 #include "mvvm/viewmodel_export.h"
30 namespace EditorBuilders {
32 using editor_t = std::unique_ptr<CustomEditor>;
Base class for all custom variants editors.
The main object representing an editable/displayable/serializable entity.
MVVM_VIEWMODEL_EXPORT builder_t ColorEditorBuilder()
Builder for color property editor.
MVVM_VIEWMODEL_EXPORT builder_t BoolEditorBuilder()
Builder for boolean property editor.
MVVM_VIEWMODEL_EXPORT builder_t SelectableComboPropertyEditorBuilder()
Builder for ComboProperty editor with multi-selection functionality.
MVVM_VIEWMODEL_EXPORT builder_t ScientificDoubleEditorBuilder()
Builder for double editor with scientific notation based on simple text field.
MVVM_VIEWMODEL_EXPORT builder_t ComboPropertyEditorBuilder()
Builder for ComboProperty editor.
std::function< editor_t(const SessionItem *)> builder_t
MVVM_VIEWMODEL_EXPORT builder_t ScientificSpinBoxEditorBuilder()
Builder for double editor with scientific notation and spinbox functionality.
std::unique_ptr< CustomEditor > editor_t
MVVM_VIEWMODEL_EXPORT builder_t ExternalPropertyEditorBuilder()
Builder for external property editor.
MVVM_VIEWMODEL_EXPORT builder_t IntegerEditorBuilder()
Builder for integer property editor.
MVVM_VIEWMODEL_EXPORT builder_t DoubleEditorBuilder()
Builder for double editor with limits support.
materialitems.h Collection of materials to populate MaterialModel.