19 Commits (4cb2ed955276e8b73dae21feb5050f95ec3b4eb0)

Author SHA1 Message Date
Adriaan de Groot 4cb2ed9552 [netinstall] Chase removal of ItemData
- Simplify creation of PackageTreeItems by interpreting the
  YAML directly (instead of via ItemData),
- Simplify list types,
- Drop superfluous API.
6 years ago
Adriaan de Groot c66ef5a201 [netinstall] Refactor: kill ItemData
- This doesn't compile right now.
- The nested class ItemData doesn't do anything useful or
  meaningful that having model items with the right data wouldn't.
6 years ago
Adriaan de Groot 0f7f5216ee [netinstall] isHidden is const after construction 6 years ago
Adriaan de Groot b074696ac1 [netinstall] isCritical is const after construction 6 years ago
Adriaan de Groot 3d68c74a19 [netinstall] Sanitize PackageTreeItem::data()
- Use of != nullptr for QString just a bad idea
- Massage code so structure for packages resembles that of groups
6 years ago
Adriaan de Groot 5b67ca315a [netinstall] It should be easier to get the number 2 6 years ago
Adriaan de Groot 0877a994f1 [netinstall] Update copyright 6 years ago
Adriaan de Groot 056b0d7548 [netinstall] Refactor variant-from-ItemData 6 years ago
Adriaan de Groot 17eb3f5e33 [netinstall] Apply coding style 6 years ago
Andrius Štikonas 490c14d93d QLatin1Literal->QLatin1String. 6 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
Adriaan de Groot 93ab6432c4 [netinstall] Special-case the root node.
Root is always selected, can't be unselected, and has its own explicit
constructor and name. This resolves issue reported where unchecking
all *visible* groups caused the root to be unchecked, after which
hidden-but-still-selected subgroups were not installed.

Reported by crazy@
8 years ago
Adriaan de Groot aa0fa37492 [netinstall] Hidden groups follow selectedness of parents.
If a subgroup is hidden, then it should be considered
selected if its parent is selected or partially-selected.
If the parent group is totally unselected, then the hidden
subgroup shouldn't be installed either. This allows putting
required-packages into a group, without cluttering the
interface.

FIXES #864
8 years ago
Adriaan de Groot 71e80f680e [netinstall] Only update selectedness of parents with children.
While walking up the tree, only switch the selectedness states
of parents with children. This avoids the case where a parent
has a first subgroup that is hidden -- in which case the
parent ends up with no children, and is unselected even though
it is marked as selected in the config file.

FIXES #864
8 years ago
Adriaan de Groot 13807ceabf Licensing: add self
- to all the files I've touched recently
 - to (very incomplete) AUTHORS list

Licensing: add license info to top-level CMakeLists.txt
8 years ago
Adriaan de Groot edb1dbaa6e Clang: warnings-- 8 years ago
Kyle Robertze 1d7ad9e045 made requested changes 9 years ago
Kyle Robertze f5fe887a79 fixed style issues 9 years ago
Kyle Robertze a4aef3bce5 moved netinstall to a tree based ui 9 years ago