21 : m_groupItem(groupItem), m_groupInfo(groupInfo)
47 item->setVisible(
true);
48 item->setEnabled(
true);
53 prevItem->setVisible(
false);
54 prevItem->setEnabled(
false);
Defines class ComboProperty.
Defines class GroupItemController.
Defines class ItemFactory.
Defines class SessionItem.
Custom property to define list of string values with multiple selections.
QVariant variant() const
Constructs variant enclosing given ComboProperty.
void setCurrentIndex(int index)
void setValues(const QStringList &values)
Sets new list of values. Current value will be preserved, if exists in a new list.
Defines info for GroupProperty, i.e.
QStringList itemLabels() const
QString defaultType() const
QStringList itemTypes() const
int toIndex(const QString &type) const
void setCurrentType(const QString &type)
QString currentType() const
void setCurrentIndex(int index)
QVariant createCombo() const
SessionItem * getItemOfType(const QString &type)
Returns item of give type.
SessionItem * m_groupItem
SessionItem * currentItem()
SessionItem * createCorrespondingItem()
SessionItem * addItem(const QString &item_type)
QStringList itemTypes() const
QStringList itemLabels() const
QString toString(int currentIndex) const
GroupItemController(SessionItem *groupItem, GroupInfo groupInfo)
bool insertItem(int row, SessionItem *item, const QString &tag="")
Insert item into given tag into given row.
void setVisible(bool enabled)
Flags accessors.
void setEnabled(bool enabled)
SessionItem * getChildOfType(const QString &type) const
Returns the first child of the given type.
SessionItem * CreateItem(const QString &model_name, SessionItem *parent=nullptr)
create SessionItem of specific type and parent