umbrello/umbrello
umlattributedialog.cpp
Go to the documentation of this file.
167 KMessageBox::error(this, i18n("The attribute name you have chosen is already being used in this operation."),
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
QString getInitialValue() const
Returns The initial value of the UMLAttribute.
Definition: attribute.cpp:98
virtual void setType(UMLObject *type)
Sets the type of the UMLAttribute.
Definition: classifierlistitem.cpp:125
Uml::Visibility::Enum visibility() const
Returns the visibility of the object.
Definition: umlobject.cpp:435
void slotApply()
I don't think this is used, but if we had an apply button it would slot into here.
Definition: umlattributedialog.cpp:238
void setVisibility(Uml::Visibility::Enum s)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:86
Definition: basictypes.h:244
void setName(const QString &name)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:75
This class holds information used by template classes, called paramaterised class in UML and a generi...
Definition: template.h:26
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
Definition: optionstate.h:141
Definition: basictypes.h:58
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Creates a UMLObject of the given type.
Definition: object_factory.cpp:162
void setInitialValue(const QString &iv)
Sets the initial value of the UMLAttribute.
Definition: attribute.cpp:108
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &inName, UMLPackage *parentPkg, const QString &comment, const QString &stereotype)
Find or create a document object.
Definition: import_utils.cpp:169
UMLClassifierList concepts(bool includeNested=true)
Returns a list of the concepts in this UMLDoc.
Definition: umldoc.cpp:2463
Definition: basictypes.h:60
QRadioButton * m_pImplementationRB
Definition: umlattributedialog.h:51
Definition: basictypes.h:248
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Find a child object with the given name.
Definition: umlcanvasobject.cpp:240
KLineEdit * makeLabeledEditField(QGroupBox *containingBox, QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
Create a labeled text lineedit widget.
Definition: dialog_utils.cpp:43
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:581
bool apply()
Checks if changes are valid and applies them if they are, else returns false.
Definition: umlattributedialog.cpp:155
Definition: basictypes.h:57
void setRelatedClassifier(UMLClassifier *c)
Set a related classifier for creation of dependencies on template parameters in createUMLObject().
Definition: import_utils.cpp:91
bool isStatic() const
Returns true if this UMLObject has classifier scope, otherwise false (the default).
Definition: umlobject.cpp:335
Definition: umlobject.h:56
void slotNameChanged(const QString &)
Definition: umlattributedialog.cpp:146
Definition: umlobject.h:49
void setOptionState(const OptionState &optstate)
Definition: optionstate.cpp:30
Uml::ProgrammingLanguage::Enum activeLanguage() const
Get the language for import and code generation.
Definition: uml.cpp:2353
void insertTypesSorted(const QString &type="")
Inserts type into the type-combobox as well as its completion object.
Definition: umlattributedialog.cpp:259
UMLTemplate * findTemplate(const QString &name)
Seeks the template parameter of the given name.
Definition: classifier.cpp:1137
virtual QString fullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Returns the fully qualified name, i.e.
Definition: umlobject.cpp:201
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Used to find a UMLObject by its type and name.
Definition: umldoc.cpp:809
Definition: basictypes.h:59
void setStereotype(const QString &_name)
Sets the classes stereotype name.
Definition: umlobject.cpp:494
Definition: umlobject.h:54
Uml::Visibility::Enum defaultAttributeScope
Definition: optionstate.h:71
UMLAttributeDialog(QWidget *pParent, UMLAttribute *pAttribute)
Definition: umlattributedialog.cpp:41
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.