BoxWidget Class Reference
Displays a rectangular box. Displays a box. More...
#include <boxwidget.h>
Inheritance diagram for BoxWidget:

Public Member Functions | |
| BoxWidget (UMLView *view, Uml::IDType id=Uml::id_None) | |
| Constructs a BoxWidget. | |
| virtual | ~BoxWidget () |
| destructor | |
| void | draw (QPainter &p, int offsetX, int offsetY) |
| Draws a rectangle. | |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| Saves the widget to the <boxwidget> XMI element. | |
Detailed Description
Displays a rectangular box. Displays a box.These widgets are diagram specific. They will still need a unique id from the UMLDoc class for deletion and other purposes.
- Author:
- Jonathan Riddell
- See also:
- UMLWidget Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 32 of file boxwidget.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructs a BoxWidget.
Definition at line 18 of file boxwidget.cpp. References WidgetBase::setBaseType(), UMLWidget::setSize(), and UMLWidget::setZ(). |
|
|
destructor
Definition at line 27 of file boxwidget.cpp. |
Member Function Documentation
|
||||||||||||||||
|
Draws a rectangle.
Implements UMLWidget. Reimplemented in ForkJoinWidget. Definition at line 30 of file boxwidget.cpp. References UMLWidget::drawSelected(), and UMLWidget::setPen(). |
|
||||||||||||
|
Saves the widget to the <boxwidget> XMI element. Note: For loading from XMI, the inherited parent method is used. Reimplemented from UMLWidget. Reimplemented in ForkJoinWidget. Definition at line 39 of file boxwidget.cpp. |
The documentation for this class was generated from the following files:
