| 225 | } |
| 226 | |
| 227 | void ListBoxDataControl::setDataInfo( |
| 228 | std::string_view _parentType, |
| 229 | std::string_view _thisType, |
| 230 | std::string_view _propertyName) |
| 231 | { |
| 232 | mPropertyForName = _propertyName; |
| 233 | mThisType = _thisType; |
| 234 | |
| 235 | DataSelectorManager::getInstance() |
| 236 | .getEvent(_parentType) |
| 237 | ->connect(this, &ListBoxDataControl::notifyChangeDataSelector); |
| 238 | mParentData = DataUtility::getSelectedDataByType(_parentType); |
| 239 | notifyChangeDataSelector(mParentData, false); |
| 240 | } |
| 241 | |
| 242 | void ListBoxDataControl::connectToProperty(DataPtr _data) |
| 243 | { |
no test coverage detected