umbrello/umbrello
cmd_createDiagram.cpp
Go to the documentation of this file.
23 CmdCreateDiagram::CmdCreateDiagram(UMLDoc* doc, Uml::DiagramType::Enum type, const QString& name)
UMLView * createDiagram(UMLFolder *folder, Uml::DiagramType::Enum type, const QString &name, Uml::ID::Type id=Uml::ID::None)
Creates a diagram of the given type.
Definition: umldoc.cpp:1313
QString toString(Enum item)
Convert DiagramType item into QString representation.
Definition: basictypes.cpp:158
Uml::ModelType::Enum convert_DT_MT(Uml::DiagramType::Enum dt)
Return the Model_Type which corresponds to the given DiagramType.
Definition: model_utils.cpp:1141
void setText(const QString &text)
UMLView * findView(Uml::ID::Type id)
Finds a view (diagram) by the ID given to method.
Definition: umldoc.cpp:749
void removeDiagramCmd(Uml::ID::Type id)
Deletes a diagram from the current file.
Definition: umldoc.cpp:1502
CmdCreateDiagram(UMLDoc *doc, Uml::DiagramType::Enum type, const QString &name)
Definition: cmd_createDiagram.cpp:23
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.