MeshLib
 
Loading...
Searching...
No Matches
MR::DirectionWidget::ChangeDirAction Class Reference

history action for changing the direction. It should be added to the history stack by user code More...

#include <MRDirectionWidget.h>

+ Inheritance diagram for MR::DirectionWidget::ChangeDirAction:

Public Member Functions

 ChangeDirAction (DirectionWidget &widget)
 
virtual void action (Type type) override
 This function is called on history action (undo, redo, etc.)
 
- Public Member Functions inherited from MR::ChangeXfAction
 ChangeXfAction (const std::string &name, const std::shared_ptr< Object > &obj)
 Constructed from original obj.
 
virtual std::string name () const override
 
virtual size_t heapBytes () const override
 returns the amount of memory this object occupies on heap
 
- Public Member Functions inherited from MR::HistoryAction
virtual ~HistoryAction ()=default
 

Additional Inherited Members

- Public Types inherited from MR::HistoryAction
enum class  Type { Undo , Redo }
 

Detailed Description

history action for changing the direction. It should be added to the history stack by user code

Constructor & Destructor Documentation

◆ ChangeDirAction()

MR::DirectionWidget::ChangeDirAction::ChangeDirAction ( DirectionWidget & widget)
inline

Member Function Documentation

◆ action()

virtual void MR::DirectionWidget::ChangeDirAction::action ( Type actionType)
inlineoverridevirtual

This function is called on history action (undo, redo, etc.)

Reimplemented from MR::ChangeXfAction.


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