Interactor to reshape the Gantt chart views. More...
#include <ilviews/gantt/ganttint.h>
Public Member Functions | |
virtual void | doIt (IlvGraphic *handle, const IlvPoint &deltaMove, const IlvTransformer *t=0) |
Reshapes the Gantt chart views. More... | |
IlvGanttChart * | getGanttChart (const IlvGraphic *handle) const |
Returns the Gantt chart associated with a given handle box. More... | |
virtual void | validate (IlvGraphic *handle, IlvPoint &p, const IlvTransformer *t=0) |
Lets you control the position of the handle box. More... | |
Interactor to reshape the Gantt chart views.
Library: ilvgantt
Use this class to reshape the manager and grapher views inside the Gantt chart. An IlvGanttHandleInteractor
instance is automatically set on the handle box of a Gantt chart.
IlvGanttChart
, IlvGanttChart::getHandle
.
|
virtual |
Reshapes the Gantt chart views.
Reshapes the manager and grapher views inside the Gantt chart. The translation to apply to the handle box is given by deltaMove.
handle | The handle box. |
deltaMove | The difference between the new and the initial location of the handle box in the object coordinate system. |
t | The transformer applied to the view that displays the handle box (usually 0 ). |
Reimplemented from IlvMoveInteractor.
IlvGanttChart* IlvGanttHandleInteractor::getGanttChart | ( | const IlvGraphic * | handle | ) | const |
Returns the Gantt chart associated with a given handle box.
handle | The handle box. |
|
virtual |
Lets you control the position of the handle box.
Calls the IlvGanttChart::validateHandlePosition
method.
handle | The handle box. |
p | The current position, in the object coordinate system. |
t | The transformer applied to the view where the handle is displayed. |
Reimplemented from IlvMoveInteractor.