umbrello: umbrello/dialogs/umlattributedialog.h Source File

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

umlattributedialog.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 UMLATTRIBUTEDIALOG_H
12 #define UMLATTRIBUTEDIALOG_H
13
14 #include "singlepagedialogbase.h"
15
16 class DocumentationWidget;
17 class QCheckBox;
18 class QGroupBox;
19 class QRadioButton;
20 class QLabel;
21 class UMLAttribute;
22 class KLineEdit;
23 class UMLDatatypeWidget;
24 class UMLStereotypeWidget;
25 class VisibilityEnumWidget;
26
31 class UMLAttributeDialog : public SinglePageDialogBase
32 {
33 Q_OBJECT
34 public:
35 UMLAttributeDialog(QWidget * pParent, UMLAttribute * pAttribute);
36 ~UMLAttributeDialog();
37
38 protected:
39 void setupDialog();
40 bool apply();
41
45 UMLAttribute * m_pAttribute;
46
47 //GUI Widgets
48 QGroupBox * m_pValuesGB;
49 QLabel * m_pNameL, * m_pInitialL;
50 KLineEdit * m_pNameLE, * m_pInitialLE;
51 QCheckBox* m_pStaticCB;
52 UMLDatatypeWidget *m_datatypeWidget;
53 UMLStereotypeWidget *m_stereotypeWidget;
54 VisibilityEnumWidget *m_visibilityEnumWidget;
55 DocumentationWidget *m_docWidget;
56
57 public slots:
58 void slotNameChanged(const QString &);
59 };
60
61 #endif
DocumentationWidget
Definition: documentationwidget.h:27
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
UMLAttributeDialog
Definition: umlattributedialog.h:32
UMLAttributeDialog::m_pNameL
QLabel * m_pNameL
Definition: umlattributedialog.h:49
UMLAttributeDialog::apply
bool apply()
Definition: umlattributedialog.cpp:112
UMLAttributeDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: umlattributedialog.h:52
UMLAttributeDialog::m_pStaticCB
QCheckBox * m_pStaticCB
Definition: umlattributedialog.h:51
UMLAttributeDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umlattributedialog.h:48
UMLAttributeDialog::m_pInitialLE
KLineEdit * m_pInitialLE
Definition: umlattributedialog.h:50
UMLAttributeDialog::m_pInitialL
QLabel * m_pInitialL
Definition: umlattributedialog.h:49
UMLAttributeDialog::~UMLAttributeDialog
~UMLAttributeDialog()
Definition: umlattributedialog.cpp:53
UMLAttributeDialog::m_pAttribute
UMLAttribute * m_pAttribute
Definition: umlattributedialog.h:45
UMLAttributeDialog::UMLAttributeDialog
UMLAttributeDialog(QWidget *pParent, UMLAttribute *pAttribute)
Definition: umlattributedialog.cpp:45
UMLAttributeDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umlattributedialog.h:50
UMLAttributeDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: umlattributedialog.h:53
UMLAttributeDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: umlattributedialog.h:55
UMLAttributeDialog::slotNameChanged
void slotNameChanged(const QString &)
Definition: umlattributedialog.cpp:103
UMLAttributeDialog::setupDialog
void setupDialog()
Definition: umlattributedialog.cpp:60
UMLAttributeDialog::m_visibilityEnumWidget
VisibilityEnumWidget * m_visibilityEnumWidget
Definition: umlattributedialog.h:54
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLDatatypeWidget
Definition: umldatatypewidget.h:24
UMLStereotypeWidget
Definition: umlstereotypewidget.h:20
VisibilityEnumWidget
Definition: visibilityenumwidget.h:27
singlepagedialogbase.h