umbrello: umbrello/dialogs/parameterpropertiesdialog.h Source File

umbrello 2.38.2 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

parameterpropertiesdialog.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 PARAMETERPROPERTIESDIALOG_H
7#define PARAMETERPROPERTIESDIALOG_H
8
9#include "basictypes.h"
10
11#include "singlepagedialogbase.h"
12
13class DocumentationWidget;
14class DefaultValueWidget;
15class KComboBox;
16class QLineEdit;
17class QGroupBox;
18class QLabel;
19class QRadioButton;
20class UMLAttribute;
21class UMLDoc;
22class UMLDatatypeWidget;
23class UMLStereotypeWidget;
24
34 class ParameterPropertiesDialog : public SinglePageDialogBase
35{
36 Q_OBJECT
37public:
38
39 ParameterPropertiesDialog(QWidget * parent, UMLDoc * doc, UMLAttribute * attr);
40 ~ParameterPropertiesDialog();
41
42 virtual bool apply();
43
44protected:
45 QString getName();
46 QString getInitialValue();
47 Uml::ParameterDirection::Enum getParmKind();
48 virtual bool validate();
49
50private:
51 QGroupBox * m_pParmGB;
52 QGroupBox * m_pKindGB;
53 QRadioButton * m_pIn, * m_pOut, *m_pInOut;
54 QLabel * m_pNameL;
55 QLineEdit * m_pNameLE;
56 DefaultValueWidget * m_defaultValueWidget;
57 DocumentationWidget * m_docWidget;
58 UMLDoc * m_pUmldoc;
59 UMLAttribute * m_pAtt;
60 UMLDatatypeWidget *m_datatypeWidget;
61 UMLStereotypeWidget *m_stereotypeWidget;
62};
63
64#endif
basictypes.h
DefaultValueWidget
Definition: defaultvaluewidget.h:26
DocumentationWidget
Definition: documentationwidget.h:22
ParameterPropertiesDialog
A properties dialog box for a parameter.
Definition: parameterpropertiesdialog.h:35
ParameterPropertiesDialog::apply
virtual bool apply()
Definition: parameterpropertiesdialog.cpp:168
ParameterPropertiesDialog::m_pParmGB
QGroupBox * m_pParmGB
Definition: parameterpropertiesdialog.h:51
ParameterPropertiesDialog::m_defaultValueWidget
DefaultValueWidget * m_defaultValueWidget
Definition: parameterpropertiesdialog.h:56
ParameterPropertiesDialog::m_pInOut
QRadioButton * m_pInOut
Definition: parameterpropertiesdialog.h:53
ParameterPropertiesDialog::getInitialValue
QString getInitialValue()
Definition: parameterpropertiesdialog.cpp:133
ParameterPropertiesDialog::m_pIn
QRadioButton * m_pIn
Definition: parameterpropertiesdialog.h:53
ParameterPropertiesDialog::getParmKind
Uml::ParameterDirection::Enum getParmKind()
Definition: parameterpropertiesdialog.cpp:143
ParameterPropertiesDialog::m_pUmldoc
UMLDoc * m_pUmldoc
Definition: parameterpropertiesdialog.h:58
ParameterPropertiesDialog::m_pAtt
UMLAttribute * m_pAtt
Definition: parameterpropertiesdialog.h:59
ParameterPropertiesDialog::m_pNameLE
QLineEdit * m_pNameLE
Definition: parameterpropertiesdialog.h:55
ParameterPropertiesDialog::m_pNameL
QLabel * m_pNameL
Definition: parameterpropertiesdialog.h:54
ParameterPropertiesDialog::m_pOut
QRadioButton * m_pOut
Definition: parameterpropertiesdialog.h:53
ParameterPropertiesDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: parameterpropertiesdialog.h:60
ParameterPropertiesDialog::validate
virtual bool validate()
Definition: parameterpropertiesdialog.cpp:157
ParameterPropertiesDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: parameterpropertiesdialog.h:57
ParameterPropertiesDialog::getName
QString getName()
Definition: parameterpropertiesdialog.cpp:128
ParameterPropertiesDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: parameterpropertiesdialog.h:61
ParameterPropertiesDialog::m_pKindGB
QGroupBox * m_pKindGB
Definition: parameterpropertiesdialog.h:52
ParameterPropertiesDialog::~ParameterPropertiesDialog
~ParameterPropertiesDialog()
Definition: parameterpropertiesdialog.cpp:124
SinglePageDialogBase
Definition: singlepagedialogbase.h:23
UMLAttribute
Sets up attribute information.
Definition: attribute.h:23
UMLDatatypeWidget
Definition: umldatatypewidget.h:19
UMLDoc
Definition: umldoc.h:63
UMLStereotypeWidget
Definition: umlstereotypewidget.h:15
Uml::ParameterDirection::Enum
Enum
Definition: basictypes.h:254
singlepagedialogbase.h