|
|
|
@ -828,11 +828,16 @@ void UBGraphicsScene::drawPenCircle(const QPointF &pPoint) |
|
|
|
|
mPenCircle->setRect(QRectF(pPoint.x() - penRadius, pPoint.y() - penRadius, |
|
|
|
|
penDiameter, penDiameter)); |
|
|
|
|
|
|
|
|
|
if (controlView()) |
|
|
|
|
if (controlView()->viewport()) |
|
|
|
|
controlView()->viewport()->setCursor(QCursor (Qt::BlankCursor)); |
|
|
|
|
|
|
|
|
|
mPenCircle->show(); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
if (controlView()) |
|
|
|
|
if (controlView()->viewport()) |
|
|
|
|
controlView()->viewport()->setCursor(UBResources::resources()->penCursor); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|