Installation |
clients/inst_proposal.ycp |
Create and display proposal | |
|
Create and display reasonable proposal for basic
installation and call sub-workflows as required
on user request.
See also file proposal-API.txt for details.
Imports
Includes
Local Functions
|
Display preformatted proposal in the RichText widget
- Parameters:
-
proposal human readable proposal preformatted in HTML
Call a submodule's MakeProposal() function.
- Parameters:
-
submodule name of the submodule's proposal dispatcher force_reset discard any existing (cached) proposal language_changed installation language changed since last call
- Return value:
-
proposal_map see proposal-API.txt
Call a submodule's AskUser() function.
- Parameters:
-
submodule name of the submodule's proposal dispatcher additional_info
- Return value:
-
workflow_sequence see proposal-API.txt
Call a submodule's Description() function.
- Parameters:
-
submodule name of the submodule's proposal dispatcher or nil if no such module
- Return value:
-
description_map see proposal-API.txt
Call each submodule's MakeProposal() function in turn and display the proposals in the RichText widget.
- Parameters:
-
force_reset discard any existing (cached) proposal language_changed installation language changed since last call
Format a submodule's proposal in HTML
- Parameters:
-
prop proposal map - see proposal-API.txt
- Return value:
-
HTML string
Call a submodule's Write() function.
- Parameters:
-
submodule name of the submodule's proposal dispatcher
- Return value:
-
success true if Write() was successful of if there is no Write() function
Call each submodule's "Write()" function to let it write its settings, i.e. the settings effective.
Force a RichText widget to use the busy cursor
- Parameters:
-
widget_id ID of the widget, e.g. `id(`proposal)
Switch a RichText widget back to use the normal cursor
- Parameters:
-
widget_id ID of the widget, e.g. `id(`proposal)
Retranslate the proposal (wizard) dialog after the language is changed.
Load a list of submodules. Try loading it from a file named 'file_name' from one of several predefined directories. If there is no such list, use 'fallback_list'.
- Parameters:
-
fallback_list fallback list of submodule names (strings) file_name YCP file name to load from
- Return value:
-
submodules_list list of submodule names (strings)
Load a list of submodules matching the current internal states
- Return value:
-
submodules_list list of submodule names (strings)
Find out if the target machine has a network card.
- Return value:
-
true if a network card is found, false otherwise
Create the proposal dialog (the inner part, excluding the wizard frame)
Query all submodules about their descriptions, build a "Change" menu from that, and cache the descriptions for further usage: They will become hyperlinks in the RichText widget, too. Return false if no submodule exists.
Set an appropriate wizard icon for the current proposal mode.
Help text for proposal dialog.
- Return value:
-
help text
Deliberately omitting "boot installed system" here to avoid confusion: The user will be prompted for that if Linux partitions are found.
Deliberately omitting "boot installed system" here to avoid confusion: The user will be prompted for that if Linux partitions are found.