15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_PROPERTYEDITOR_COMPONENTFLATVIEW_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_PROPERTYEDITOR_COMPONENTFLATVIEW_H
47 void onDataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight,
48 const QVector<int>& roles);
Defines class ComponentView.
Component property widget for SessionItems.
QVector< PropertyWidgetItem * > m_widgetItems
void setModel(SessionModel *model)
void updateItemProperties()
QVector< const SessionItem * > m_topItems
PropertyWidgetItem * createWidget(const SessionItem *item)
void addItem(SessionItem *item)
void onDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles)
void setItem(SessionItem *item)
ComponentFlatView(QWidget *parent=nullptr)
QBoxLayout * m_mainLayout
void setShowChildren(bool show)
void updateItemRoles(SessionItem *item)
QGridLayout * m_gridLayout
Base class for ComponentTreeView and ComponentFlatView.