#include <sxUiPort.h>
Public Types | |
enum | Placement { North = 0, East, South, West } |
Public Member Functions | |
void | AdjustTextPosition (const QString &cap, sxObject *obj) |
Adjust text position. | |
void | SetLocation (Placement loc) |
set port's location | |
Placement | Location () const |
return port location. | |
virtual void | AdjustConnections () |
QFont | Font () const |
void | SetFont (const QFont &f) |
Protected Member Functions | |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
sxUiPort (Placement loc) | |
Protected Attributes | |
Placement | xLocation |
sxUiTextItem * | xText |
enum sxUiPort::Placement |
void sxUiPort::AdjustTextPosition | ( | const QString & | cap, | |
sxObject * | obj | |||
) |
sxUiPort::Placement sxUiPort::Location | ( | ) | const |
void sxUiPort::SetLocation | ( | sxUiPort::Placement | loc | ) |
set port's location
loc | location of the port (North, East, South, West) |