umbrello  2.39.2
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 
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 
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 
38 
39  //GUI Widgets
40  QGroupBox * m_pValuesGB;
42  QLineEdit * m_pNameEdit [N_STEREOATTRS];
44  QComboBox * m_pTypeCombo [N_STEREOATTRS];
47 
48 };
49 
50 #endif
Definition: singlepagedialogbase.h:23
Definition: stereoattributedialog.h:24
QLineEdit * m_pDefaultValueEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:46
QComboBox * m_pTypeCombo[N_STEREOATTRS]
Definition: stereoattributedialog.h:44
QLabel * m_pDefaultValueLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:45
QLabel * m_pNameLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:41
virtual ~StereoAttributeDialog()
Definition: stereoattributedialog.cpp:44
QLineEdit * m_pNameEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:42
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
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