umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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
11#include "n_stereoattrs.h"
12
13class QGroupBox;
14class QLabel;
15class KLineEdit;
16class QComboBox;
17class UMLStereotype;
18
24{
25 Q_OBJECT
26public:
27 StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype);
28 virtual ~StereoAttributeDialog();
29
30protected:
31 void setupDialog();
32 bool apply();
33
38
39 //GUI Widgets
40 QGroupBox * m_pValuesGB;
47
48};
49
50#endif
Definition: singlepagedialogbase.h:31
Definition: stereoattributedialog.h:24
QComboBox * m_pTypeCombo[N_STEREOATTRS]
Definition: stereoattributedialog.h:44
QLabel * m_pDefaultValueLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:45
KLineEdit * m_pNameEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:42
QLabel * m_pNameLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:41
virtual ~StereoAttributeDialog()
Definition: stereoattributedialog.cpp:44
QGroupBox * m_pValuesGB
Definition: stereoattributedialog.h:40
void setupDialog()
Definition: stereoattributedialog.cpp:51
UMLStereotype * m_pStereotype
Definition: stereoattributedialog.h:37
StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype)
Definition: stereoattributedialog.cpp:36
KLineEdit * m_pDefaultValueEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:46
QLabel * m_pTypeLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:43
bool apply()
Definition: stereoattributedialog.cpp:112
Sets up stereotype information.
Definition: stereotype.h:36
#define N_STEREOATTRS
Definition: n_stereoattrs.h:11