mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
[netinstall] Add immutable to groups settings
This commit is contained in:
parent
4cb2ed9552
commit
c7b646315a
3 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue