umbrello/umbrello
classgeneralpage.cpp
Go to the documentation of this file.
394 m_pStereoTypeCB->setItemText(m_pStereoTypeCB->currentIndex(), widget->umlObject()->stereotype());
461 KMessageBox::sorry(this, i18n("The name you have chosen\nis already being used.\nThe name has been reset."),
510 KMessageBox::sorry(this, i18n("The name you have chosen\nis already being used.\nThe name has been reset."),
523 KMessageBox::sorry(this, i18n("The name you have chosen\nis already being used.\nThe name has been reset."),
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
Definition: umlobject.h:63
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
Definition: artifact.h:39
UMLObject * umlObject() const
Returns the UMLObject set to represent.
Definition: widgetbase.cpp:127
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 updateObject()
Will move information from the dialog into the object.
Definition: classgeneralpage.cpp:426
Definition: umlobject.h:56
This class contains the non-graphical information required for a UML Component.
Definition: component.h:27
void setVisibility(Uml::Visibility::Enum visibility)
Sets the visibility of the object.
Definition: umlobject.cpp:441
Definition: umlobject.h:52
void setMultipleInstance(bool multiple)
Sets whether representing a multi-instance object.
Definition: objectwidget.cpp:83
Definition: basictypes.h:80
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:211
bool showDestruction() const
Returns whether to show deconstruction on sequence line.
Definition: objectwidget.cpp:529
Definition: widgetbase.h:59
QString documentation() const
Used by some child classes to get documentation.
Definition: widgetbase.cpp:171
void setSpacing(int spacing)
void slotActorToggled(bool state)
When the draw as actor check box is toggled, the draw as multi instance need to be enabled/disabled...
Definition: classgeneralpage.cpp:537
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 setMinimumSize(const QSize &)
const char * name() const
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
Definition: artifact.h:36
bool isEmpty() const
Definition: basictypes.h:60
void setDocumentation(const QString &doc)
Used by some child classes to set documentation.
Definition: widgetbase.cpp:196
void insertStereotypesSorted(KComboBox *kcb, const QString &type)
Helper function for inserting available stereotypes into a KComboBox.
Definition: dialog_utils.cpp:89
void setShowDestruction(bool bShow)
Sets whether to show deconstruction on sequence line.
Definition: objectwidget.cpp:517
void setText(const QString &)
Definition: umlobject.h:68
void setMargin(int margin)
void setInstanceName(const QString &instanceName)
Write property of m_instanceName.
Definition: umlwidget.h:162
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:579
Definition: artifact.h:37
Definition: basictypes.h:57
Definition: umlobject.h:76
Definition: umlobject.h:54
void setChecked(bool)
Definition: umlobject.h:51
void addLayout(QLayout *layout, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
Definition: umlobject.h:64
This class contains the non-graphical information required for a UML Artifact.
Definition: artifact.h:27
UMLPackage * umlPackage()
Returns the UMLPackage that this class is located in.
Definition: umlobject.cpp:639
QFontMetrics fontMetrics() const
UMLClassifier * originType() const
Get the origin type (in case of e.g.
Definition: classifier.cpp:1280
Definition: umlobject.h:57
void setTitle(const QString &title)
QString package(const QString &separator=QString(), bool includeRoot=false)
Return the package(s) in which this UMLObject is contained as a text.
Definition: umlobject.cpp:601
int height() const
void treeViewMoveObjectTo(UMLObject *container, UMLObject *object)
Move an object to a new container in the tree view.
Definition: model_utils.cpp:373
Definition: basictypes.h:39
Definition: artifact.h:38
UMLPackageList packages(bool includeNested=true)
Returns a list of the packages in this UMLDoc,.
Definition: umldoc.cpp:2511
void sort()
Definition: umlobject.h:53
void setDrawAsActor(bool drawAsActor)
Sets whether to draw as an Actor.
Definition: objectwidget.cpp:236
ClassGeneralPage(UMLDoc *d, QWidget *parent, UMLObject *o)
Sets up the ClassGenPage.
Definition: classgeneralpage.cpp:49
bool multipleInstance() const
Returns whether object is representing a multi-object.
Definition: objectwidget.cpp:98
Definition: widgetbase.h:61
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool drawAsActor() const
Returns whether to draw as an Actor or not.
Definition: objectwidget.cpp:247
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
void setSpacing(int spacing)
Definition: umlobject.h:65
void addLayout(QLayout *layout, int stretch)
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Return the predefined root folder of the given type.
Definition: umldoc.cpp:2721
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 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:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.