载入中...
搜索中...
未找到
eve::editor::EditorToolbar类 参考
Tool strip state for assembling editor chrome with ui.
更多...
#include <EditorToolbar.h>
Public 成员函数 | |
| void | clear () |
| void | addTool (const std::string &id, const std::string &label) |
| void | setShortcut (const std::string &id, const std::string &key) |
| bool | setActive (const std::string &id) |
| std::string | getActive () const |
| bool | matchShortcut (const std::string &key) |
| int | getToolCount () const |
| std::string | getToolId (int index) const |
| std::string | getToolLabel (int index) const |
| std::string | getToolShortcut (int index) const |
详细描述
Tool strip state for assembling editor chrome with ui.
在文件 EditorToolbar.h 第 9 行定义.
成员函数说明
◆ addTool()
| void eve::editor::EditorToolbar::addTool | ( | const std::string & | id, |
| const std::string & | label | ||
| ) |
在文件 EditorToolbar.cpp 第 19 行定义.
引用了 id.
◆ clear()
| void eve::editor::EditorToolbar::clear | ( | ) |
在文件 EditorToolbar.cpp 第 7 行定义.
◆ getActive()
|
inline |
在文件 EditorToolbar.h 第 15 行定义.
◆ getToolCount()
|
inline |
在文件 EditorToolbar.h 第 19 行定义.
◆ getToolId()
| std::string eve::editor::EditorToolbar::getToolId | ( | int | index | ) | const |
在文件 EditorToolbar.cpp 第 48 行定义.
◆ getToolLabel()
| std::string eve::editor::EditorToolbar::getToolLabel | ( | int | index | ) | const |
在文件 EditorToolbar.cpp 第 54 行定义.
◆ getToolShortcut()
| std::string eve::editor::EditorToolbar::getToolShortcut | ( | int | index | ) | const |
在文件 EditorToolbar.cpp 第 60 行定义.
◆ matchShortcut()
| bool eve::editor::EditorToolbar::matchShortcut | ( | const std::string & | key | ) |
在文件 EditorToolbar.cpp 第 38 行定义.
◆ setActive()
| bool eve::editor::EditorToolbar::setActive | ( | const std::string & | id | ) |
在文件 EditorToolbar.cpp 第 32 行定义.
引用了 id.
◆ setShortcut()
| void eve::editor::EditorToolbar::setShortcut | ( | const std::string & | id, |
| const std::string & | key | ||
| ) |
在文件 EditorToolbar.cpp 第 26 行定义.
该类的文档由以下文件生成:
- src/modules/editor/EditorToolbar.h
- src/modules/editor/EditorToolbar.cpp