umbrello  2.32.0
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 
31 {
32  Q_OBJECT
33 public:
34 
41  UMLCheckConstraintDialog(QWidget* parent, UMLCheckConstraint* pUniqueConstraint);
42 
47 
48 protected:
49 
50  void setupDialog();
51 
52  virtual bool apply();
53 
54 private:
55 
57 
61  QLabel* m_pNameL;
62  KLineEdit* m_pNameLE;
64  KTextEdit* m_pCheckConditionTE;
65 };
66 
67 #endif
Definition: singlepagedialogbase.h:36
A dialog page to display check constraint properties.
Definition: umlcheckconstraintdialog.h:31
UMLCheckConstraint * m_pCheckConstraint
Definition: umlcheckconstraintdialog.h:56
KTextEdit * m_pCheckConditionTE
Definition: umlcheckconstraintdialog.h:64
QLabel * m_pNameL
Definition: umlcheckconstraintdialog.h:61
virtual bool apply()
Definition: umlcheckconstraintdialog.cpp:82
~UMLCheckConstraintDialog()
Definition: umlcheckconstraintdialog.cpp:36
UMLCheckConstraintDialog(QWidget *parent, UMLCheckConstraint *pUniqueConstraint)
Definition: umlcheckconstraintdialog.cpp:27
QLabel * m_pCheckConditionL
Definition: umlcheckconstraintdialog.h:63
void setupDialog()
Definition: umlcheckconstraintdialog.cpp:43
KLineEdit * m_pNameLE
Definition: umlcheckconstraintdialog.h:62
Sets up Check Constraint information for UMLEntities.
Definition: checkconstraint.h:26
Definition: umldoc.h:75