the base command ui description. 更多...
#include <APIUiCommand.h>
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.
String AnyCAD::API::UiCommand::GetIcon | ( | ) | const |
Get the icon resource id.
String AnyCAD::API::UiCommand::GetId | ( | ) | const |
Get the command id.
String AnyCAD::API::UiCommand::GetMenuBar | ( | ) | const |
Get the MenuBar id.
String AnyCAD::API::UiCommand::GetParameters | ( | ) | const |
Get the command parameters.
String AnyCAD::API::UiCommand::GetRunMode | ( | ) | const |
Get the run mode.
String AnyCAD::API::UiCommand::GetShortCut | ( | ) | const |
Get the ShortCut key.
String AnyCAD::API::UiCommand::GetToolBar | ( | ) | const |
Get the ToolBar id.
String AnyCAD::API::UiCommand::GetTooltip | ( | ) | const |
Get the tooltip text.
String AnyCAD::API::UiCommand::GetUiName | ( | ) | const |
Get the command ui text.
void AnyCAD::API::UiCommand::SetCheckable | ( | bool | val | ) |
Set the command can be checked.
val | true or false. |
void AnyCAD::API::UiCommand::SetIcon | ( | const String & | val | ) |
Set the icon resource id.
val | the res id. |
void AnyCAD::API::UiCommand::SetId | ( | const String & | val | ) |
Set the command id.
val | the id. |
void AnyCAD::API::UiCommand::SetMenuBar | ( | const String & | val | ) |
Set the MenuBar id.
val | the id. |
void AnyCAD::API::UiCommand::SetParameters | ( | const String & | val | ) |
Set the parameters.
val | the parameters. |
void AnyCAD::API::UiCommand::SetRunMode | ( | const String & | val | ) |
Set the run mode. blocking or default
val | the model. |
void AnyCAD::API::UiCommand::SetShortCut | ( | const String & | val | ) |
Set the ShortCut key.
val | the key. |
void AnyCAD::API::UiCommand::SetToolBar | ( | const String & | val | ) |
Set the ToolBar id.
val | the id. |
void AnyCAD::API::UiCommand::SetTooltip | ( | const String & | val | ) |
Set the tooltip text.
val | the tooltip. |
void AnyCAD::API::UiCommand::SetUiName | ( | const String & | val | ) |
Set the command ui text.
val | the name. |