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

umlinstanceattributedialog.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 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2016-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLINSTANCEATTRIBUTEDIALOG_H
12 #define UMLINSTANCEATTRIBUTEDIALOG_H
13
14 #include <QWidget>
15 #include "singlepagedialogbase.h"
16 #include "attribute.h"
17
18 namespace Ui {
19 class UMLInstanceAttributeDialog;
20 }
21
22 class UMLInstanceAttributeDialog : public SinglePageDialogBase
23 {
24 Q_OBJECT
25
26 public:
27 explicit UMLInstanceAttributeDialog(QWidget *parent, UMLAttribute *pAttribute);
28 ~UMLInstanceAttributeDialog();
29
30 private:
31 Ui::UMLInstanceAttributeDialog *ui;
32 UMLAttribute *m_pAttribute;
33
34 protected:
35 bool apply();
36
37 public slots:
38 void slotNameChanged(const QString &text);
39 };
40
41 #endif // UMLINSTANCEATTRIBUTEDIALOG_H
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
UMLInstanceAttributeDialog::~UMLInstanceAttributeDialog
~UMLInstanceAttributeDialog()
Definition: umlinstanceattributedialog.cpp:32
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:671
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
UMLInstanceAttributeDialog
Definition: umlinstanceattributedialog.h:23
UMLAttribute::setName
void setName(const QString &name)
Definition: attribute.cpp:76
singlepagedialogbase.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLInstanceAttributeDialog::apply
bool apply()
Definition: umlinstanceattributedialog.cpp:37
UMLAttribute::setInitialValue
void setInitialValue(const QString &iv)
Definition: attribute.cpp:109
Ui
Definition: ui_autolayoutoptionpage.h:125
attribute.h
UMLInstanceAttributeDialog::slotNameChanged
void slotNameChanged(const QString &text)
Definition: umlinstanceattributedialog.cpp:64
i18n
#define i18n
Definition: main.cpp:39
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
UMLInstanceAttributeDialog::m_pAttribute
UMLAttribute * m_pAttribute
Definition: umlinstanceattributedialog.h:32
classifier.h
Ui_UMLInstanceAttributeDialog::valueLE
QLineEdit * valueLE
Definition: ui_umlinstanceattributedialog.h:30
UMLInstanceAttributeDialog::ui
Ui::UMLInstanceAttributeDialog * ui
Definition: umlinstanceattributedialog.h:31
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Ui_UMLInstanceAttributeDialog::setupUi
void setupUi(QWidget *UMLInstanceAttributeDialog)
Definition: ui_umlinstanceattributedialog.h:33
ui_umlinstanceattributedialog.h
UMLInstanceAttributeDialog::UMLInstanceAttributeDialog
UMLInstanceAttributeDialog(QWidget *parent, UMLAttribute *pAttribute)
Definition: umlinstanceattributedialog.cpp:21
umlinstanceattributedialog.h
Ui_UMLInstanceAttributeDialog::nameLE
QLineEdit * nameLE
Definition: ui_umlinstanceattributedialog.h:31
Ui::UMLInstanceAttributeDialog
Definition: ui_umlinstanceattributedialog.h:85