umbrello
2.32.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
dialogs
widgets
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
The base class for UML objects.
Definition:
umlobject.h:75
UMLPackageWidget
Definition:
umlpackagewidget.h:24
UMLPackageWidget::m_label
QLabel * m_label
Definition:
umlpackagewidget.h:34
UMLPackageWidget::addToLayout
void addToLayout(QGridLayout *layout, int row)
Definition:
umlpackagewidget.cpp:78
UMLPackageWidget::m_object
UMLObject * m_object
Definition:
umlpackagewidget.h:36
UMLPackageWidget::~UMLPackageWidget
~UMLPackageWidget()
Definition:
umlpackagewidget.cpp:66
UMLPackageWidget::apply
void apply()
Definition:
umlpackagewidget.cpp:87
UMLPackageWidget::m_editField
KComboBox * m_editField
Definition:
umlpackagewidget.h:35
UMLPackageWidget::UMLPackageWidget
UMLPackageWidget(UMLObject *o, QWidget *parent=0)
Definition:
umlpackagewidget.cpp:26
Generated by
1.9.1