36 flags &= ~QGraphicsItem::ItemIsFocusable;
37 flags &= ~QGraphicsItem::ItemIsMovable;
50 QGraphicsItem::ItemIsMovable);
QColor ColorPaletteToQColor(ColorPalette color)
log4cpp::Category * mainCat
const int Z_VALUE_GUIDELINE_DEPLOYED
Model for managing the coordinate values corresponding Guidelines.
double lineWidthInactive() const
Get method for line width when inactive.
ColorPalette lineColor() const
Get method for line color.
double lineWidthActive() const
Get method for line width when active.
virtual void setGraphicsItemVisible(bool visible)=0
Wrapper for QGraphicsItem::setVisible.
virtual QGraphicsItem::GraphicsItemFlags graphicsItemFlags() const =0
Wraps QGraphicsItem::flags.
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.
DocumentModelGuideline modelGuideline() const
Up-to-date guideline settings.
virtual ~GuidelineStateDeployedAbstract()
virtual void handleTimeout()
Handle timeout from Appearing state.
GuidelineStateDeployedAbstract(GuidelineStateContext &context)
Single constructor.
void beginCommon(bool hovering, bool locked)
Initialization common to all states.
virtual void handleMouseRelease(const QPointF &posScene)
At the end of dragging, clone the Guideline that owns the state machine where these states live.
virtual void end()
Transition out of state.
#define LOG4CPP_DEBUG_S(logger)