MeshLib
 
Loading...
Searching...
No Matches
MR::OpenFilesMenuItem Class Reference

#include <MRIOFilesMenuItems.h>

+ Inheritance diagram for MR::OpenFilesMenuItem:

Public Member Functions

 OpenFilesMenuItem ()
 
 ~OpenFilesMenuItem ()
 
virtual bool action () override
 
virtual const DropItemsListdropItems () 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
 
virtual bool blocking () 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 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< DragDropListener >
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

◆ OpenFilesMenuItem()

MR::OpenFilesMenuItem::OpenFilesMenuItem ( )

◆ ~OpenFilesMenuItem()

MR::OpenFilesMenuItem::~OpenFilesMenuItem ( )

Member Function Documentation

◆ action()

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

Implements MR::RibbonMenuItem.

◆ dropItems()

virtual const DropItemsList & MR::OpenFilesMenuItem::dropItems ( ) const
overridevirtual

Reimplemented from MR::RibbonMenuItem.


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