Scenario::ToolBase< ToolPalette_T > Class Template Reference
Inheritance diagram for Scenario::ToolBase< ToolPalette_T >:
GraphicsSceneTool< Scenario::Point > Scenario::ObjectMapper Scenario::CreationTool< Scenario::ProcessModel, Scenario::ToolPalette > Scenario::SmartTool< Scenario::ProcessModel, Scenario::ScenarioDisplayedElementsToolPalette, BaseGraphicsObject, Scenario::DoNotMoveInterval_StateWrapper, Scenario::MoveLeftBraceInScenario_StateWrapper, Scenario::MoveRightBraceInScenario_StateWrapper, Scenario::MoveEventInTopScenario_StateWrapper, Scenario::MoveTimeSyncInTopScenario_StateWrapper > Scenario::SmartTool< Scenario::ProcessModel, Scenario::ToolPalette, Scenario::ScenarioView, Scenario::MoveIntervalInScenario_StateWrapper, Scenario::MoveLeftBraceInScenario_StateWrapper, Scenario::MoveRightBraceInScenario_StateWrapper, Scenario::MoveEventInScenario_StateWrapper, Scenario::MoveTimeSyncInScenario_StateWrapper > Scenario::SmartTool< Scenario::BaseScenario, Scenario::BaseScenarioDisplayedElementsToolPalette, BaseGraphicsObject, Scenario::DoNotMoveInterval_StateWrapper, Scenario::MoveLeftBraceInScenario_StateWrapper, Scenario::MoveRightBraceInScenario_StateWrapper, Scenario::MoveEventInBaseScenario_StateWrapper, Scenario::MoveTimeSyncInBaseScenario_StateWrapper > Scenario::CreationTool< Scenario_T, ToolPalette_T > Scenario::SmartTool< Scenario_T, ToolPalette_T, View_T, MoveIntervalWrapper_T, MoveLeftBraceWrapper_T, MoveRightBraceWrapper_T, MoveEventWrapper_T, MoveTimeSyncWrapper_T >

Public Member Functions

 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 ()
 

Protected Member Functions

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

const ToolPalette_T & m_palette
 

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
 

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