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 >:
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< EventModel > | itemToEventId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< EventModel > | itemToConditionId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< TimeSyncModel > | itemToTimeSyncId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< TimeSyncModel > | itemToTriggerId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< IntervalModel > | itemToIntervalId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< IntervalModel > | itemToGraphIntervalId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static OptionalId< StateModel > | itemToStateId (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static std::optional< SlotPath > | itemToIntervalFromHeader (const QGraphicsItem *pressedItem, const QObject *parentModel) noexcept |
static std::optional< SlotPath > | itemToIntervalFromFooter (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 >
|
inline |
Slot resize
The documentation for this class was generated from the following file: