umbrello 2.32.3 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
UMLEnumLiteralDialog
Definition: umlenumliteraldialog.h:27
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLEnumLiteralDialog::apply
bool apply()
Definition: umlenumliteraldialog.cpp:83
UMLEnumLiteral
Sets up attribute information.
Definition: enumliteral.h:26
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:671
UMLObject::setName
virtual void setName(const QString &strName)
Definition: umlobject.cpp:192
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
Dialog_Utils::makeLabeledEditField
KLineEdit * makeLabeledEditField(QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText, int columnOffset)
Definition: dialog_utils.cpp:52
singlepagedialogbase.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLEnumLiteral::value
QString value() const
Definition: enumliteral.cpp:55
UMLEnumLiteralDialog::m_pNameL
QLabel * m_pNameL
Definition: umlenumliteraldialog.h:46
UMLEnumLiteralDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umlenumliteraldialog.h:45
UMLEnumLiteralDialog::m_pEnumLiteral
UMLEnumLiteral * m_pEnumLiteral
Definition: umlenumliteraldialog.h:42
i18n
#define i18n
Definition: main.cpp:39
UMLEnumLiteralDialog::setupDialog
void setupDialog()
Definition: umlenumliteraldialog.cpp:46
UMLEnumLiteralDialog::m_pValueLE
KLineEdit * m_pValueLE
Definition: umlenumliteraldialog.h:47
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLEnumLiteralDialog::UMLEnumLiteralDialog
UMLEnumLiteralDialog(QWidget *pParent, UMLEnumLiteral *pEnumLiteral)
Definition: umlenumliteraldialog.cpp:31
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
umlenumliteraldialog.h
classifier.h
uError
#define uError()
Definition: debug_utils.h:123
UMLEnumLiteralDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umlenumliteraldialog.h:47
enumliteral.h
UMLEnumLiteralDialog::~UMLEnumLiteralDialog
~UMLEnumLiteralDialog()
Definition: umlenumliteraldialog.cpp:39
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
dialog_utils.h
UMLEnumLiteral::setValue
void setValue(const QString &v)
Definition: enumliteral.cpp:65
UMLEnumLiteralDialog::m_pValueL
QLabel * m_pValueL
Definition: umlenumliteraldialog.h:46
UMLEnumLiteralDialog::slotNameChanged
void slotNameChanged(const QString &)
Definition: umlenumliteraldialog.cpp:74