MeshLib Documentation
Loading...
Searching...
No Matches
MR::ResetSceneMenuItem Class Reference

#include <MRSceneControlMenuItems.h>

+ Inheritance diagram for MR::ResetSceneMenuItem:

Public Member Functions

 ResetSceneMenuItem ()
 
virtual bool action () override
 
virtual bool blocking () const override
 
- Public Member Functions inherited from MR::RibbonMenuItem
 MR_DELETE_MOVE (RibbonMenuItem)
 
MRVIEWER_API RibbonMenuItem (std::string name)
 
virtual ~RibbonMenuItem ()=default
 
virtual bool isActive () const
 
const std::string & name () const
 
virtual const std::string & uiName () const
 
void setRibbonItemType (RibbonItemType type)
 
virtual RibbonItemType type () const
 
MRVIEWER_API void setDropItemsFromItemList (const MenuItemsList &itemsList)
 
virtual const DropItemsListdropItems () const
 
virtual std::string getDynamicTooltip () const
 
- Public Member Functions inherited from MR::ISceneStateCheck
virtual ~ISceneStateCheck ()=default
 
virtual std::string isAvailable (const std::vector< std::shared_ptr< const Object > > &) const
 
- Public Member Functions inherited from MR::MultiListener< PreDrawListener >
virtual ~MultiListener ()=default
 
virtual void connect (Viewer *viewer, int group=0, boost::signals2::connect_position pos=boost::signals2::connect_position::at_back)
 
virtual void disconnect ()
 

Additional Inherited Members

- Public Types inherited from MR::RibbonMenuItem
using DropItemsList = std::vector<std::shared_ptr<RibbonMenuItem>>
 
- Protected Attributes inherited from MR::RibbonMenuItem
RibbonItemType type_ { RibbonItemType::Button }
 
DropItemsList dropList_
 

Constructor & Destructor Documentation

◆ ResetSceneMenuItem()

MR::ResetSceneMenuItem::ResetSceneMenuItem ( )

Member Function Documentation

◆ action()

virtual bool MR::ResetSceneMenuItem::action ( )
overridevirtual

Implements MR::RibbonMenuItem.

◆ blocking()

virtual bool MR::ResetSceneMenuItem::blocking ( ) const
inlineoverridevirtual

Reimplemented from MR::RibbonMenuItem.


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