Scenario::CreationTool< Scenario_T, ToolPalette_T > Class Template Referencefinal
Inheritance diagram for Scenario::CreationTool< Scenario_T, ToolPalette_T >:
Scenario::ToolBase< ToolPalette_T > GraphicsSceneTool< Scenario::Point > Scenario::ObjectMapper

Public Member Functions

 CreationTool (ToolPalette_T &sm)
 
void on_pressed (QPointF scene, Scenario::Point sp)
 
void on_moved (QPointF scene, Scenario::Point sp)
 
void on_released (QPointF scene, Scenario::Point sp)
 
- Public Member Functions inherited from Scenario::ToolBase< ToolPalette_T >
 ToolBase (const ToolPalette_T &palette)
 
- Public Member Functions inherited from GraphicsSceneTool< Scenario::Point >
void start ()
 
void stop ()
 
virtual void on_cancel ()
 
const QGraphicsScene & scene () const
 
QStateMachine & localSM ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Scenario::ObjectMapper
static OptionalId< EventModelitemToEventId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< EventModelitemToConditionId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< TimeSyncModelitemToTimeSyncId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< TimeSyncModelitemToTriggerId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< IntervalModelitemToIntervalId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< IntervalModelitemToGraphIntervalId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static OptionalId< StateModelitemToStateId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static std::optional< SlotPathitemToIntervalFromHeader (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
static std::optional< SlotPathitemToIntervalFromFooter (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept
 
- Protected Member Functions inherited from Scenario::ToolBase< ToolPalette_T >
template<typename EventFun , typename StateFun , typename TimeSyncFun , typename IntervalFun , typename LeftBraceFun , typename RightBraceFun , typename SlotHandleFun , typename NothingFun >
void mapTopItem (const QGraphicsItem *item, StateFun st_fun, EventFun ev_fun, TimeSyncFun tn_fun, IntervalFun cst_fun, LeftBraceFun lbrace_fun, RightBraceFun rbrace_fun, SlotHandleFun handle_fun, NothingFun nothing_fun) const
 
- Protected Member Functions inherited from GraphicsSceneTool< Scenario::Point >
 GraphicsSceneTool (const QGraphicsScene &scene)
 
QGraphicsItem * itemUnderMouse (const QPointF &point) const
 
- Protected Attributes inherited from Scenario::ToolBase< ToolPalette_T >
const ToolPalette_T & m_palette
 

The documentation for this class was generated from the following file: