umbrello/umbrello
packagewidget.cpp
Go to the documentation of this file.
55 void PackageWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws the UMLWidget on the given paint device.
Definition: umlwidget.cpp:1565
virtual QSizeF minimumSize()
Compute the minimum possible width and height.
Definition: umlwidget.cpp:185
QFontMetrics & getFontMetrics(UMLWidget::FontType fontType)
Returns the font metric used by this object for Text which uses bold/italic fonts.
Definition: umlwidget.cpp:1619
const Settings::OptionState & optionState() const
Returns the options being used.
Definition: umlscene.cpp:400
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the "packagewidget" XMI element.
Definition: packagewidget.cpp:141
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:197
Definition: optionstate.h:141
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Overrides standard method.
Definition: packagewidget.cpp:55
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:581
Definition: umlwidget.h:221
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
A virtual method to save the properties of this widget into a QDomElement i.e xml.
Definition: umlwidget.cpp:1707
UMLView * activeView() const
Returns the active view associated with this scene.
Definition: umlscene.cpp:193
Definition: umlwidget.h:224
PackageWidget(UMLScene *scene, UMLPackage *o)
Constructs a PackageWidget.
Definition: packagewidget.cpp:32
virtual QFont font() const
Returns the font used for diaplaying any text.
Definition: widgetbase.cpp:431
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.