SettingStateBinding automatically impacts the representation of an item based on the state of a setting.
- 1.3 It will disable the item if the setting is immutable and use a visual indicator for the state of the setting.
This is a higher level convenience wrapper for KCM.SettingStateProxy and KCM.SettingStateIndicator.
Definition at line 24 of file SettingStateBinding.qml.
configObject: KCoreConfigSkeleton The config object which will be monitored for setting state changes
Definition at line 36 of file SettingStateBinding.qml.
extraEnabledConditions: bool SettingStateBinding will manage the enabled property of the target based on the immutability state of the setting it represents.
But, sometimes that enabled state needs to bind to other properties as well to be computed properly. This extra condition will thus be combined with the immutability state of the setting to determine the effective enabled state of the target.
Definition at line 51 of file SettingStateBinding.qml.
nonDefaultHighlightVisible: bool Expose whether the non default highlight is visible.
Allow one to implement highlight with custom items.
- This property is read-only
Definition at line 62 of file SettingStateBinding.qml.
settingName: string The name of the setting in the config object to be monitored
Definition at line 41 of file SettingStateBinding.qml.
target: Item The graphical element whose state we want to manage based on a setting If target is not set, it will try to find the visual parent item
Definition at line 31 of file SettingStateBinding.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:01:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.