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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

umlpackagewidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMLPACKAGEWIDGET_H
7#define UMLPACKAGEWIDGET_H
8
9#include <QWidget>
10
11 class UMLObject;
12
13 class KComboBox;
14
15 class QGridLayout;
16 class QLabel;
17
18 class UMLPackageWidget : public QWidget
19{
20 Q_OBJECT
21 public:
22 explicit UMLPackageWidget(UMLObject *o, QWidget *parent = nullptr);
23 ~UMLPackageWidget();
24
25 void addToLayout(QGridLayout *layout, int row);
26 void apply();
27
28 protected:
29 QLabel *m_label;
30 KComboBox *m_editField;
31 UMLObject *m_object;
32};
33
34#endif // UMLPACKAGEWIDGET_H
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLPackageWidget
Definition: umlpackagewidget.h:19
UMLPackageWidget::m_label
QLabel * m_label
Definition: umlpackagewidget.h:29
UMLPackageWidget::addToLayout
void addToLayout(QGridLayout *layout, int row)
Definition: umlpackagewidget.cpp:73
UMLPackageWidget::m_object
UMLObject * m_object
Definition: umlpackagewidget.h:31
UMLPackageWidget::~UMLPackageWidget
~UMLPackageWidget()
Definition: umlpackagewidget.cpp:61
UMLPackageWidget::apply
void apply()
Definition: umlpackagewidget.cpp:82
UMLPackageWidget::m_editField
KComboBox * m_editField
Definition: umlpackagewidget.h:30