MeshLib Documentation
Loading...
Searching...
No Matches
MR::DirectionWidget::ChangeVisibleAction Class Reference

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

#include <MRDirectionWidget.h>

+ Inheritance diagram for MR::DirectionWidget::ChangeVisibleAction:

Public Member Functions

 ChangeVisibleAction (DirectionWidget &widget)
 
virtual void action (Type) override
 This function is called on history action (undo, redo, etc.)
 
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 visible. It should be added to the history stack by user code

Constructor & Destructor Documentation

◆ ChangeVisibleAction()

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

Member Function Documentation

◆ action()

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

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

Implements MR::HistoryAction.

◆ heapBytes()

virtual size_t MR::DirectionWidget::ChangeVisibleAction::heapBytes ( ) const
inlinenodiscardoverridevirtual

returns the amount of memory this object occupies on heap

Implements MR::HistoryAction.

◆ name()

virtual std::string MR::DirectionWidget::ChangeVisibleAction::name ( ) const
inlineoverridevirtual

Implements MR::HistoryAction.


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