umbrello/umbrello
entitywidget.cpp
Go to the documentation of this file.
52 void EntityWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
This sub-class adds copyInto and clone to the QPtrList base class...
Definition: umlclassifierlistitemlist.h:26
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws the UMLWidget on the given paint device.
Definition: umlwidget.cpp:1565
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
DBIndex_Type indexType() const
Returns the UMLEntityAttribute's index type property.
Definition: entityattribute.cpp:132
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Returns the entries in m_List that are of the requested type.
Definition: classifier.cpp:1019
virtual QSizeF minimumSize()
Compute the minimum possible width and height.
Definition: umlwidget.cpp:185
Definition: umlwidget.h:220
virtual void slotMenuSelection(QAction *action)
Will be called when a menu selection has been made from the popup menu.
Definition: entitywidget.cpp:144
QFontMetrics & getFontMetrics(UMLWidget::FontType fontType)
Returns the font metric used by this object for Text which uses bold/italic fonts.
Definition: umlwidget.cpp:1619
Definition: umlobject.h:71
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:197
virtual void slotMenuSelection(QAction *action)
This is usually called synchronously after menu.exec() and trigger's parent is always the ListPopupMe...
Definition: umlwidget.cpp:707
Definition: entityattribute.h:33
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws the entity as a rectangle with a box underneith with a list of literals.
Definition: entitywidget.cpp:52
EntityWidget(UMLScene *scene, UMLObject *o)
Constructs an EntityWidget.
Definition: entitywidget.cpp:36
Definition: umlobject.h:73
void setModified(bool modified=true)
Sets the modified flag for the document after a modifying action on the view connected to the documen...
Definition: umldoc.cpp:2607
Definition: umlobject.h:72
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
UMLClassifierListItem * createChildObject(UMLClassifier *parent, UMLObject::ObjectType type)
Creates an operation, attribute, template, or enum literal for the parent classifier.
Definition: object_factory.cpp:242
This class is used to set up information for a unique entity constraint.
Definition: uniqueconstraint.h:28
This class is used to set up information for an entityattribute.
Definition: entityattribute.h:25
UMLView * activeView() const
Returns the active view associated with this scene.
Definition: umlscene.cpp:193
Definition: umlwidget.h:224
static MenuType typeFromAction(QAction *action)
Convenience method to extract the ListPopupMenu type from an action.
Definition: listpopupmenu.cpp:1122
virtual QFont font() const
Returns the font used for diaplaying any text.
Definition: widgetbase.cpp:431
Definition: umlobject.h:68
This class contains the non-graphical information required for a UML Entity.
Definition: entity.h:34
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the "entitywidget" XMI element.
Definition: entitywidget.cpp:131
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.