|
|
@ -29,9 +29,8 @@ UBGraphicsPixmapItem::UBGraphicsPixmapItem(QGraphicsItem* parent) |
|
|
|
: QGraphicsPixmapItem(parent) |
|
|
|
: QGraphicsPixmapItem(parent) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mDelegate = new UBGraphicsItemDelegate(this, 0, true, true); |
|
|
|
mDelegate = new UBGraphicsItemDelegate(this, 0, true, true); |
|
|
|
//mDelegate->init();
|
|
|
|
mDelegate->init(); |
|
|
|
|
|
|
|
|
|
|
|
// NOTE: Do not remove this code, I'm just doing a backup of my changes! thx..
|
|
|
|
|
|
|
|
mDelegate->setFlippable(true); |
|
|
|
mDelegate->setFlippable(true); |
|
|
|
|
|
|
|
|
|
|
|
setData(UBGraphicsItemData::ItemLayerType, UBItemLayerType::Object); |
|
|
|
setData(UBGraphicsItemData::ItemLayerType, UBItemLayerType::Object); |
|
|
|