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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

umlcheckconstraintdialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMLCHECKCONSTRAINTDIALOG_H
7#define UMLCHECKCONSTRAINTDIALOG_H
8
9//kde includes
10#include "singlepagedialogbase.h"
11
12 class UMLDoc;
13 class UMLCheckConstraint;
14 class QLineEdit;
15 class KTextEdit;
16 class QLabel;
17
25 class UMLCheckConstraintDialog : public SinglePageDialogBase
26{
27 Q_OBJECT
28 public:
29
36 UMLCheckConstraintDialog(QWidget* parent, UMLCheckConstraint* pUniqueConstraint);
37
41 ~UMLCheckConstraintDialog();
42
43 protected:
44
45 void setupDialog();
46
47 virtual bool apply();
48
49 private:
50
51 UMLCheckConstraint* m_pCheckConstraint;
52
56 QLabel* m_pNameL;
57 QLineEdit* m_pNameLE;
58 QLabel* m_pCheckConditionL;
59 KTextEdit* m_pCheckConditionTE;
60};
61
62#endif
SinglePageDialogBase
Definition singlepagedialogbase.h:23
UMLCheckConstraintDialog
A dialog page to display check constraint properties.
Definition umlcheckconstraintdialog.h:26
UMLCheckConstraintDialog::m_pCheckConstraint
UMLCheckConstraint * m_pCheckConstraint
Definition umlcheckconstraintdialog.h:51
UMLCheckConstraintDialog::m_pCheckConditionTE
KTextEdit * m_pCheckConditionTE
Definition umlcheckconstraintdialog.h:59
UMLCheckConstraintDialog::m_pNameLE
QLineEdit * m_pNameLE
Definition umlcheckconstraintdialog.h:57
UMLCheckConstraintDialog::m_pNameL
QLabel * m_pNameL
Definition umlcheckconstraintdialog.h:56
UMLCheckConstraintDialog::apply
virtual bool apply()
Definition umlcheckconstraintdialog.cpp:77
UMLCheckConstraintDialog::~UMLCheckConstraintDialog
~UMLCheckConstraintDialog()
Definition umlcheckconstraintdialog.cpp:31
UMLCheckConstraintDialog::UMLCheckConstraintDialog
UMLCheckConstraintDialog(QWidget *parent, UMLCheckConstraint *pUniqueConstraint)
Definition umlcheckconstraintdialog.cpp:22
UMLCheckConstraintDialog::m_pCheckConditionL
QLabel * m_pCheckConditionL
Definition umlcheckconstraintdialog.h:58
UMLCheckConstraintDialog::setupDialog
void setupDialog()
Definition umlcheckconstraintdialog.cpp:38
UMLCheckConstraint
Sets up Check Constraint information for UMLEntities.
Definition checkconstraint.h:21
UMLDoc
Definition umldoc.h:63
singlepagedialogbase.h