MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RibbonSchemaHolder Class Reference

#include <MRViewer/MRRibbonSchema.h>

Classes

struct  SearchParams
 tool search options More...
struct  SearchResult
 struct to hold information for search result presentation More...
struct  SearchResultWeight
 ancillary struct to hold information for search result order More...

Static Public Member Functions

static RibbonSchemaschema ()
static bool addItem (const std::shared_ptr< RibbonMenuItem > &item)
static bool delItem (const std::shared_ptr< RibbonMenuItem > &item)
static std::vector< SearchResultsearch (const std::string &searchStr, const SearchParams &params)
 searches for tools with the most appropriate names (captions) or tooltips
static int findItemTab (const std::shared_ptr< RibbonMenuItem > &item)
 returns item tab index in schema.tabsOrder or -1 if no tab found (e.g. scene fast access panel or header access panel)

Detailed Description

This class holds static ribbon schema, note that schema becomes valid after loading (RibbonSchemaLoader)


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