MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / setValue

Method setValue

Utils/CommonUtil.py:119–127  ·  view source on GitHub ↗

更新配置中的值 :param cls: :param key: 键名 :param value: 键值

(cls, key, value)

Source from the content-addressed store, hash-verified

117
118 @classmethod
119 def setValue(cls, key, value):
120 """更新配置中的值
121 :param cls:
122 :param key: 键名
123 :param value: 键值
124 """
125 cls.init()
126 cls._Setting.setValue(key, value)
127 cls._Setting.sync()
128
129
130class _Signals(QObject):

Callers 4

loadUserThemeMethod · 0.45
TestWaterWidget.pyFile · 0.45
TestSetting.pyFile · 0.45
__init__Method · 0.45

Calls 1

initMethod · 0.45

Tested by 1

__init__Method · 0.36