QVISH 0.1
Classes | Public Slots | Public Member Functions | Static Public Member Functions | List of all members
Wizt::qVParameterConnectAction Class Reference

A QAction for insertion into a QMenu that will connect parameters. More...

#include <qVParameterConnectAction.hpp>

Inheritance diagram for Wizt::qVParameterConnectAction:

Classes

struct  MenuPrepare
 Callback object to allow inserting information into a QMenu in case there are output objects found. More...
 

Public Slots

void connectParameter ()
 

Public Member Functions

 qVParameterConnectAction (const QString &name, QObject *parent, const RefPtr< VParameter > &thePossibleRemoteParameter, const WeakPtr< VObject > &theCurrentObj, const RefPtr< VSlot > &ObjectSlot)
 

Static Public Member Functions

static int addConnectableObjects (const RefPtr< VObject > &vobj, const RefPtr< VSlot > &ObjectSlot, QMenu &Menu)
 For the given type, find all parameters that can be attached to the given object.
 
static int addConnectableObjects (const RefPtr< VObject > &vobj, const RefPtr< VSlot > &ObjectSlot, QMenu &Menu, MenuPrepare &MP)
 For the given type, find all parameters that can be attached to the given object.
 

Detailed Description

A QAction for insertion into a QMenu that will connect parameters.

Call the static member function addConnectableObjects() to add connector objects to a QMenu:

static int qVParameterConnectAction::addConnectableObjects(const RefPtr<VObject>&vobj,
const ParameterID&theParameterName, QMenu&Menu);
static int addConnectableObjects(const RefPtr< VObject > &vobj, const RefPtr< VSlot > &ObjectSlot, QMenu &Menu, MenuPrepare &MP)
For the given type, find all parameters that can be attached to the given object.
Definition qVParameterConnectAction.cpp:94
    @See qVInputCreatorAction

Member Function Documentation

◆ addConnectableObjects() [1/2]

static int Wizt::qVParameterConnectAction::addConnectableObjects ( const RefPtr< VObject > &  vobj,
const RefPtr< VSlot > &  ObjectSlot,
QMenu &  Menu 
)
inlinestatic

For the given type, find all parameters that can be attached to the given object.

See also
VObject::findOutputObjects

◆ addConnectableObjects() [2/2]

int Wizt::qVParameterConnectAction::addConnectableObjects ( const RefPtr< VObject > &  vobj,
const RefPtr< VSlot > &  ObjectSlot,
QMenu &  Menu,
MenuPrepare MP 
)
static

For the given type, find all parameters that can be attached to the given object.

Use qVInputCreatorAction for possible creation of new inputs.

See also
VObject::findOutputObjects

The documentation for this class was generated from the following files: