UI-independent property editor used by tools to expose settings. 更多...
#include <EditorPresentation.h>
Public 成员函数 | |
| virtual | ~IEditorInspector ()=default |
| Releases IEditorInspector resources. | |
| virtual void | beginGroup (const std::string &id, const std::string &label)=0 |
| Begin a logical group of properties. | |
| virtual void | endGroup ()=0 |
| End the current logical group. | |
| virtual bool | boolean (const std::string &id, const std::string &label, bool &value)=0 |
| Present an editable boolean property. | |
| virtual bool | integer (const std::string &id, const std::string &label, int &value, int minimum, int maximum)=0 |
| Present an editable integer property. | |
| virtual bool | scalar (const std::string &id, const std::string &label, float &value, float minimum, float maximum)=0 |
| Present an editable scalar property. | |
| virtual bool | string (const std::string &id, const std::string &label, std::string &value)=0 |
| Present an editable text property. | |
详细描述
UI-independent property editor used by tools to expose settings.
Each function returns true when the host changed the referenced value.
在文件 EditorPresentation.h 第 47 行定义.
构造及析构函数说明
◆ ~IEditorInspector()
|
virtualdefault |
Releases IEditorInspector resources.
成员函数说明
◆ beginGroup()
|
pure virtual |
Begin a logical group of properties.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect(), eve::editor::ArchSpaceOpeningPlaceTool::inspect(), eve::editor::ArchSpaceItemPlaceTool::inspect(), eve::editor::FieldBrushTool::inspect(), eve::editor::VolumeBrushTool::inspect() , 以及 eve::editor::ActionTimelineWidget::inspectSelection().
◆ boolean()
|
pure virtual |
Present an editable boolean property.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect() , 以及 eve::editor::ArchSpaceOpeningPlaceTool::inspect().
◆ endGroup()
|
pure virtual |
End the current logical group.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect(), eve::editor::ArchSpaceOpeningPlaceTool::inspect(), eve::editor::ArchSpaceItemPlaceTool::inspect(), eve::editor::FieldBrushTool::inspect(), eve::editor::VolumeBrushTool::inspect() , 以及 eve::editor::ActionTimelineWidget::inspectSelection().
◆ integer()
|
pure virtual |
Present an editable integer property.
◆ scalar()
|
pure virtual |
Present an editable scalar property.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect(), eve::editor::ArchSpaceOpeningPlaceTool::inspect(), eve::editor::ArchSpaceItemPlaceTool::inspect(), eve::editor::FieldBrushTool::inspect(), eve::editor::VolumeBrushTool::inspect() , 以及 eve::editor::ActionTimelineWidget::inspectSelection().
◆ string()
|
pure virtual |
Present an editable text property.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect(), eve::editor::ArchSpaceItemPlaceTool::inspect() , 以及 eve::editor::ActionTimelineWidget::inspectSelection().
该类的文档由以下文件生成:
- src/modules/editor/EditorPresentation.h