umbrello/umbrello
enumwidget.h
Go to the documentation of this file.
38 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
void toggleShowPackage()
Toggles the status of whether to show package.
Definition: enumwidget.cpp:82
void setShowPackage(bool _status)
Set the status of whether to show Package.
Definition: enumwidget.cpp:72
EnumWidget(UMLScene *scene, UMLObject *o)
Constructs an instance of EnumWidget.
Definition: enumwidget.cpp:34
virtual void slotMenuSelection(QAction *action)
Will be called when a menu selection has been made from the popup menu.
Definition: enumwidget.cpp:188
bool showPackage() const
Returns the status of whether to show Package.
Definition: enumwidget.cpp:62
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the "enumwidget" XMI element.
Definition: enumwidget.cpp:173
virtual bool loadFromXMI(QDomElement &qElement)
Loads from an "enumwidget" XMI element.
Definition: enumwidget.cpp:158
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws the enum as a rectangle with a box underneith with a list of literals Reimplemented from UMLWid...
Definition: enumwidget.cpp:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 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:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.