Functions | |
void | SmartWin::WidgetToolbar::addButton (unsigned int id, int iconIndex, const SmartUtil::tstring &text, const SmartUtil::tstring &toolTip, bool checkButton, typename ThisMessageMap::itsVoidFunctionTakingUInt eventHandler) |
Adds a button to the toolbar. | |
void | SmartWin::WidgetToolbar::addButton (unsigned int id, int iconIndex, typename ThisMessageMap::itsVoidFunctionTakingUInt eventHandler) |
Adds a button to the toolbar. | |
void | SmartWin::WidgetToolbar::addButton (unsigned int id, int iconIndex, const SmartUtil::tstring &toolTip, typename ThisMessageMap::itsVoidFunctionTakingUInt eventHandler) |
Adds a button to the toolbar. | |
void | SmartWin::WidgetToolbar::addButton (unsigned int id, const SmartUtil::tstring &text, typename ThisMessageMap::itsVoidFunctionTakingUInt eventHandler) |
Adds a button to the toolbar. | |
void | SmartWin::WidgetToolbar::addButton (unsigned int id, const SmartUtil::tstring &text, const SmartUtil::tstring &toolTip, typename ThisMessageMap::itsVoidFunctionTakingUInt eventHandler) |
Adds a button to the Toolbar. |
void addButton | ( | unsigned int | id, | |
int | iconIndex, | |||
const SmartUtil::tstring & | text, | |||
const SmartUtil::tstring & | toolTip, | |||
bool | checkButton, | |||
typename ThisMessageMap::itsVoidFunctionTakingUInt | eventHandler | |||
) | [inherited] |
Adds a button to the toolbar.
eventHandler is the event handler function that will be called when the button is clicked id is an identification number that will be passed into the event handler when somebody clicks your button.
The reason to why we have this "id" is because the same event handler can be defined for several buttons even in fact across toolbar objects, therefore this number should be unique across the application.
iconIndex is the ( zero indexed ) index of icon on the previously associated image list.
text is the text that will appear on your button.
toolTip is the tooltip that will be associated with your button ( when someone hoovers the mouse over your button )
Parameters passed expected by event handler is unsigned int which is the id of the toolbar button.
You must call setNormalImageList BEFORE setting event handlers with iconIndex's
void addButton | ( | unsigned int | id, | |
int | iconIndex, | |||
typename ThisMessageMap::itsVoidFunctionTakingUInt | eventHandler | |||
) | [inherited] |
Adds a button to the toolbar.
eventHandler is the event handler function that will be called when the button is clicked id is an identification number that will be passed into the event handler when somebody clicks your button.
The reason to why we have this "id" is because the same event handler can be defined for several buttons even in fact across toolbar objects, therefore this number should be unique across the application.
iconIndex is the ( zero indexed ) index of icon on the previously associated image list.
Parameters passed expected by event handler is unsigned int which is the id of the toolbar button.
You must call setNormalImageList BEFORE setting event handlers with iconIndex's
void addButton | ( | unsigned int | id, | |
int | iconIndex, | |||
const SmartUtil::tstring & | toolTip, | |||
typename ThisMessageMap::itsVoidFunctionTakingUInt | eventHandler | |||
) | [inherited] |
Adds a button to the toolbar.
eventHandler is the event handler function that will be called when the button is clicked id is an identification number that will be passed into the event handler when somebody clicks your button.
The reason to why we have this "id" is because the same event handler can be defined for several buttons even in fact across toolbar objects, therefore this number should be unique across the application.
toolTip is the tooltip that will be associated with your button ( when someone hoovers the mouse over your button )
iconIndex is the ( zero indexed ) index of icon on the previously associated image list.
Parameters passed expected by event handler is unsigned int which is the id of the toolbar button.
You must call setNormalImageList BEFORE setting event handlers with iconIndex's
void addButton | ( | unsigned int | id, | |
const SmartUtil::tstring & | text, | |||
typename ThisMessageMap::itsVoidFunctionTakingUInt | eventHandler | |||
) | [inherited] |
Adds a button to the toolbar.
eventHandler is the event handler function that will be called when the button is clicked id is an identification number that will be passed into the event handler when somebody clicks your button.
The reason to why we have this "id" is because the same event handler can be defined for several buttons even in fact across toolbar objects, therefore this number should be unique across the application.
text is the text that will appear on your button.
Parameters passed expected by event handler is unsigned int which is the id of the toolbar button.
void addButton | ( | unsigned int | id, | |
const SmartUtil::tstring & | text, | |||
const SmartUtil::tstring & | toolTip, | |||
typename ThisMessageMap::itsVoidFunctionTakingUInt | eventHandler | |||
) | [inherited] |
Adds a button to the Toolbar.
eventHandler is the event handler function that will be called when the button is clicked id is an identification number that will be passed into the event handler when somebody clicks your button.
The reason to why we have this "id" is because the same event handler can be defined for several buttons even in fact across toolbar objects, therefore this number should be unique across the application.
text is the text that will appear on your button.
toolTip is the tooltip that will be associated with your button ( when someone hoovers the mouse over your button )
Parameters passed expected by event handler is unsigned int which is the id of the toolbar button.