0
마우스 포인터를 이동하려면 레이블 위로 마우스를 움직일 때 레이블에 마우스를 가져 가야합니다. 당신은 MainWindow를 생성자 만이 코드가 필요레이블에 이벤트를 가져 오는 방법
void MainWindow::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
if(event->GraphicsSceneHoverEnter){
QCursor car;
car.setShape(Qt::PointingHandCursor);
ui->label_no->setCursor(car);
}
}