nodewidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef NODEWIDGET_H
00013 #define NODEWIDGET_H
00014
00015 #include "umlwidget.h"
00016
00017 class UMLNode;
00018
00028 class NodeWidget : public UMLWidget {
00029 public:
00030
00037 NodeWidget(UMLView * view, UMLNode *n );
00038
00042 virtual ~NodeWidget();
00043
00047 void draw(QPainter& p, int offsetX, int offsetY);
00048
00053 void saveToXMI(QDomDocument& qDoc, QDomElement& qElement);
00054
00055 protected:
00059 QSize calculateSize();
00060
00061 static const int DEPTH = 30;
00062 };
00063
00064 #endif
This file is part of the documentation for umbrello Version 3.1.0.