umbrello
25.04.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
dialogs
stereoattributedialog.h
Go to the documentation of this file.
1
/*
2
SPDX-License-Identifier: GPL-2.0-or-later
3
4
SPDX-FileCopyrightText: 2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
5
*/
6
7
#ifndef STEREOATTRIBUTEDIALOG_H
8
#define STEREOATTRIBUTEDIALOG_H
9
10
#include "
singlepagedialogbase.h
"
11
#include "
n_stereoattrs.h
"
12
13
class
QGroupBox;
14
class
QLabel;
15
class
QLineEdit;
16
class
QComboBox;
17
class
UMLStereotype
;
18
23
class
StereoAttributeDialog
:
public
SinglePageDialogBase
24
{
25
Q_OBJECT
26
public
:
27
StereoAttributeDialog
(QWidget *parent,
UMLStereotype
*stereotype);
28
virtual
~StereoAttributeDialog
();
29
30
protected
:
31
void
setupDialog
();
32
bool
apply
();
33
37
UMLStereotype
*
m_pStereotype
;
38
39
//GUI Widgets
40
QGroupBox *
m_pValuesGB
;
41
QLabel *
m_pNameLabel
[
N_STEREOATTRS
];
42
QLineEdit *
m_pNameEdit
[
N_STEREOATTRS
];
43
QLabel *
m_pTypeLabel
[
N_STEREOATTRS
];
44
QComboBox *
m_pTypeCombo
[
N_STEREOATTRS
];
45
QLabel *
m_pDefaultValueLabel
[
N_STEREOATTRS
];
46
QLineEdit *
m_pDefaultValueEdit
[
N_STEREOATTRS
];
47
48
};
49
50
#endif
SinglePageDialogBase::SinglePageDialogBase
SinglePageDialogBase(QWidget *parent, bool withApplyButton=false, bool withSearchButton=false)
Definition
singlepagedialogbase.cpp:23
StereoAttributeDialog::m_pDefaultValueEdit
QLineEdit * m_pDefaultValueEdit[N_STEREOATTRS]
Definition
stereoattributedialog.h:46
StereoAttributeDialog::m_pTypeCombo
QComboBox * m_pTypeCombo[N_STEREOATTRS]
Definition
stereoattributedialog.h:44
StereoAttributeDialog::m_pDefaultValueLabel
QLabel * m_pDefaultValueLabel[N_STEREOATTRS]
Definition
stereoattributedialog.h:45
StereoAttributeDialog::m_pNameLabel
QLabel * m_pNameLabel[N_STEREOATTRS]
Definition
stereoattributedialog.h:41
StereoAttributeDialog::~StereoAttributeDialog
virtual ~StereoAttributeDialog()
Definition
stereoattributedialog.cpp:44
StereoAttributeDialog::m_pNameEdit
QLineEdit * m_pNameEdit[N_STEREOATTRS]
Definition
stereoattributedialog.h:42
StereoAttributeDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition
stereoattributedialog.h:40
StereoAttributeDialog::setupDialog
void setupDialog()
Definition
stereoattributedialog.cpp:51
StereoAttributeDialog::m_pStereotype
UMLStereotype * m_pStereotype
Definition
stereoattributedialog.h:37
StereoAttributeDialog::StereoAttributeDialog
StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype)
Definition
stereoattributedialog.cpp:36
StereoAttributeDialog::m_pTypeLabel
QLabel * m_pTypeLabel[N_STEREOATTRS]
Definition
stereoattributedialog.h:43
StereoAttributeDialog::apply
bool apply()
Definition
stereoattributedialog.cpp:112
UMLStereotype
Sets up stereotype information.
Definition
stereotype.h:36
n_stereoattrs.h
N_STEREOATTRS
#define N_STEREOATTRS
Definition
n_stereoattrs.h:11
singlepagedialogbase.h
Generated by
1.13.2