SCIRun
5.0
|
#include <Port.h>
Public Member Functions | |
InputPortWidget (const QString &name, const QColor &color, const std::string &datatype, const SCIRun::Dataflow::Networks::ModuleId &moduleId, const SCIRun::Dataflow::Networks::PortId &portId, size_t index, bool isDynamic, boost::shared_ptr< ConnectionFactory > connectionFactory, boost::shared_ptr< ClosestPortFinder > closestPortFinder, QWidget *parent=0) | |
![]() | |
PortWidget (const QString &name, const QColor &color, const std::string &datatype, const SCIRun::Dataflow::Networks::ModuleId &moduleId, const SCIRun::Dataflow::Networks::PortId &portId, size_t index, bool isInput, bool isDynamic, boost::shared_ptr< ConnectionFactory > connectionFactory, boost::shared_ptr< ClosestPortFinder > closestPortFinder, QWidget *parent=0) | |
virtual | ~PortWidget () |
QString | name () const |
QColor | color () const |
virtual bool | isInput () const |
virtual bool | isDynamic () const |
bool | isConnected () const |
void | setConnected (bool connected) |
virtual size_t | nconnections () const |
virtual std::string | get_typename () const |
virtual std::string | get_portname () const |
virtual Dataflow::Networks::ModuleId | getUnderlyingModuleId () const |
virtual size_t | getIndex () const |
void | setIndex (size_t i) |
virtual SCIRun::Dataflow::Networks::PortId | id () const |
void | toggleLight () |
void | turn_on_light () |
void | turn_off_light () |
bool | isLightOn () const |
QSize | sizeHint () const |
void | addConnection (ConnectionLine *c) |
void | removeConnection (ConnectionLine *c) |
void | trackConnections () |
void | deleteConnections () |
QPointF | position () const |
bool | sharesParentModule (const PortWidget &other) const |
bool | isFullInputPort () const |
void | doMousePress (Qt::MouseButton button, const QPointF &pos) |
void | doMouseMove (Qt::MouseButtons buttons, const QPointF &pos) |
void | doMouseRelease (Qt::MouseButton button, const QPointF &pos) |
![]() | |
virtual | ~NeedsScenePositionProvider () |
void | setPositionObject (PositionProviderPtr provider) |
PositionProviderPtr | getPositionObject () const |
![]() | |
virtual | ~PortDescriptionInterface () |
InputPortWidget | ( | const QString & | name, |
const QColor & | color, | ||
const std::string & | datatype, | ||
const SCIRun::Dataflow::Networks::ModuleId & | moduleId, | ||
const SCIRun::Dataflow::Networks::PortId & | portId, | ||
size_t | index, | ||
bool | isDynamic, | ||
boost::shared_ptr< ConnectionFactory > | connectionFactory, | ||
boost::shared_ptr< ClosestPortFinder > | closestPortFinder, | ||
QWidget * | parent = 0 |
||
) |