Functions | |
UICORE_API_EXPORT void | setEnabled (UID _actionUID, bool _enabled) |
Will set the enabled state of the action. | |
UICORE_API_EXPORT void | setText (UID _actionUID, const QString &_text) |
Will set the text of the action. | |
UICORE_API_EXPORT void | setIcon (UID _actionUID, const QIcon &_icon) |
Will set the icon of the action. | |
UICORE_API_EXPORT void | setIcon (UID _actionUID, const QString &_iconName, const QString &_iconFolder) |
Will set the icon of the action. | |
UICORE_API_EXPORT QString | getText (UID _actionUID) |
Will return the text of the action. | |
QString ak::uiAPI::action::getText | ( | UID | _actionUID | ) |
Will return the text of the action.
_actionUID | The UID of the action |
void ak::uiAPI::action::setEnabled | ( | UID | _actionUID, |
bool | _enabled ) |
Will set the enabled state of the action.
_actionUID | The UID of the action |
_enabled | The enabled state to set |
void ak::uiAPI::action::setIcon | ( | UID | _actionUID, |
const QIcon & | _icon ) |
Will set the icon of the action.
_actionUID | The UID of the action |
_icon | The icon to set |
void ak::uiAPI::action::setIcon | ( | UID | _actionUID, |
const QString & | _iconName, | ||
const QString & | _iconFolder ) |
Will set the icon of the action.
_actionUID | The UID of the action |
_iconName | The name of the icon |
_iconFolder | The folder the icon is located at |
void ak::uiAPI::action::setText | ( | UID | _actionUID, |
const QString & | _text ) |
Will set the text of the action.
_actionUID | The UID of the action |
_text | The text to set |