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

umlcheckconstraintdialog.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) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLCHECKCONSTRAINTDIALOG_H
12 #define UMLCHECKCONSTRAINTDIALOG_H
13
14 //kde includes
15 #include "singlepagedialogbase.h"
16
17 class UMLDoc;
18 class UMLCheckConstraint;
19 class KLineEdit;
20 class KTextEdit;
21 class QLabel;
22
30 class UMLCheckConstraintDialog : public SinglePageDialogBase
31 {
32 Q_OBJECT
33 public:
34
41 UMLCheckConstraintDialog(QWidget* parent, UMLCheckConstraint* pUniqueConstraint);
42
46 ~UMLCheckConstraintDialog();
47
48 protected:
49
50 void setupDialog();
51
52 virtual bool apply();
53
54 private:
55
56 UMLCheckConstraint* m_pCheckConstraint;
57
61 QLabel* m_pNameL;
62 KLineEdit* m_pNameLE;
63 QLabel* m_pCheckConditionL;
64 KTextEdit* m_pCheckConditionTE;
65 };
66
67 #endif
checkconstraint.h
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLCheckConstraintDialog::apply
virtual bool apply()
Definition: umlcheckconstraintdialog.cpp:82
UMLCheckConstraintDialog::m_pCheckConstraint
UMLCheckConstraint * m_pCheckConstraint
Definition: umlcheckconstraintdialog.h:56
UMLObject::emitModified
void emitModified()
Definition: umlobject.cpp:385
UMLObject::setName
virtual void setName(const QString &strName)
Definition: umlobject.cpp:192
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
singlepagedialogbase.h
UMLCheckConstraintDialog::m_pCheckConditionTE
KTextEdit * m_pCheckConditionTE
Definition: umlcheckconstraintdialog.h:64
UMLCheckConstraintDialog::UMLCheckConstraintDialog
UMLCheckConstraintDialog(QWidget *parent, UMLCheckConstraint *pUniqueConstraint)
Definition: umlcheckconstraintdialog.cpp:27
i18n
#define i18n
Definition: main.cpp:39
UMLCheckConstraintDialog::setupDialog
void setupDialog()
Definition: umlcheckconstraintdialog.cpp:43
UMLDoc
Definition: umldoc.h:75
UMLCheckConstraint::setCheckCondition
void setCheckCondition(const QString &condition)
Definition: checkconstraint.h:55
UMLCheckConstraintDialog::m_pNameL
QLabel * m_pNameL
Definition: umlcheckconstraintdialog.h:61
UMLCheckConstraint::getCheckCondition
QString getCheckCondition() const
Definition: checkconstraint.h:51
UMLCheckConstraintDialog::~UMLCheckConstraintDialog
~UMLCheckConstraintDialog()
Definition: umlcheckconstraintdialog.cpp:36
uml.h
UMLCheckConstraint
Sets up Check Constraint information for UMLEntities.
Definition: checkconstraint.h:26
UMLCheckConstraintDialog
A dialog page to display check constraint properties.
Definition: umlcheckconstraintdialog.h:31
umlcheckconstraintdialog.h
UMLCheckConstraintDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umlcheckconstraintdialog.h:62
UMLCheckConstraintDialog::m_pCheckConditionL
QLabel * m_pCheckConditionL
Definition: umlcheckconstraintdialog.h:63
umldoc.h