umbrello 26.03.70-f7b1fd3 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

umlattributedialog.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 UMLATTRIBUTEDIALOG_H
7#define UMLATTRIBUTEDIALOG_H
8
9#include "singlepagedialogbase.h"
10#include "n_stereoattrs.h"
11
12 class DocumentationWidget;
13 class QCheckBox;
14 class QGridLayout;
15 class QGroupBox;
16 class QRadioButton;
17 class QLabel;
18 class UMLObject;
19 class UMLAttribute;
20 class QLineEdit;
21 class UMLDatatypeWidget;
22 class UMLStereotypeWidget;
23 class VisibilityEnumWidget;
24
29 class UMLAttributeDialog : public SinglePageDialogBase
30{
31 Q_OBJECT
32 public:
33 UMLAttributeDialog(QWidget * pParent, UMLAttribute * pAttribute);
34 ~UMLAttributeDialog();
35
36 protected:
37 void setupDialog();
38 bool apply();
39
43 UMLAttribute * m_pAttribute;
44
45 //GUI Widgets
46 QGridLayout * m_pValuesLayout;
47 QGroupBox * m_pValuesGB;
48 QLabel * m_pNameL, * m_pInitialL;
49 QLineEdit * m_pNameLE, * m_pInitialLE;
50 QCheckBox* m_pStaticCB;
51 UMLDatatypeWidget *m_datatypeWidget;
52 UMLStereotypeWidget *m_stereotypeWidget;
53 QLabel *m_pTagL [N_STEREOATTRS];
54 QLineEdit *m_pTagLE[N_STEREOATTRS];
55 VisibilityEnumWidget *m_visibilityEnumWidget;
56 DocumentationWidget *m_docWidget;
57
58 public Q_SLOTS:
59 void slotNameChanged(const QString &);
60 void slotStereoTextChanged(const QString &);
61};
62
63#endif
DocumentationWidget
Definition: documentationwidget.h:22
SinglePageDialogBase
Definition: singlepagedialogbase.h:23
UMLAttributeDialog
Definition: umlattributedialog.h:30
UMLAttributeDialog::m_pNameL
QLabel * m_pNameL
Definition: umlattributedialog.h:48
UMLAttributeDialog::apply
bool apply()
Definition: umlattributedialog.cpp:119
UMLAttributeDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: umlattributedialog.h:51
UMLAttributeDialog::m_pInitialLE
QLineEdit * m_pInitialLE
Definition: umlattributedialog.h:49
UMLAttributeDialog::m_pStaticCB
QCheckBox * m_pStaticCB
Definition: umlattributedialog.h:50
UMLAttributeDialog::m_pTagLE
QLineEdit * m_pTagLE[N_STEREOATTRS]
Definition: umlattributedialog.h:54
UMLAttributeDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umlattributedialog.h:47
UMLAttributeDialog::m_pNameLE
QLineEdit * m_pNameLE
Definition: umlattributedialog.h:49
UMLAttributeDialog::m_pInitialL
QLabel * m_pInitialL
Definition: umlattributedialog.h:48
UMLAttributeDialog::m_pValuesLayout
QGridLayout * m_pValuesLayout
Definition: umlattributedialog.h:46
UMLAttributeDialog::~UMLAttributeDialog
~UMLAttributeDialog()
Definition: umlattributedialog.cpp:52
UMLAttributeDialog::m_pAttribute
UMLAttribute * m_pAttribute
Definition: umlattributedialog.h:43
UMLAttributeDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: umlattributedialog.h:52
UMLAttributeDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: umlattributedialog.h:56
UMLAttributeDialog::m_pTagL
QLabel * m_pTagL[N_STEREOATTRS]
Definition: umlattributedialog.h:53
UMLAttributeDialog::slotNameChanged
void slotNameChanged(const QString &)
Definition: umlattributedialog.cpp:105
UMLAttributeDialog::slotStereoTextChanged
void slotStereoTextChanged(const QString &)
Definition: umlattributedialog.cpp:110
UMLAttributeDialog::setupDialog
void setupDialog()
Definition: umlattributedialog.cpp:59
UMLAttributeDialog::m_visibilityEnumWidget
VisibilityEnumWidget * m_visibilityEnumWidget
Definition: umlattributedialog.h:55
UMLAttribute
Sets up attribute information.
Definition: umlattribute.h:23
UMLDatatypeWidget
Definition: umldatatypewidget.h:19
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLStereotypeWidget
Definition: umlstereotypewidget.h:15
VisibilityEnumWidget
Definition: visibilityenumwidget.h:22
n_stereoattrs.h
N_STEREOATTRS
#define N_STEREOATTRS
Definition: n_stereoattrs.h:11
singlepagedialogbase.h