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

umbrello 2.35.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 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
11class UMLObject;
12
13class KComboBox;
14
15class QGridLayout;
16class QLabel;
17
18 class UMLPackageWidget : public QWidget
19{
20 Q_OBJECT
21public:
22 explicit UMLPackageWidget(UMLObject *o, QWidget *parent = 0);
23 ~UMLPackageWidget();
24
25 void addToLayout(QGridLayout *layout, int row);
26 void apply();
27
28protected:
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
UMLPackageWidget::UMLPackageWidget
UMLPackageWidget(UMLObject *o, QWidget *parent=0)
Definition: umlpackagewidget.cpp:21