|
|
@ -3,6 +3,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <QtGui> |
|
|
|
#include <QtGui> |
|
|
|
#include "core/UB.h" |
|
|
|
#include "core/UB.h" |
|
|
|
|
|
|
|
#include "domain/UBGraphicsStrokesGroup.h" |
|
|
|
#include "UBItem.h" |
|
|
|
#include "UBItem.h" |
|
|
|
|
|
|
|
|
|
|
|
class UBItem; |
|
|
|
class UBItem; |
|
|
@ -89,6 +90,11 @@ public: |
|
|
|
return sublines; |
|
|
|
return sublines; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UBGraphicsStrokesGroup* StrokeGroup() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return mStrokeGroup; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget); |
|
|
|
void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget); |
|
|
|
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); |
|
|
|
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); |
|
|
@ -106,6 +112,8 @@ public: |
|
|
|
QColor mColorOnLightBackground; |
|
|
|
QColor mColorOnLightBackground; |
|
|
|
QList<QGraphicsLineItem *> sublines; |
|
|
|
QList<QGraphicsLineItem *> sublines; |
|
|
|
UBVectorStyle::Enum style; |
|
|
|
UBVectorStyle::Enum style; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UBGraphicsStrokesGroup* mStrokeGroup; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#endif // UBGRAPHICSVECTORITEM_H
|
|
|
|
#endif // UBGRAPHICSVECTORITEM_H
|
|
|
|