@ -46,8 +46,7 @@
UBGraphicsMediaItemDelegate::UBGraphicsMediaItemDelegate(UBGraphicsMediaItem* pDelegated, QMediaPlayer* pMedia, QObject * parent)
: UBGraphicsItemDelegate(pDelegated, parent, GF_COMMON
| GF_RESPECT_RATIO
| GF_TOOLBAR_USED
| GF_SHOW_CONTENT_SOURCE)
| GF_TOOLBAR_USED)
, mPlayPauseButton(NULL)
, mMedia(pMedia)
, mToolBarShowTimer(NULL)
@ -51,8 +51,7 @@ UBGraphicsPixmapItem::UBGraphicsPixmapItem(QGraphicsItem* parent)
| GF_FLIPPABLE_ALL_AXIS
| GF_REVOLVABLE
| GF_SHOW_CONTENT_SOURCE));
| GF_TOOLBAR_USED));
setData(UBGraphicsItemData::ItemLayerType, UBItemLayerType::Object);
setTransformationMode(Qt::SmoothTransformation);
@ -74,8 +74,7 @@ void UBGraphicsSvgItem::init()
setDelegate(new UBGraphicsItemDelegate(this, 0, GF_COMMON
| GF_REVOLVABLE));
UBGraphicsFlags dfl = Delegate()->ubflags();
Delegate()->setUBFlags(dfl | GF_FLIPPABLE_ALL_AXIS | GF_REVOLVABLE);
@ -43,8 +43,7 @@
UBGraphicsWidgetItemDelegate::UBGraphicsWidgetItemDelegate(UBGraphicsWidgetItem* pDelegated, int widgetType)
: UBGraphicsItemDelegate(pDelegated, 0, GF_COMMON
| GF_RESPECT_RATIO)
, freezeAction(0)
, setAsToolAction(0)
{