[netinstall] Add immutable to groups settings

main
Adriaan de Groot 5 years ago
parent 4cb2ed9552
commit c7b646315a

@ -52,6 +52,7 @@ PackageTreeItem::PackageTreeItem( const QVariantMap& groupData, PackageTreeItem*
, m_postScript( CalamaresUtils::getString( groupData, "post-install" ) )
, m_isCritical( CalamaresUtils::getBool( groupData, "critical", false ) )
, m_isHidden( CalamaresUtils::getBool( groupData, "hidden", false ) )
, m_showReadOnly( CalamaresUtils::getBool( groupData, "immutable", false ) )
, m_startExpanded( CalamaresUtils::getBool( groupData, "expanded", false ) )
{
}

@ -117,6 +117,7 @@ private:
QString m_postScript;
bool m_isCritical = false;
bool m_isHidden = false;
bool m_showReadOnly = false;
bool m_startExpanded = false;
};

@ -48,8 +48,12 @@ More keys (per group) are supported:
- *critical*: if true, make the installation process fail if installing
any of the packages in the group fails. Otherwise, just log a warning.
Defaults to false.
- *immutable*: if true, the state of the group (and all its subgroups)
cannot be changed; it really only makes sense in combination
with *selected* set to true. This only affects the user-interface.
- *expanded*: if true, the group is shown in an expanded form (that is,
not-collapsed) in the treeview on start.
not-collapsed) in the treeview on start. This only affects the user-
interface.
- *subgroups*: if present this follows the same structure as the top level
of the YAML file, allowing there to be sub-groups of packages to an
arbitary depth

Loading…
Cancel
Save