umbrello: umbrello/dialogs/umlcheckconstraintdialog.h Source File

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

- Main Page
- Related Pages
- Modules
- 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
12class UMLDoc;
13class UMLCheckConstraint;
14class QLineEdit;
15class KTextEdit;
16class QLabel;
17
25 class UMLCheckConstraintDialog : public SinglePageDialogBase
26{
27 Q_OBJECT
28public:
29
36 UMLCheckConstraintDialog(QWidget* parent, UMLCheckConstraint* pUniqueConstraint);
37
41 ~UMLCheckConstraintDialog();
42
43protected:
44
45 void setupDialog();
46
47 virtual bool apply();
48
49private:
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::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