umbrello: umbrello/dialogs/umlinstanceattributedialog.h Source File

umbrello 2.31.0 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:1308
UMLInstanceAttributeDialog::~UMLInstanceAttributeDialog
~UMLInstanceAttributeDialog()
Definition: umlinstanceattributedialog.cpp:32
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:670
SinglePageDialogBase
Definition: singlepagedialogbase.h:34
UMLInstanceAttributeDialog
Definition: umlinstanceattributedialog.h:22
UMLAttribute::setName
void setName(const QString &name)
Definition: attribute.cpp:76
singlepagedialogbase.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:73
UMLInstanceAttributeDialog::apply
bool apply()
Definition: umlinstanceattributedialog.cpp:37
UMLAttribute::setInitialValue
void setInitialValue(const QString &iv)
Definition: attribute.cpp:109
Ui
Definition: umlinstanceattributedialog.h:18
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:27
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
UMLInstanceAttributeDialog::ui
Ui::UMLInstanceAttributeDialog * ui
Definition: umlinstanceattributedialog.h:31
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:39
UMLInstanceAttributeDialog::UMLInstanceAttributeDialog
UMLInstanceAttributeDialog(QWidget *parent, UMLAttribute *pAttribute)
Definition: umlinstanceattributedialog.cpp:21
umlinstanceattributedialog.h