umbrello: umbrello/dialogs/widgets/umlpackagewidget.h Source File

umbrello 2.32.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlpackagewidget.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLPACKAGEWIDGET_H
12 #define UMLPACKAGEWIDGET_H
13
14 #include <QWidget>
15
16 class UMLObject;
17
18 class KComboBox;
19
20 class QGridLayout;
21 class QLabel;
22
23 class UMLPackageWidget : public QWidget
24 {
25 Q_OBJECT
26 public:
27 explicit UMLPackageWidget(UMLObject *o, QWidget *parent = 0);
28 ~UMLPackageWidget();
29
30 void addToLayout(QGridLayout *layout, int row);
31 void apply();
32
33 protected:
34 QLabel *m_label;
35 KComboBox *m_editField;
36 UMLObject *m_object;
37 };
38
39 #endif // UMLPACKAGEWIDGET_H
UMLObject::package
QString package(const QString &separator=QString(), bool includeRoot=false)
Definition: umlobject.cpp:577
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
UMLPackageWidget::apply
void apply()
Definition: umlpackagewidget.cpp:87
umlpackagewidget.h
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:42
Model_Utils::findUMLObject
UMLObject * findUMLObject(const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
Definition: model_utils.cpp:152
UMLDoc::rootFolder
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Definition: umldoc.cpp:3196
Import_Utils::createUMLObject
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &inName, UMLPackage *parentPkg, const QString &comment, const QString &stereotype, bool searchInParentPackageOnly, bool remapParent)
Definition: import_utils.cpp:178
UMLObject::umlPackage
UMLPackage * umlPackage() const
Definition: umlobject.cpp:645
UMLPackageWidget::addToLayout
void addToLayout(QGridLayout *layout, int row)
Definition: umlpackagewidget.cpp:78
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:85
model_utils.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
import_utils.h
UMLPackageWidget::m_label
QLabel * m_label
Definition: umlpackagewidget.h:34
UMLPackageWidget
Definition: umlpackagewidget.h:24
folder.h
i18n
#define i18n
Definition: main.cpp:39
UMLPackageWidget::m_editField
KComboBox * m_editField
Definition: umlpackagewidget.h:35
UMLPackageWidget::m_object
UMLObject * m_object
Definition: umlpackagewidget.h:36
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLPackageList
QList< UMLPackage * > UMLPackageList
Definition: umlpackagelist.h:17
Model_Utils::treeViewMoveObjectTo
void treeViewMoveObjectTo(UMLObject *container, UMLObject *object)
Definition: model_utils.cpp:437
uml.h
UMLPackageWidget::UMLPackageWidget
UMLPackageWidget(UMLObject *o, QWidget *parent=0)
Definition: umlpackagewidget.cpp:26
Model_Utils::guessContainer
Uml::ModelType::Enum guessContainer(UMLObject *o)
Definition: model_utils.cpp:831
UMLObject::asUMLPackage
UMLPackage * asUMLPackage()
Definition: umlobject.cpp:1324
UMLPackageWidget::~UMLPackageWidget
~UMLPackageWidget()
Definition: umlpackagewidget.cpp:66
package.h
UMLDoc::packages
UMLPackageList packages(bool includeNested=true, Uml::ModelType::Enum model=Uml::ModelType::Logical)
Definition: umldoc.cpp:2969
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
umldoc.h
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33