#include <MRRibbonSchema.h>
|
static MRVIEWER_API RibbonSchema & | schema () |
|
static MRVIEWER_API bool | addItem (const std::shared_ptr< RibbonMenuItem > &item) |
|
static MRVIEWER_API bool | delItem (const std::shared_ptr< RibbonMenuItem > &item) |
|
static MRVIEWER_API std::vector< SearchResult > | search (const std::string &searchStr, const SearchParams ¶ms) |
| searches for tools with the most appropriate names (captions) or tooltips
|
|
static MRVIEWER_API 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)
|
|
◆ addItem()
static MRVIEWER_API bool MR::RibbonSchemaHolder::addItem |
( |
const std::shared_ptr< RibbonMenuItem > & | item | ) |
|
|
static |
adds item to static holder (needed to be independent of construction time) returns false if item with such name is already present
◆ delItem()
static MRVIEWER_API bool MR::RibbonSchemaHolder::delItem |
( |
const std::shared_ptr< RibbonMenuItem > & | item | ) |
|
|
static |
removes item from the static holder returns false if item was not present
◆ findItemTab()
static MRVIEWER_API int MR::RibbonSchemaHolder::findItemTab |
( |
const std::shared_ptr< RibbonMenuItem > & | item | ) |
|
|
static |
returns item tab index in schema.tabsOrder or -1 if no tab found (e.g. scene fast access panel or header access panel)
◆ schema()
static MRVIEWER_API RibbonSchema & MR::RibbonSchemaHolder::schema |
( |
| ) |
|
|
static |
◆ search()
static MRVIEWER_API std::vector< SearchResult > MR::RibbonSchemaHolder::search |
( |
const std::string & | searchStr, |
|
|
const SearchParams & | params ) |
|
static |
searches for tools with the most appropriate names (captions) or tooltips
The documentation for this class was generated from the following file: