datatypewidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef DATATYPEWIDGET_H
00013 #define DATATYPEWIDGET_H
00014
00015 #include "umlwidget.h"
00016
00017 class UMLClassifier;
00018
00019 #define DATATYPE_MARGIN 5
00020
00030 class DatatypeWidget : public UMLWidget {
00031 public:
00032
00039 DatatypeWidget(UMLView* view, UMLClassifier *d);
00040
00044 virtual ~DatatypeWidget();
00045
00049 void draw(QPainter& p, int offsetX, int offsetY);
00050
00054 void saveToXMI(QDomDocument& qDoc, QDomElement& qElement);
00055
00059 bool loadFromXMI(QDomElement& qElement);
00060
00061 protected:
00065 QSize calculateSize();
00066
00067 private:
00071 void init();
00072
00076 ListPopupMenu* m_pMenu;
00077
00078 public slots:
00079 };
00080
00081 #endif
This file is part of the documentation for umbrello Version 3.1.0.