载入中...
搜索中...
未找到
eve::ui::PropertyViewOptions结构体 参考

Policy controlling schema-to-widget generation for a UI shell. 更多...

#include <PropertyView.h>

Public 属性

std::string idPrefix = "property/"
 
std::string title
 
bool showAdvanced = false
 
bool showEditorOnly = false
 
bool showReadOnly = true
 
bool groupCategories = true
 
std::function< void()> onStructureChange
 Optional callback after Array/Map structural mutations (append/remove).
 

详细描述

Policy controlling schema-to-widget generation for a UI shell.

在文件 PropertyView.h 第 14 行定义.

类成员变量说明

◆ groupCategories

bool eve::ui::PropertyViewOptions::groupCategories = true

在文件 PropertyView.h 第 20 行定义.

◆ idPrefix

std::string eve::ui::PropertyViewOptions::idPrefix = "property/"

在文件 PropertyView.h 第 15 行定义.

被这些函数引用 eve::ui::PropertyComponent::build().

◆ onStructureChange

std::function<void()> eve::ui::PropertyViewOptions::onStructureChange

Optional callback after Array/Map structural mutations (append/remove).

Hosts that do not rebuild from IPropertyAccess subscriptions (for example the Inspector panel) should rebuild their tree here so child widget ids stay aligned with the model.

在文件 PropertyView.h 第 28 行定义.

◆ showAdvanced

bool eve::ui::PropertyViewOptions::showAdvanced = false

在文件 PropertyView.h 第 17 行定义.

◆ showEditorOnly

bool eve::ui::PropertyViewOptions::showEditorOnly = false

在文件 PropertyView.h 第 18 行定义.

◆ showReadOnly

bool eve::ui::PropertyViewOptions::showReadOnly = true

在文件 PropertyView.h 第 19 行定义.

◆ title

std::string eve::ui::PropertyViewOptions::title

在文件 PropertyView.h 第 16 行定义.


该结构体的文档由以下文件生成: