|
SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A base class for toolbars that wish to include SMTK operation buttons. More...
#include <pqSMTKOperationToolbar.h>
Classes | |
| class | pqInternal |
Public Member Functions | |
| pqSMTKOperationToolbar (QWidget *parent=nullptr) | |
| Construct the toolbar. More... | |
| ~pqSMTKOperationToolbar () override | |
| Destroy the toolbar. | |
Protected Member Functions | |
| virtual void | populateToolbar (qtOperationTypeModel *operationModel)=0 |
| This method is called immediately after startup (as soon as the event loop starts) to populate the toolbar as your subclass sees fit. More... | |
Protected Attributes | |
| pqInternal * | m_p |
A base class for toolbars that wish to include SMTK operation buttons.
Inherit this class and provide an implementation for the pure virtual populateToolbar() method which will be invoked whenever an SMTK wrapper object is created (due to a client-server connection being established). This method should clear the toolbar and re-insert all its items.
| pqSMTKOperationToolbar::pqSMTKOperationToolbar | ( | QWidget * | parent = nullptr | ) |
Construct the toolbar.
Your subclass should set the object name and window title here.
The window title is used to provide the name of the toolbar in the application's "View" menu.
|
protectedpure virtual |
This method is called immediately after startup (as soon as the event loop starts) to populate the toolbar as your subclass sees fit.
Call operationModel->insertIntoToolBar<OpList>() as many times as you like to insert a tool-button for each operation in OpList.
This method is delayed until startup to ensure operationModel is available.
1.8.17