umbrello  2.32.0
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  * 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) 2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef STEREOATTRIBUTEDIALOG_H
12 #define STEREOATTRIBUTEDIALOG_H
13 
14 #include "singlepagedialogbase.h"
15 #include "n_stereoattrs.h"
16 
17 class QGroupBox;
18 class QLabel;
19 class KLineEdit;
20 class QComboBox;
21 class UMLStereotype;
22 
28 {
29  Q_OBJECT
30 public:
31  StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype);
32  virtual ~StereoAttributeDialog();
33 
34 protected:
35  void setupDialog();
36  bool apply();
37 
42 
43  //GUI Widgets
44  QGroupBox * m_pValuesGB;
46  KLineEdit * m_pNameEdit [N_STEREOATTRS];
48  QComboBox * m_pTypeCombo [N_STEREOATTRS];
51 
52 };
53 
54 #endif
Definition: singlepagedialogbase.h:36
Definition: stereoattributedialog.h:28
QComboBox * m_pTypeCombo[N_STEREOATTRS]
Definition: stereoattributedialog.h:48
QLabel * m_pDefaultValueLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:49
KLineEdit * m_pNameEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:46
QLabel * m_pNameLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:45
virtual ~StereoAttributeDialog()
Definition: stereoattributedialog.cpp:46
QGroupBox * m_pValuesGB
Definition: stereoattributedialog.h:44
void setupDialog()
Definition: stereoattributedialog.cpp:53
UMLStereotype * m_pStereotype
Definition: stereoattributedialog.h:41
StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype)
Definition: stereoattributedialog.cpp:38
KLineEdit * m_pDefaultValueEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:50
QLabel * m_pTypeLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:47
bool apply()
Definition: stereoattributedialog.cpp:114
Sets up stereotype information.
Definition: stereotype.h:41
#define N_STEREOATTRS
Definition: n_stereoattrs.h:15