umbrello 26.03.70-1a62d36 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
Definition: singlepagedialogbase.h:23
StereoAttributeDialog
Definition: stereoattributedialog.h:24
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:43
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:50
StereoAttributeDialog::m_pStereotype
UMLStereotype * m_pStereotype
Definition: stereoattributedialog.h:37
StereoAttributeDialog::m_pTypeLabel
QLabel * m_pTypeLabel[N_STEREOATTRS]
Definition: stereoattributedialog.h:43
StereoAttributeDialog::apply
bool apply()
Definition: stereoattributedialog.cpp:111
UMLStereotype
Sets up stereotype information.
Definition: umlstereotype.h:36
n_stereoattrs.h
N_STEREOATTRS
#define N_STEREOATTRS
Definition: n_stereoattrs.h:11
singlepagedialogbase.h