umbrello/umbrello
boxwidget.h
Go to the documentation of this file.
30 explicit BoxWidget(UMLScene * scene, Uml::ID::Type id = Uml::ID::None, WidgetType type = WidgetBase::wt_Box);
33 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
BoxWidget(UMLScene *scene, Uml::ID::Type id=Uml::ID::None, WidgetType type=WidgetBase::wt_Box)
Constructs a BoxWidget.
Definition: boxwidget.cpp:21
QGraphicsScene * scene() const
virtual int type() const
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves the widget to the "boxwidget" XMI element.
Definition: boxwidget.cpp:54
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws a rectangle.
Definition: boxwidget.cpp:40
Definition: widgetbase.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.