usecasewidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef USECASEWIDGET_H
00013 #define USECASEWIDGET_H
00014 #include "umlwidget.h"
00015
00016 #define UC_MARGIN 5
00017 #define UC_WIDTH 60
00018 #define UC_HEIGHT 30
00019
00020
00021 class UMLUseCase;
00022
00038 class UseCaseWidget : public UMLWidget {
00039 public:
00040
00047 UseCaseWidget(UMLView * view, UMLUseCase *o);
00048
00049
00053 virtual ~UseCaseWidget();
00054
00058 void draw(QPainter & p, int offsetX, int offsetY);
00059
00063 void saveToXMI( QDomDocument & qDoc, QDomElement & qElement );
00064
00065
00066
00067 protected:
00071 QSize calculateSize();
00072 };
00073
00074 #endif
This file is part of the documentation for umbrello Version 3.1.0.