|
|
@ -853,7 +853,7 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene() |
|
|
|
UBGraphicsAppleWidgetItem* appleWidgetItem = graphicsAppleWidgetFromSvg(); |
|
|
|
UBGraphicsAppleWidgetItem* appleWidgetItem = graphicsAppleWidgetFromSvg(); |
|
|
|
if (appleWidgetItem) |
|
|
|
if (appleWidgetItem) |
|
|
|
{ |
|
|
|
{ |
|
|
|
appleWidgetItem->setFlag(QGraphicsItem::ItemIsMovable, true); |
|
|
|
// appleWidgetItem->setFlag(QGraphicsItem::ItemIsMovable, true);
|
|
|
|
appleWidgetItem->setFlag(QGraphicsItem::ItemIsSelectable, true); |
|
|
|
appleWidgetItem->setFlag(QGraphicsItem::ItemIsSelectable, true); |
|
|
|
|
|
|
|
|
|
|
|
appleWidgetItem->resize(foreignObjectWidth, foreignObjectHeight); |
|
|
|
appleWidgetItem->resize(foreignObjectWidth, foreignObjectHeight); |
|
|
@ -877,7 +877,7 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene() |
|
|
|
|
|
|
|
|
|
|
|
if (w3cWidgetItem) |
|
|
|
if (w3cWidgetItem) |
|
|
|
{ |
|
|
|
{ |
|
|
|
w3cWidgetItem->setFlag(QGraphicsItem::ItemIsMovable, true); |
|
|
|
// w3cWidgetItem->setFlag(QGraphicsItem::ItemIsMovable, true);
|
|
|
|
w3cWidgetItem->setFlag(QGraphicsItem::ItemIsSelectable, true); |
|
|
|
w3cWidgetItem->setFlag(QGraphicsItem::ItemIsSelectable, true); |
|
|
|
|
|
|
|
|
|
|
|
w3cWidgetItem->resize(foreignObjectWidth, foreignObjectHeight); |
|
|
|
w3cWidgetItem->resize(foreignObjectWidth, foreignObjectHeight); |
|
|
|