(self, data: dict, clear: bool = False)
| 109 | # clear binds |
| 110 | |
| 111 | def loadData(self, data: dict, clear: bool = False): |
| 112 | self.__log("[loadData]: load data") |
| 113 | if clear: |
| 114 | self.clear() |
| 115 | data = DictBox(data, default_box=True, box_dots=True) |
| 116 | for key, value in data.items(True): |
| 117 | self.setProperty(str(key), value) |
| 118 | |
| 119 | def toDict(self, raw=True) -> dict: |
| 120 | data = DictBox(default_box=True, box_dots=True) |