#include <Port.h>
|
| 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 () |
|
|
static const int | WIDTH = 11 |
|
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 |
|
) |
| |
void cancelConnectionsInProgress |
( |
| ) |
|
|
slot |
void connectNewModule |
( |
| ) |
|
|
slot |
void deleteConnections |
( |
| ) |
|
void doMouseMove |
( |
Qt::MouseButtons |
buttons, |
|
|
const QPointF & |
pos |
|
) |
| |
void doMousePress |
( |
Qt::MouseButton |
button, |
|
|
const QPointF & |
pos |
|
) |
| |
void doMouseRelease |
( |
Qt::MouseButton |
button, |
|
|
const QPointF & |
pos |
|
) |
| |
std::string get_portname |
( |
| ) |
const |
|
virtual |
std::string get_typename |
( |
| ) |
const |
|
virtual |
size_t getIndex |
( |
| ) |
const |
|
virtual |
ModuleId getUnderlyingModuleId |
( |
| ) |
const |
|
virtual |
bool isConnected |
( |
| ) |
const |
|
inline |
virtual bool isDynamic |
( |
| ) |
const |
|
inlinevirtual |
bool isFullInputPort |
( |
| ) |
const |
virtual bool isInput |
( |
| ) |
const |
|
inlinevirtual |
void mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void moveEvent |
( |
QMoveEvent * |
event | ) |
|
|
protectedvirtual |
size_t nconnections |
( |
| ) |
const |
|
virtual |
void paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
void portCachingChanged |
( |
bool |
checked | ) |
|
|
slot |
QPointF position |
( |
| ) |
const |
void setConnected |
( |
bool |
connected | ) |
|
|
inline |
void setIndex |
( |
size_t |
i | ) |
|
bool sharesParentModule |
( |
const PortWidget & |
other | ) |
const |
void trackConnections |
( |
| ) |
|
The documentation for this class was generated from the following files: