| 117 | } |
| 118 | |
| 119 | void DataListBaseControl::setDataInfo( |
| 120 | std::string_view _parentType, |
| 121 | std::string_view _currentType, |
| 122 | std::string_view _propertyName, |
| 123 | std::string_view _propertyUnique) |
| 124 | { |
| 125 | mParentType = _parentType; |
| 126 | mCurrentType = _currentType; |
| 127 | mPropertyForName = _propertyName; |
| 128 | mPropertyForUnique = _propertyUnique; |
| 129 | |
| 130 | if (mListBoxControl != nullptr) |
| 131 | { |
| 132 | mListBoxControl->setDataInfo(mParentType, mCurrentType, mPropertyForName); |
| 133 | if (!mPropertyForUnique.empty()) |
| 134 | mListBoxControl->addPropertyNameEnabled(mPropertyForUnique); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | void DataListBaseControl::notifyChangePosition(DataPtr _data1, DataPtr _data2) |
| 139 | { |
nothing calls this directly
no test coverage detected