This history action must be created before the change in widget's direction, base or length to make them undo-able. More...
#include <MRDirectionWidget.h>
Public Member Functions | |
ChangeDirAction (DirectionWidget &widget, const std::string &name="Change Direction") | |
![]() | |
ChangeXfAction (const std::string &name, const std::shared_ptr< Object > &obj) | |
Constructed from original obj. | |
virtual std::string | name () const override |
virtual void | action (HistoryAction::Type) override |
This function is called on history action (undo, redo, etc.) | |
virtual size_t | heapBytes () const override |
returns the amount of memory this object occupies on heap | |
![]() | |
virtual | ~HistoryAction ()=default |
Additional Inherited Members | |
![]() | |
enum class | Type { Undo , Redo } |
This history action must be created before the change in widget's direction, base or length to make them undo-able.
|
inline |