Adriaan de Groot
56db9e9341
[packagechooser] Use translated strings
2019-08-06 00:17:50 +02:00
Adriaan de Groot
b16354133d
[packagechooser] Switch to a list form
...
- Using id's as keys in a map orders them indeterminately -- in
practice, alphabetically by key. Switch to a list form so that
the products stick to the order they have in the config file
(which means distro's can list "preferred" versions at top).
2019-08-04 20:19:56 +02:00
Adriaan de Groot
9a52430e74
[packagechooser] Too many 'o's in test name
2019-08-04 20:04:32 +02:00
Adriaan de Groot
791f9cbccb
[packagechooser] Read packages model from config
...
- add key *items* which will be used to fill up the model for
software products.
TODO: needs translation support
2019-08-04 16:00:55 +02:00
Adriaan de Groot
adb939b2e8
[packagechooser] Word-wrap package descriptions
2019-08-04 00:11:50 +02:00
Adriaan de Groot
d5275d5e10
[packagechooser] Allow the model to set the introductory text
2019-08-04 00:08:41 +02:00
Adriaan de Groot
047a300a51
[packagechooser] Remove unneeded debug
2019-08-03 23:55:29 +02:00
Adriaan de Groot
140c0db7a4
[packagechooser] Set GlobalStorage packagechooser_<id>
2019-08-03 23:51:00 +02:00
Adriaan de Groot
c59ffc7765
[packagechooser] Set default ID as documented
2019-08-03 23:33:34 +02:00
Adriaan de Groot
b711c791bd
[packagechooser] Fix build, tidy code
2019-08-03 23:28:55 +02:00
Adriaan de Groot
87d7b2a5c0
[packagechooser] Allow setting an ID for the module's GS key
2019-08-03 23:24:30 +02:00
Adriaan de Groot
76077743af
[packagechooser] Add configuration setting for selection mode
...
- Add a *mode* key to the configuration file
- Change some names around to be more consistent (not user-visible)
2019-08-03 15:45:00 +02:00
Adriaan de Groot
fb3204262c
[packagechooser] Remove unneeded forward declaration
2019-08-02 23:24:35 +02:00
Adriaan de Groot
9d026862a8
[packagechooser] Provide names for selection mode
2019-08-02 23:20:45 +02:00
Adriaan de Groot
ab7374628b
[packagechooser] Use sample screenshots
2019-08-02 17:17:53 +02:00
Adriaan de Groot
86d8db6bbf
[packagechooser] Enforce selection mode on the next-button
2019-08-02 17:13:35 +02:00
Adriaan de Groot
7609546d8b
[packagechooser] Add screenshots for example
2019-08-02 17:02:02 +02:00
Adriaan de Groot
2272d2ab43
[packagechooser] Add selection modes
...
- Introduce different selection modes (most don't work yet)
- Use model data in the main widget
2019-08-02 16:43:10 +02:00
Adriaan de Groot
86e2e6242f
[packagechooser] Warn about weird calling orders
2019-08-02 16:26:10 +02:00
Adriaan de Groot
a32dcdad86
[packagechooser] Support multiple selection modes
2019-08-02 16:25:26 +02:00
Adriaan de Groot
dc5cdbb38c
[packagechooser] Update other parts of the window on selection
2019-08-02 16:07:47 +02:00
Adriaan de Groot
f8d159dfa4
[packagechooser] Massage layout a bit
2019-08-02 15:32:14 +02:00
Adriaan de Groot
d1a85ba5ca
[packagechooser] Add a model for the list to use
...
- Model contents currently hard-coded
2019-08-02 13:05:46 +02:00
Adriaan de Groot
727290f75e
[packagechooser] Handle translation events (stub)
2019-08-02 11:09:12 +02:00
Adriaan de Groot
735d5d2683
[packagechooser] Add stub of module
...
Package chooser is a **low density** package selector -- unlike
netinstall which offers a high density tree view -- for picking
zero, one, or more items from a small collection of packages.
This can be used, e.g., for "pick exactly one desktop environment",
"pick zero or more text editors" which can then be installed
by another module. The UI is big and shiny (rather than netinstall's
text-based tree view) and isn't suitable for more than a dozen or
so items.
2019-08-02 10:57:12 +02:00