umbrello  2.39.2
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  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 = 0);
24 
25  void addToLayout(QGridLayout *layout, int row);
26  void apply();
27 
28 protected:
29  QLabel *m_label;
30  KComboBox *m_editField;
32 };
33 
34 #endif // UMLPACKAGEWIDGET_H
The base class for UML objects.
Definition: umlobject.h:70
Definition: umlpackagewidget.h:19
QLabel * m_label
Definition: umlpackagewidget.h:29
void addToLayout(QGridLayout *layout, int row)
Definition: umlpackagewidget.cpp:73
UMLObject * m_object
Definition: umlpackagewidget.h:31
~UMLPackageWidget()
Definition: umlpackagewidget.cpp:61
void apply()
Definition: umlpackagewidget.cpp:82
KComboBox * m_editField
Definition: umlpackagewidget.h:30
UMLPackageWidget(UMLObject *o, QWidget *parent=0)
Definition: umlpackagewidget.cpp:21