umbrello: umbrello/dialogs/umlenumliteraldialog.h Source File

umbrello 2.38.1 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

umlenumliteraldialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3
4 SPDX-FileCopyrightText: 2015 Tzvetelin Katchov <katchov@gmail.com>
5 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef UMLENUMLITERALDIALOG_H
9#define UMLENUMLITERALDIALOG_H
10
11#include "singlepagedialogbase.h"
12
13class QGroupBox;
14class QLabel;
15class UMLEnumLiteral;
16class QLineEdit;
17
22 class UMLEnumLiteralDialog : public SinglePageDialogBase
23{
24 Q_OBJECT
25public:
26 UMLEnumLiteralDialog(QWidget * pParent, UMLEnumLiteral * pEnumLiteral);
27 ~UMLEnumLiteralDialog();
28
29protected:
30
31 void setupDialog();
32
33 bool apply();
34
38 UMLEnumLiteral * m_pEnumLiteral;
39
40 //GUI Widgets
41 QGroupBox * m_pValuesGB;
42 QLabel * m_pNameL, * m_pValueL;
43 QLineEdit * m_pNameLE, * m_pValueLE;
44
45public slots:
46 void slotNameChanged(const QString &);
47};
48
49#endif
SinglePageDialogBase
Definition: singlepagedialogbase.h:23
UMLEnumLiteralDialog
Definition: umlenumliteraldialog.h:23
UMLEnumLiteralDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umlenumliteraldialog.h:41
UMLEnumLiteralDialog::m_pNameLE
QLineEdit * m_pNameLE
Definition: umlenumliteraldialog.h:43
UMLEnumLiteralDialog::slotNameChanged
void slotNameChanged(const QString &)
Definition: umlenumliteraldialog.cpp:71
UMLEnumLiteralDialog::~UMLEnumLiteralDialog
~UMLEnumLiteralDialog()
Definition: umlenumliteraldialog.cpp:36
UMLEnumLiteralDialog::m_pNameL
QLabel * m_pNameL
Definition: umlenumliteraldialog.h:42
UMLEnumLiteralDialog::setupDialog
void setupDialog()
Definition: umlenumliteraldialog.cpp:43
UMLEnumLiteralDialog::m_pValueL
QLabel * m_pValueL
Definition: umlenumliteraldialog.h:42
UMLEnumLiteralDialog::m_pValueLE
QLineEdit * m_pValueLE
Definition: umlenumliteraldialog.h:43
UMLEnumLiteralDialog::m_pEnumLiteral
UMLEnumLiteral * m_pEnumLiteral
Definition: umlenumliteraldialog.h:38
UMLEnumLiteralDialog::apply
bool apply()
Definition: umlenumliteraldialog.cpp:80
UMLEnumLiteral
Sets up attribute information.
Definition: enumliteral.h:21
singlepagedialogbase.h