umbrello: umbrello/dialogs/stereoattributedialog.h Source File

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
27 class StereoAttributeDialog : public SinglePageDialogBase
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
41 UMLStereotype *m_pStereotype;
42
43 //GUI Widgets
44 QGroupBox * m_pValuesGB;
45 QLabel * m_pNameLabel [N_STEREOATTRS];
46 KLineEdit * m_pNameEdit [N_STEREOATTRS];
47 QLabel * m_pTypeLabel [N_STEREOATTRS];
48 QComboBox * m_pTypeCombo [N_STEREOATTRS];
49 QLabel * m_pDefaultValueLabel[N_STEREOATTRS];
50 KLineEdit * m_pDefaultValueEdit [N_STEREOATTRS];
51
52 };
53
54 #endif
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
StereoAttributeDialog
Definition: stereoattributedialog.h:28
StereoAttributeDialog::m_pTypeCombo
QComboBox * m_pTypeCombo[N_STEREOATTRS]
Definition: stereoattributedialog.h:48
StereoAttributeDialog::m_pDefaultValueLabel
QLabel * m_pDefaultValueLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:49
StereoAttributeDialog::m_pNameEdit
KLineEdit * m_pNameEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:46
StereoAttributeDialog::m_pNameLabel
QLabel * m_pNameLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:45
StereoAttributeDialog::~StereoAttributeDialog
virtual ~StereoAttributeDialog()
Definition: stereoattributedialog.cpp:46
StereoAttributeDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: stereoattributedialog.h:44
StereoAttributeDialog::setupDialog
void setupDialog()
Definition: stereoattributedialog.cpp:53
StereoAttributeDialog::m_pStereotype
UMLStereotype * m_pStereotype
Definition: stereoattributedialog.h:41
StereoAttributeDialog::StereoAttributeDialog
StereoAttributeDialog(QWidget *parent, UMLStereotype *stereotype)
Definition: stereoattributedialog.cpp:38
StereoAttributeDialog::m_pDefaultValueEdit
KLineEdit * m_pDefaultValueEdit[N_STEREOATTRS]
Definition: stereoattributedialog.h:50
StereoAttributeDialog::m_pTypeLabel
QLabel * m_pTypeLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:47
StereoAttributeDialog::apply
bool apply()
Definition: stereoattributedialog.cpp:114
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:41
n_stereoattrs.h
N_STEREOATTRS
#define N_STEREOATTRS
Definition: n_stereoattrs.h:15
singlepagedialogbase.h