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

the base command ui description. 更多...

#include <APIUiCommand.h>

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

Public 成员函数

String GetId () const
 
void SetId (const String &val)
 
String GetUiName () const
 
void SetUiName (const String &val)
 
String GetParameters () const
 
void SetParameters (const String &val)
 
String GetIcon () const
 
void SetIcon (const String &val)
 
String GetTooltip () const
 
void SetTooltip (const String &val)
 
String GetMenuBar () const
 
void SetMenuBar (const String &val)
 
String GetToolBar () const
 
void SetToolBar (const String &val)
 
String GetShortCut () const
 
void SetShortCut (const String &val)
 
bool GetCheckable () const
 
void SetCheckable (bool val)
 
String GetRunMode () const
 
void SetRunMode (const String &val)
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

the base command ui description.

TODO:

成员函数说明

bool AnyCAD::API::UiCommand::GetCheckable ( ) const

Test if the command can be checked.

返回
true or false.
String AnyCAD::API::UiCommand::GetIcon ( ) const

Get the icon resource id.

返回
res id.
String AnyCAD::API::UiCommand::GetId ( ) const

Get the command id.

返回
the id.
String AnyCAD::API::UiCommand::GetMenuBar ( ) const

Get the MenuBar id.

返回
the id.
String AnyCAD::API::UiCommand::GetParameters ( ) const

Get the command parameters.

返回
the parameters.
String AnyCAD::API::UiCommand::GetRunMode ( ) const

Get the run mode.

返回
the mode.
String AnyCAD::API::UiCommand::GetShortCut ( ) const

Get the ShortCut key.

返回
the key.
String AnyCAD::API::UiCommand::GetToolBar ( ) const

Get the ToolBar id.

返回
the id.
String AnyCAD::API::UiCommand::GetTooltip ( ) const

Get the tooltip text.

返回
the tooltip.
String AnyCAD::API::UiCommand::GetUiName ( ) const

Get the command ui text.

返回
the name.
void AnyCAD::API::UiCommand::SetCheckable ( bool  val)

Set the command can be checked.

参数
valtrue or false.
void AnyCAD::API::UiCommand::SetIcon ( const String val)

Set the icon resource id.

参数
valthe res id.
void AnyCAD::API::UiCommand::SetId ( const String val)

Set the command id.

参数
valthe id.
void AnyCAD::API::UiCommand::SetMenuBar ( const String val)

Set the MenuBar id.

参数
valthe id.
void AnyCAD::API::UiCommand::SetParameters ( const String val)

Set the parameters.

参数
valthe parameters.
void AnyCAD::API::UiCommand::SetRunMode ( const String val)

Set the run mode. blocking or default

参数
valthe model.
void AnyCAD::API::UiCommand::SetShortCut ( const String val)

Set the ShortCut key.

参数
valthe key.
void AnyCAD::API::UiCommand::SetToolBar ( const String val)

Set the ToolBar id.

参数
valthe id.
void AnyCAD::API::UiCommand::SetTooltip ( const String val)

Set the tooltip text.

参数
valthe tooltip.
void AnyCAD::API::UiCommand::SetUiName ( const String val)

Set the command ui text.

参数
valthe name.

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