Configuration of sysconfig |
include/sysconfig/complex.ycp |
Dialogs definitions | |
|
|
This module has an unstable interface. |
Imports
Includes
Local VariablesLocal Functions
|
current selected variable in the tree widget
Return a modification status
- Return value:
-
true if data was modified
Read settings dialog
- Return value:
-
`abort if aborted and `next otherwise
Write settings dialog
- Return value:
-
`abort if aborted and `next otherwise
Get string representation of type definition. Used at richtext description.
- Parameters:
-
description Variable description richtext result is rich/plain text
- Return value:
-
Textual description of the type
Create rich text description string from description values
- Parameters:
-
description Description richtext if true result is rich text, if false result is plain text
- Return value:
-
Rich text string
Get combo box editable status - depends on Type value
- Parameters:
-
description Description of variable
- Return value:
-
True if combo box should be editable
Generic list function - add value to the list if it isn't already there
- Parameters:
-
l Input list v Input value
- Return value:
-
List with value v
Escape double quotes and back slash characters by back slash
- Parameters:
-
input String to escape
- Return value:
-
Escaped string
Remove backslashes from string - opposite funtion to the backslash_add function.
- Parameters:
-
input Escaped string
- Return value:
-
String without escape chars
Create list of values for combo box widget
- Parameters:
-
description Variable description set_default If true add default value to the list
- Return value:
-
List of values for combo box widget
Update combo box in dialog
- Parameters:
-
description Variable description set_default Set to true ifdefault value should be in the combo box
Update "Default" button state (enable/disable) in the dialog
- Parameters:
-
description Variable description
Update location text in the dialog
- Parameters:
-
description Variable description
Is selected item in the tree widget leaf node?
- Parameters:
-
id Value from tree widget
- Return value:
-
True if node is not leaf-node
Set new value for variable, warn user if new value does not match type definition.
- Parameters:
-
force_change force value as changed even if it is equal to the old one
Create table content list for selected variables
- Parameters:
-
varids Variables which will be contained in the table
- Return value:
-
Table content
Display main configuration dialog
- Return value:
-
dialog result