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

#include <MRRibbonMenuSearch.h>

Classes

struct  Parameters
 

Public Member Functions

const char * windowName () const
 
void pushRecentItem (const std::shared_ptr< RibbonMenuItem > &item)
 
MRVIEWER_API void drawMenuUI (const Parameters &params)
 
void setSmallUI (bool on)
 
MRVIEWER_API float getWidthMenuUI () const
 
MRVIEWER_API float getSearchStringWidth () const
 
MRVIEWER_API void activate ()
 

Public Attributes

Signal< void()> onFocusSignal
 
Signal< void(std::shared_ptr< RibbonMenuItem >)> onToolActivateSignal
 

Member Function Documentation

◆ activate()

MRVIEWER_API void MR::RibbonMenuSearch::activate ( )

◆ drawMenuUI()

MRVIEWER_API void MR::RibbonMenuSearch::drawMenuUI ( const Parameters & params)

◆ getSearchStringWidth()

MRVIEWER_API float MR::RibbonMenuSearch::getSearchStringWidth ( ) const

◆ getWidthMenuUI()

MRVIEWER_API float MR::RibbonMenuSearch::getWidthMenuUI ( ) const

◆ pushRecentItem()

void MR::RibbonMenuSearch::pushRecentItem ( const std::shared_ptr< RibbonMenuItem > & item)

◆ setSmallUI()

void MR::RibbonMenuSearch::setSmallUI ( bool on)
inline

◆ windowName()

const char * MR::RibbonMenuSearch::windowName ( ) const
inline

Member Data Documentation

◆ onFocusSignal

Signal<void()> MR::RibbonMenuSearch::onFocusSignal

◆ onToolActivateSignal

Signal<void( std::shared_ptr<RibbonMenuItem> )> MR::RibbonMenuSearch::onToolActivateSignal

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