|
| virtual void | addToolAction (const string &category, const QPixmap &PM, const RefPtr< ToolAction > &Action, const string &tooltip)=0 |
| | Add an action object to the toolbar "category".
|
| |
◆ addToolAction()
| virtual void Wizt::qVToolActorBase::addToolAction |
( |
const string & |
category, |
|
|
const QPixmap & |
PM, |
|
|
const RefPtr< ToolAction > & |
Action, |
|
|
const string & |
tooltip |
|
) |
| |
|
pure virtual |
Add an action object to the toolbar "category".
- Parameters
-
| category | The name of the toolbar, as it appears in the main window. |
| PM | A Qt Pixmap, used as action icon. |
| Action | An ToolAction object that is executed when the tool button is clicked. |
| tooltip | An information text which appears when the mouse is moved over the icon. |
Implemented in Wizt::qVMainWindow.
The documentation for this class was generated from the following files:
- qVToolBase.hpp
- qVToolBase.cpp