MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRibbonMenuUIConfig.h
Go to the documentation of this file.
1
#pragma once
2
#include <string>
3
4
namespace
MR
5
{
6
7
enum class
RibbonTopPanelLayoutMode
8
{
9
None
,
10
RibbonNoTabs
,
11
RibbonWithTabs
12
};
13
14
struct
RibbonMenuUIConfig
15
{
16
RibbonTopPanelLayoutMode
topLayout
{
RibbonTopPanelLayoutMode::RibbonWithTabs
};
17
bool
centerRibbonItems
{
false
};
18
19
bool
drawScenePanel
{
true
};
20
bool
drawToolbar
{
true
};
21
bool
drawViewportTags
{
true
};
22
bool
drawNotifications
{
true
};
23
bool
drawSearchBar
{
true
};
24
std::string
helpLink
=
"https://meshinspector.com/inapphelp/"
;
25
26
bool
operator==
(
const
RibbonMenuUIConfig
& )
const
=
default
;
27
};
28
29
}
//namespace MR
MR::None
@ None
special value not to limit path in one slice
Definition
MRVoxelPath.h:33
MR
Definition
MRCameraOrientationPlugin.h:8
MR::RibbonTopPanelLayoutMode
RibbonTopPanelLayoutMode
Definition
MRRibbonMenuUIConfig.h:8
MR::RibbonTopPanelLayoutMode::RibbonWithTabs
@ RibbonWithTabs
both ribbon toolbar and tabs
MR::RibbonTopPanelLayoutMode::RibbonNoTabs
@ RibbonNoTabs
show only icons from the first tab, without tabs panel
MR::RibbonMenuUIConfig
Definition
MRRibbonMenuUIConfig.h:15
MR::RibbonMenuUIConfig::helpLink
std::string helpLink
help btn leads to this page, if empty - no help btn is drawn
Definition
MRRibbonMenuUIConfig.h:24
MR::RibbonMenuUIConfig::topLayout
RibbonTopPanelLayoutMode topLayout
how to show top panel
Definition
MRRibbonMenuUIConfig.h:16
MR::RibbonMenuUIConfig::drawNotifications
bool drawNotifications
if false - no notifications are drawn on screen
Definition
MRRibbonMenuUIConfig.h:22
MR::RibbonMenuUIConfig::centerRibbonItems
bool centerRibbonItems
if true - items on selected tab will be centered to have equal spacing from left and right (ignored t...
Definition
MRRibbonMenuUIConfig.h:17
MR::RibbonMenuUIConfig::operator==
bool operator==(const RibbonMenuUIConfig &) const =default
MR::RibbonMenuUIConfig::drawToolbar
bool drawToolbar
if false - toolbar will be hidden (ignored if top panel is hidden)
Definition
MRRibbonMenuUIConfig.h:20
MR::RibbonMenuUIConfig::drawViewportTags
bool drawViewportTags
if false - window with viewport label and id will be hidden
Definition
MRRibbonMenuUIConfig.h:21
MR::RibbonMenuUIConfig::drawScenePanel
bool drawScenePanel
if false - panel with scene tree, information and transform will be hidden
Definition
MRRibbonMenuUIConfig.h:19
MR::RibbonMenuUIConfig::drawSearchBar
bool drawSearchBar
if false - hides search bar at the header panel of ribbon
Definition
MRRibbonMenuUIConfig.h:23
MeshLib
source
MRViewer
MRRibbonMenuUIConfig.h
Generated by
1.11.0