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:99
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:431
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void slotApply()
I don't think this is used, but if we had an apply button it would slot into here.
Definition: umlattributedialog.cpp:239
void setVisibility(Uml::Visibility::Enum s)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:87
Definition: basictypes.h:250
void setName(const QString &name)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:76
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:910
void setSpacing(int spacing)
Definition: optionstate.h:142
Definition: basictypes.h:58
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &inName, UMLPackage *parentPkg, const QString &comment, const QString &stereotype, bool searchInParentPackageOnly)
Find or create a document object.
Definition: import_utils.cpp:170
void setBuddy(QWidget *buddy)
void insertTypesSorted(const QString &type=QString())
Inserts type into the type-combobox as well as its completion object.
Definition: umlattributedialog.cpp:260
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Creates a UMLObject of the given type.
Definition: object_factory.cpp:192
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setInitialValue(const QString &iv)
Sets the initial value of the UMLAttribute.
Definition: attribute.cpp:109
QChar fromLatin1(char c)
UMLClassifierList concepts(bool includeNested=true)
Returns a list of the concepts in this UMLDoc.
Definition: umldoc.cpp:2535
bool isEmpty() const
Definition: basictypes.h:60
QRadioButton * m_pImplementationRB
Definition: umlattributedialog.h:51
Definition: basictypes.h:254
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(QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
Create a labeled text lineedit widget.
Definition: dialog_utils.cpp:45
void setMargin(int margin)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:579
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:92
void setChecked(bool)
bool isStatic() const
Returns true if this UMLObject has classifier scope, otherwise false (the default).
Definition: umlobject.cpp:331
Definition: umlobject.h:57
void slotNameChanged(const QString &)
Definition: umlattributedialog.cpp:146
Definition: umlobject.h:50
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:2439
UMLTemplate * findTemplate(const QString &name)
Seeks the template parameter of the given name.
Definition: classifier.cpp:1145
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
virtual QString fullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Returns the fully qualified name, i.e.
Definition: umlobject.cpp:202
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:825
Definition: basictypes.h:59
void setStereotype(const QString &_name)
Sets the classes stereotype name.
Definition: umlobject.cpp:492
Definition: umlobject.h:55
Uml::Visibility::Enum defaultAttributeScope
Definition: optionstate.h:72
UMLAttributeDialog(QWidget *pParent, UMLAttribute *pAttribute)
Definition: umlattributedialog.cpp:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.