void TeslaManage::OnlineTreeViewDoubleClick(const QModelIndex & index) { int row = index.row(); qDebug() << "row:" << row; QString objName = index.model()->index(0, 0).child(row, 0).data().toString(); if (root != NULL) { osg::Node* findNode = findOsgNodeByName(objName); if (findNode != NULL) { cPickHandler->setNodeTexture(findNode); } } }