|
|
@ -44,9 +44,9 @@ QColor UBGraphicsTextItem::lastUsedTextColor; |
|
|
|
UBGraphicsTextItem::UBGraphicsTextItem(QGraphicsItem * parent) |
|
|
|
UBGraphicsTextItem::UBGraphicsTextItem(QGraphicsItem * parent) |
|
|
|
: QGraphicsTextItem(parent) |
|
|
|
: QGraphicsTextItem(parent) |
|
|
|
, UBGraphicsItem() |
|
|
|
, UBGraphicsItem() |
|
|
|
|
|
|
|
, mTypeTextHereLabel(tr("<Type Text Here>")) |
|
|
|
, mMultiClickState(0) |
|
|
|
, mMultiClickState(0) |
|
|
|
, mLastMousePressTime(QTime::currentTime()) |
|
|
|
, mLastMousePressTime(QTime::currentTime()) |
|
|
|
, mTypeTextHereLabel(tr("<Type Text Here>")) |
|
|
|
|
|
|
|
, isActivatedTextEditor(true) |
|
|
|
, isActivatedTextEditor(true) |
|
|
|
{ |
|
|
|
{ |
|
|
|
setDelegate(new UBGraphicsTextItemDelegate(this, 0)); |
|
|
|
setDelegate(new UBGraphicsTextItemDelegate(this, 0)); |
|
|
|