载入中...
搜索中...
未找到
eve::editor::IEditorInspector类 参考abstract

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()

virtual eve::editor::IEditorInspector::~IEditorInspector ( )
virtualdefault

Releases IEditorInspector resources.

成员函数说明

◆ beginGroup()

virtual void eve::editor::IEditorInspector::beginGroup ( const std::string &  id,
const std::string &  label 
)
pure virtual

◆ boolean()

virtual bool eve::editor::IEditorInspector::boolean ( const std::string &  id,
const std::string &  label,
bool &  value 
)
pure virtual

Present an editable boolean property.

被这些函数引用 eve::editor::ArchSpaceWallDrawTool::inspect() , 以及 eve::editor::ArchSpaceOpeningPlaceTool::inspect().

◆ endGroup()

◆ integer()

virtual bool eve::editor::IEditorInspector::integer ( const std::string &  id,
const std::string &  label,
int &  value,
int  minimum,
int  maximum 
)
pure virtual

Present an editable integer property.

◆ scalar()

virtual bool eve::editor::IEditorInspector::scalar ( const std::string &  id,
const std::string &  label,
float &  value,
float  minimum,
float  maximum 
)
pure virtual

◆ string()

virtual bool eve::editor::IEditorInspector::string ( const std::string &  id,
const std::string &  label,
std::string &  value 
)
pure virtual

该类的文档由以下文件生成: