umbrello: umbrello/dialogs/umlenumliteraldialog.h Source File

umbrello 2.32.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlenumliteraldialog.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 3 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2015 Tzvetelin Katchov <katchov@gmail.com> *
8 * copyright (C) 2002-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef UMLENUMLITERALDIALOG_H
13 #define UMLENUMLITERALDIALOG_H
14
15 #include "singlepagedialogbase.h"
16
17 class QGroupBox;
18 class QLabel;
19 class UMLEnumLiteral;
20 class KLineEdit;
21
26 class UMLEnumLiteralDialog : public SinglePageDialogBase
27 {
28 Q_OBJECT
29 public:
30 UMLEnumLiteralDialog(QWidget * pParent, UMLEnumLiteral * pEnumLiteral);
31 ~UMLEnumLiteralDialog();
32
33 protected:
34
35 void setupDialog();
36
37 bool apply();
38
42 UMLEnumLiteral * m_pEnumLiteral;
43
44 //GUI Widgets
45 QGroupBox * m_pValuesGB;
46 QLabel * m_pNameL, * m_pValueL;
47 KLineEdit * m_pNameLE, * m_pValueLE;
48
49 public slots:
50 void slotNameChanged(const QString &);
51 };
52
53 #endif
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
UMLEnumLiteralDialog
Definition: umlenumliteraldialog.h:27
UMLEnumLiteralDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umlenumliteraldialog.h:45
UMLEnumLiteralDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umlenumliteraldialog.h:47
UMLEnumLiteralDialog::slotNameChanged
void slotNameChanged(const QString &)
Definition: umlenumliteraldialog.cpp:74
UMLEnumLiteralDialog::~UMLEnumLiteralDialog
~UMLEnumLiteralDialog()
Definition: umlenumliteraldialog.cpp:39
UMLEnumLiteralDialog::m_pNameL
QLabel * m_pNameL
Definition: umlenumliteraldialog.h:46
UMLEnumLiteralDialog::setupDialog
void setupDialog()
Definition: umlenumliteraldialog.cpp:46
UMLEnumLiteralDialog::m_pValueL
QLabel * m_pValueL
Definition: umlenumliteraldialog.h:46
UMLEnumLiteralDialog::m_pValueLE
KLineEdit * m_pValueLE
Definition: umlenumliteraldialog.h:47
UMLEnumLiteralDialog::UMLEnumLiteralDialog
UMLEnumLiteralDialog(QWidget *pParent, UMLEnumLiteral *pEnumLiteral)
Definition: umlenumliteraldialog.cpp:31
UMLEnumLiteralDialog::m_pEnumLiteral
UMLEnumLiteral * m_pEnumLiteral
Definition: umlenumliteraldialog.h:42
UMLEnumLiteralDialog::apply
bool apply()
Definition: umlenumliteraldialog.cpp:83
UMLEnumLiteral
Sets up attribute information.
Definition: enumliteral.h:26
singlepagedialogbase.h