1 /*
2     SPDX-License-Identifier: GPL-2.0-or-later
3     SPDX-FileCopyrightText: 2016-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef UMLINSTANCEATTRIBUTEDIALOG_H
7 #define UMLINSTANCEATTRIBUTEDIALOG_H
8 
9 #include <QWidget>
10 #include "singlepagedialogbase.h"
11 #include "instanceattribute.h"
12 
13 namespace Ui {
14 class UMLInstanceAttributeDialog;
15 }
16 
17 class UMLInstanceAttributeDialog : public SinglePageDialogBase
18 {
19     Q_OBJECT
20 
21 public:
22     explicit UMLInstanceAttributeDialog(QWidget *parent, UMLInstanceAttribute *pInstanceAttr);
23     ~UMLInstanceAttributeDialog();
24 
25 private:
26     Ui::UMLInstanceAttributeDialog *ui;
27     UMLInstanceAttribute *m_pInstanceAttr;
28 
29 protected:
30     bool apply();
31 };
32 
33 #endif // UMLINSTANCEATTRIBUTEDIALOG_H
34