|
QVISH 0.1
|
Callback object to allow inserting information into a QMenu in case there are output objects found. More...
#include <qVInputCreatorAction.hpp>
Public Member Functions | |
| int | addToMenu (const WeakPtr< qVParameter > &qVParam, QMenu &Menu) |
| Add input creator entries for the given Parameter to the specified Menu. | |
| virtual string | EntryName (const WeakPtr< VInputCreatorBase > &InputCreator) |
| Based on the given InputCreator, provide a text for the menu entry. | |
| virtual string | NewName (const WeakPtr< VObject > &VIO, const RefPtr< VSlot > &theSlot, const WeakPtr< VInputCreatorBase > &InputCreator) |
| Construction of a name for the newly created Input object. | |
| virtual void | prepare (QMenu &menu) |
| overload this function! | |
Callback object to allow inserting information into a QMenu in case there are output objects found.
This allows to e.g. add an Separator into the menu before the first entry.
|
virtual |
Based on the given InputCreator, provide a text for the menu entry.
By default, it will be the creator's full name, prefixed with "create new".