The CommonSelectionState class. More...

Inheritance diagram for CommonSelectionState:
Curve::SelectionState Scenario::SelectionState< ToolPalette_T, View_T >

Detailed Description

The CommonSelectionState class.

A generic state to handle traditional rectangular selection in a QGraphicsScene.

NOTE : the posted events must have the same id as Press / Move / Release event, e.g. PressOnNothing_Event, etc.

Public Member Functions

virtual void on_pressAreaSelection ()=0
 
virtual void on_moveAreaSelection ()=0
 
virtual void on_releaseAreaSelection ()=0
 
virtual void on_deselect ()=0
 

Static Public Member Functions

static bool multiSelection () noexcept
 

Public Attributes

score::SelectionDispatcher dispatcher
 

Protected Member Functions

 CommonSelectionState (score::SelectionStack &stack, QObject *process_view, QState *parent)
 

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