umbrello  2.32.2
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 
27 {
28  Q_OBJECT
29 public:
30  UMLEnumLiteralDialog(QWidget * pParent, UMLEnumLiteral * pEnumLiteral);
32 
33 protected:
34 
35  void setupDialog();
36 
37  bool apply();
38 
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
Definition: singlepagedialogbase.h:36
Definition: umlenumliteraldialog.h:27
QGroupBox * m_pValuesGB
Definition: umlenumliteraldialog.h:45
KLineEdit * m_pNameLE
Definition: umlenumliteraldialog.h:47
void slotNameChanged(const QString &)
Definition: umlenumliteraldialog.cpp:74
~UMLEnumLiteralDialog()
Definition: umlenumliteraldialog.cpp:39
QLabel * m_pNameL
Definition: umlenumliteraldialog.h:46
void setupDialog()
Definition: umlenumliteraldialog.cpp:46
QLabel * m_pValueL
Definition: umlenumliteraldialog.h:46
KLineEdit * m_pValueLE
Definition: umlenumliteraldialog.h:47
UMLEnumLiteralDialog(QWidget *pParent, UMLEnumLiteral *pEnumLiteral)
Definition: umlenumliteraldialog.cpp:31
UMLEnumLiteral * m_pEnumLiteral
Definition: umlenumliteraldialog.h:42
bool apply()
Definition: umlenumliteraldialog.cpp:83
Sets up attribute information.
Definition: enumliteral.h:26