25 #include <QVBoxLayout>
34 auto layout =
new QVBoxLayout;
35 layout->setContentsMargins(0, 0, 0, 0);
Model delegate to provide editing/painting for custom variants.
Main class to holds all models of GUI session.
MaterialModel * materialModel()
Custom selection model for material view model (AbstractViewModel).
Extension of QTreeView for material editing.
void setModel(QAbstractItemModel *model) override
MVVM_VIEWMODEL_EXPORT std::unique_ptr< ViewModel > CreatePropertyTableViewModel(SessionModel *model)
Creates view model to represent SessionModel for Qt views.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.