11 #ifndef SIGNALWIDGET_H
12 #define SIGNALWIDGET_H
19 #define SIGNAL_MARGIN 5
20 #define SIGNAL_WIDTH 45
21 #define SIGNAL_HEIGHT 15
43 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
45 void setX(qreal newX);
46 void setY(qreal newY);
48 virtual void setName(
const QString &strName);
59 virtual void saveToXMI1(QXmlStreamWriter& writer);
Displays a line of text or an operation.
Definition: floatingtextwidget.h:37
Definition: umlscene.h:70
const Type None
special value for uninitialized ID
Definition: basictypes.h:387
std::string Type
Definition: basictypes.h:385