MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRibbonSchema.h File Reference
#include "MRViewerFwd.h"
#include "MRRibbonRegisterItem.h"
#include "MRMesh/MRMeshFwd.h"
#include "MRMesh/MRphmap.h"
#include <json/forwards.h>
#include <filesystem>
#include <vector>
#include <string>
#include <memory>

Go to the source code of this file.

Classes

struct  MR::MenuItemCaptionSize
struct  MR::MenuItemInfo
class  MR::RibbonSchemaLoadListener
struct  MR::RibbonTab
struct  MR::RibbonSchema
 This structure describes UI schema of ribbon menu. More...
class  MR::RibbonSchemaHolder
struct  MR::RibbonSchemaHolder::SearchResult
 struct to hold information for search result presentation More...
struct  MR::RibbonSchemaHolder::SearchResultWeight
 ancillary struct to hold information for search result order More...
struct  MR::RibbonSchemaHolder::SearchParams
 tool search options More...
class  MR::RibbonSchemaLoader
 Class for loading ribbon schema from structure files (basically called from RibbonMenu, but can be called separately) More...
class  MR::RibbonMenuItemCall< T >

Namespaces

namespace  MR
 only for bindings generation

Macros

#define MR_RIBBON_ITEM_CALL(pluginType, f, g)
 calls f(const std::shared_ptr<plugin> &) on module loading, and calls g(const std::shared_ptr<plugin> &) on module unloading

Typedefs

using MR::SplitCaptionInfo = std::vector<std::pair<size_t, float>>
 needed for big buttons text aligning
using MR::ItemMap = HashMap<std::string, MenuItemInfo>
using MR::TabsGroupsMap = HashMap<std::string, std::vector<std::string>>
using MR::GroupsItemsMap = TabsGroupsMap