Crosshair cursor in CropView

This commit is contained in:
ArsenArsen 2017-05-01 19:58:19 +02:00
parent ef08209c17
commit 2f247db776

View File

@ -7,6 +7,7 @@ CropView::CropView(QGraphicsScene *scene) : QGraphicsView(scene)
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint);
setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform | QPainter::HighQualityAntialiasing);
setCursor(QCursor(Qt::CrossCursor));
}
void CropView::keyPressEvent(QKeyEvent *e)