Configuration of profile-manager |
include/profile-manager/dialogs.ycp |
Dialogs definitions |
|
|
Imports
- Label
- Popup
- ProfileManager
- Report
- Runlevel
- Wizard
Includes
- profile-manager/helps.ycp
Local Functions
|
|
|
local ProgressPopup (string position, integer start, integer end) -> boolean
|
|
Popup for showing progress informations
- Parameters:
position |
of this progress:
(if "first", popup is not closed, for "last" popup is not created) |
start |
start of progress (mainly 0) |
end |
end of progress (mainly 100) |
- Return value:
local ProfileSettingsDialog () -> any
|
|
Profile settings dialog
- Return value:
|
Returned value from UserInput() call |
local ShowChangesPopup () -> boolean
|
|
Popup which shows changes of selected resource
- Return value:
local SwitchDialog () -> any
|
|
Switch dialog
- Return value:
|
Returned value from UserInput() call |
local DetailsSwitchDialog () -> symbol
|
|
Dialog with switch details of one resource group
- Return value:
|
Returned value from UserInput() call |
local resources_items () -> list
|
|
helper function for building table items with modified resources
local AddProfilePopup () -> boolean
|
|
Popup for adding new profile
- Return value:
|
true if user confirms action |
local IntroductionTextPopup () -> boolean
|
|
Shows the text of scpm introduciton
- Return value:
local IntroductionPopup () -> boolean
|
|
Introduction popup
- Return value:
local GetService () -> string
|
|
popup for entering new service for resource group
- Return value:
|
service name; empty string on cancel |
local GetFile () -> string
|
|
popup for entering new file for resource group
- Return value:
|
file name; empty string on cancel |
local ResourceGroupPopup (map group) -> map
|
|
Popup for editing or adding resource group settings
- Parameters:
group |
map with info of the group |
- Return value:
local has_resource (string name, string type) -> boolean
|
|
Scan table items for presence of given resource
- Parameters:
local resource_group_items () -> list<term>
|
|
helper function for building table items of one resource group
local ConfigureResourcesDialog () -> symbol
|
|
Resource configuration dialog
- Return value:
|
Returned value from UserInput() call |
local resource_groups_items () -> list
|
|
helper function for building table items with resource groups
|