packagewidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef PACKAGEWIDGET_H
00013 #define PACKAGEWIDGET_H
00014
00015 #include "umlwidget.h"
00016
00017 class UMLPackage;
00018
00019 #define PACKAGE_MARGIN 5
00020
00030 class PackageWidget : public UMLWidget {
00031 public:
00032
00039 PackageWidget(UMLView * view, UMLPackage * o);
00040
00044 virtual ~PackageWidget();
00045
00049 void draw(QPainter& p, int offsetX, int offsetY);
00050
00054 void saveToXMI(QDomDocument& qDoc, QDomElement& qElement);
00055
00056 protected:
00060 QSize calculateSize();
00061
00062 private:
00066 void init();
00067
00071 ListPopupMenu* m_pMenu;
00072 };
00073
00074 #endif
This file is part of the documentation for umbrello Version 3.1.0.