LINK_INFOWINDOW是自定义的枚举
item->setData(LINK_INFOWINDOW, Qt::UserRole, QVariant::fromValue(pInfoWindow)); CCom* pMsMng = item->data(LINK_INFOWINDOW, Qt::UserRole).value<CCom*>();