Scenario::SmartTool< Scenario_T, ToolPalette_T, View_T, MoveIntervalWrapper_T, MoveLeftBraceWrapper_T, MoveRightBraceWrapper_T, MoveEventWrapper_T, MoveTimeSyncWrapper_T > Class Template Referencefinal
Inheritance diagram for Scenario::SmartTool< Scenario_T, ToolPalette_T, View_T, MoveIntervalWrapper_T, MoveLeftBraceWrapper_T, MoveRightBraceWrapper_T, MoveEventWrapper_T, MoveTimeSyncWrapper_T >:
Scenario::ToolBase< ToolPalette_T > GraphicsSceneTool< Scenario::Point > Scenario::ObjectMapper

Public Member Functions

 SmartTool (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)
 
void on_cancel () override
 
auto & selectionState () const
 
- 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 ()
 
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
 

Constructor & Destructor Documentation

◆ SmartTool()

template<typename Scenario_T , typename ToolPalette_T , typename View_T , typename MoveIntervalWrapper_T , typename MoveLeftBraceWrapper_T , typename MoveRightBraceWrapper_T , typename MoveEventWrapper_T , typename MoveTimeSyncWrapper_T >
Scenario::SmartTool< Scenario_T, ToolPalette_T, View_T, MoveIntervalWrapper_T, MoveLeftBraceWrapper_T, MoveRightBraceWrapper_T, MoveEventWrapper_T, MoveTimeSyncWrapper_T >::SmartTool ( ToolPalette_T &  sm)
inline

Slot resize


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