父子转换QGraphicsItem转子类
QGraphicsItem *temp= scene()->itemAt(point, transform());
QLadderDiagramItem* node_temp = dynamic_cast<QLadderDiagramItem *>(temp);
QGraphicsItem *temp= scene()->itemAt(point, transform());
QLadderDiagramItem* node_temp = dynamic_cast<QLadderDiagramItem *>(temp);