AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::UiCommandManager类 参考

Manage the command ui. 更多...

#include <APIUiCommandManager.h>

类 AnyCAD::API::UiCommandManager 继承关系图:
AnyCAD::API::Object

Public 成员函数

long GetUiCommandCount () const
 
UiCommand GetUiCommand (int idx) const
 
UiCommand FindUiCommand (const String &id) const
 
long GetToolBarCount () const
 
UiToolBar GetUiToolBar (int idx) const
 
UiToolBar FindUiToolBar (const String &name) const
 
bool LoadFromFile (const Path &fileName)
 
String Translate (const String &str) const
 
void SetLocalString (const String &str, const String &local)
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

Manage the command ui.

TODO:

成员函数说明

UiCommand AnyCAD::API::UiCommandManager::FindUiCommand ( const String id) const

Get the UiCommand by command id.

返回
the UiCommand.
UiToolBar AnyCAD::API::UiCommandManager::FindUiToolBar ( const String name) const

Find ToolBar by name.

参数
namethe name.
返回
the UiToolBar.
long AnyCAD::API::UiCommandManager::GetToolBarCount ( ) const

Get the UiToolBar count.

返回
the count
UiCommand AnyCAD::API::UiCommandManager::GetUiCommand ( int  idx) const

Get the UiCommand by index.

返回
the UiCommand.
long AnyCAD::API::UiCommandManager::GetUiCommandCount ( ) const

Get UiCommand count.

返回
the count.
UiToolBar AnyCAD::API::UiCommandManager::GetUiToolBar ( int  idx) const

Get the ToolBar by index.

返回
the UiToolBar.
bool AnyCAD::API::UiCommandManager::LoadFromFile ( const Path fileName)

Get the ToolBar by index.

返回
the UiToolBar.
void AnyCAD::API::UiCommandManager::SetLocalString ( const String str,
const String local 
)

set local string for string.

参数
strthe string.
localthe local string.
String AnyCAD::API::UiCommandManager::Translate ( const String str) const

translate str to local language.

参数
strthe string to translate.
返回
the local language.

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