32 QGraphicsItem::ItemIsMovable);
35 context().modelGuideline ().lineWidthInactive ());
log4cpp::Category * mainCat
const int Z_VALUE_GUIDELINE_HANDLE
virtual void setGraphicsItemVisible(bool visible)=0
Wrapper for QGraphicsItem::setVisible.
virtual void setGraphicsItemAcceptHoverEvents(bool accept)=0
Wrapper for QGraphicsItem::setAcceptHoverEvents.
virtual void setGraphicsItemZValue(double z)=0
Wrapper for QGraphicsItem::setZValue.
virtual void setGraphicsItemPen(const QColor &color, double lineWidth)=0
Wrapper for QGraphicsItem::setPen.
virtual void setGraphicsItemFlags(QGraphicsItem::GraphicsItemFlags flags)=0
Wrapper for QGraphicsItem::setFlags.
GuidelineStateContext & context() const
Context in charge of the state classes.
GuidelineStateAbstractBase(GuidelineStateContext &context)
Single constructor.
Context class for state machine that belongs to the Guideline class.
GuidelineAbstract & guideline()
Guideline that owns this context class.
virtual void updateWithLatestTransformation()
Update given Transformation in GuidelineStateContext.
virtual void handleHoverEnterEvent()
If transparent then make visible when hover starts.
virtual void handleTimeout()
Handle timeout from Appearing state.
virtual void handleHoverLeaveEvent()
If previously transparent before hover enter then make transparent again.
GuidelineStateHandleAbstract(GuidelineStateContext &context)
Single constructor.
virtual void handleGuidelineMode(bool visible, bool locked)
User toggled Guideline visibility and/or locked mode.
virtual void handleActiveChange(bool active)
DigitizeState change so active status may (or may not) be toggled.
virtual bool doPaint() const
Allow/skip painting of the owner Guideline.
virtual ~GuidelineStateHandleAbstract()
virtual void handleMousePress(const QPointF &posScene)
At the start of dragging, convert the Guideline into an invisible handle and visible slaved deployed ...
#define LOG4CPP_DEBUG_S(logger)