|
QVISH 0.1
|
A QAction for insertion into QMenus that creates an input for the specified parameter. More...
#include <qVInputCreatorAction.hpp>
Classes | |
| struct | MenuPrepare |
| Callback object to allow inserting information into a QMenu in case there are output objects found. More... | |
Public Member Functions | |
| qVInputCreatorAction (const QString &Name, QObject *parent, const qVInputCreatorActionBase &) | |
| Construct a QAction that will create an input for the object's slot. | |
| qVInputCreatorAction (const QString &Name, QObject *parent, const qVInputCreatorActionBase &, const RefPtr< VObject > &SourceObject, const RefPtr< VAcceptInfo > &SourceConnectionInfo) | |
| Construct a QAction that will create an input for the object's slot if this input is provided by a new VObject, and connect this new VObject with an already existing object. | |
| ~qVInputCreatorAction () | |
| Destructor. | |
Public Member Functions inherited from Wizt::qVInputCreatorActionBase | |
| qVInputCreatorActionBase (const RefPtr< VInputCreatorBase > &VC, const WeakPtr< VObject > &VInputObj, const WeakPtr< VSlot > &mySlot, const WeakPtr< qVParameter > &qVParam, const string &newCreationName) | |
Static Public Member Functions | |
| static int | addPossibleInputCreators (const RefPtr< VObject > &VObj, const RefPtr< VSlot > &theSlot, QMenu &Menu, QMenu *ParentMenu, const WeakPtr< qVParameter > &qVParam, MenuPrepare &MP) |
| For the given type, find all inputs that can be attached to the given object. | |
Additional Inherited Members | |
Public Attributes inherited from Wizt::qVInputCreatorActionBase | |
| string | myNewCreationName |
| WeakPtr< qVParameter > | myqVParam |
| WeakPtr< VSlot > | mySlot |
| WeakPtr< VObject > | myVInputObj |
| const RefPtr< VInputCreatorBase > | VB |
A QAction for insertion into QMenus that creates an input for the specified parameter.
| Wizt::qVInputCreatorAction::qVInputCreatorAction | ( | const QString & | Name, |
| QObject * | parent, | ||
| const qVInputCreatorActionBase & | CAB | ||
| ) |
Construct a QAction that will create an input for the object's slot.
It will show up in the qVParameter if such has been specified.
| Wizt::qVInputCreatorAction::qVInputCreatorAction | ( | const QString & | Name, |
| QObject * | parent, | ||
| const qVInputCreatorActionBase & | CAB, | ||
| const RefPtr< VObject > & | SourceObject, | ||
| const RefPtr< VAcceptInfo > & | SourceConnectionInfo | ||
| ) |
Construct a QAction that will create an input for the object's slot if this input is provided by a new VObject, and connect this new VObject with an already existing object.
The newly created VObject will thus serve as a filter between the existing SourceObject and the input requesting this filter.
|
static |
For the given type, find all inputs that can be attached to the given object.
These menu entries will create new inputs. To allow connecting with existing inputs, use qVParameterConnectAction::addConnectableObjects();
Referenced by Wizt::qVInputLabel::qVInputLabel().