|
|
|
@ -322,6 +322,12 @@ void UBGraphicsTextItemDelegate::positionHandles() |
|
|
|
|
|
|
|
|
|
void UBGraphicsTextItemDelegate::ChangeTextSize(qreal factor, textChangeMode changeMode) |
|
|
|
|
{ |
|
|
|
|
if (scaleSize == changeMode) |
|
|
|
|
{ |
|
|
|
|
if (1 == factor) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
if (0 == factor) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
@ -419,4 +425,4 @@ QVariant UBGraphicsTextItemDelegate::itemChange(QGraphicsItem::GraphicsItemChang |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return UBGraphicsItemDelegate::itemChange(change, value); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|