umbrello  2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
classpropertiesdialog.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 CLASSPROPERTIESDIALOG_H
7 #define CLASSPROPERTIESDIALOG_H
8 
9 #include "multipagedialogbase.h"
10 
12 class ClassGeneralPage;
13 class ClassifierListPage;
14 class ClassOptionsPage;
15 class ConstraintListPage;
16 class EntityWidget;
18 class ObjectWidget;
19 class UMLDoc;
20 class UMLObject;
21 class UMLWidget;
22 class UMLWidgetStylePage;
23 
30 {
31  Q_OBJECT
32 public:
33  ClassPropertiesDialog(QWidget *parent, UMLObject *c, bool assoc = false);
34  ClassPropertiesDialog(QWidget *parent, ObjectWidget * o);
35  ClassPropertiesDialog(QWidget *parent, UMLWidget * o);
36 
38 
41 
42  virtual void apply();
43 
44 protected slots:
45  void slotOk();
46  void slotApply();
47 
48 protected:
49  void setupPages(bool assoc = false);
50  void setupGeneralPage();
51  void setupDisplayPage();
52  void setupAttributesPage();
53  void setupOperationsPage();
54  void setupTemplatesPage();
55  void setupEnumLiteralsPage();
59  void setupContentsPage();
60  void setupAssociationsPage();
61  void setupInstancePages();
62 
63 private:
74 
78 
79 private:
80  void init();
81 
82 };
83 
84 #endif
The page shows all the Associations that belong to a UMLClassifier.
Definition: classassociationspage.h:28
Display properties on a UMLObject.
Definition: classgeneralpage.h:41
A dialog page to display the class related options.
Definition: classoptionspage.h:35
Definition: classpropertiesdialog.h:30
void setupGeneralPage()
Definition: classpropertiesdialog.cpp:237
virtual void apply()
Definition: classpropertiesdialog.cpp:143
ClassifierListPage * m_pOpsPage
Definition: classpropertiesdialog.h:66
ClassifierListPage * m_pEntityAttributePage
Definition: classpropertiesdialog.h:69
ClassPropertiesDialog(QWidget *parent, UMLObject *c, bool assoc=false)
Definition: classpropertiesdialog.cpp:41
void setupAttributesPage()
Definition: classpropertiesdialog.cpp:274
void slotOk()
Definition: classpropertiesdialog.cpp:151
ClassifierListPage * m_pTemplatePage
Definition: classpropertiesdialog.h:67
ClassOptionsPage * m_pOptionsPage
Definition: classpropertiesdialog.h:73
void setupEntityAttributesPage()
Definition: classpropertiesdialog.cpp:314
void slotApply()
Definition: classpropertiesdialog.cpp:160
ClassAssociationsPage * m_pAssocPage
Definition: classpropertiesdialog.h:72
ConstraintListPage * m_pEntityConstraintPage
Definition: classpropertiesdialog.h:70
ClassifierListPage * m_pAttPage
Definition: classpropertiesdialog.h:65
void setupAssociationsPage()
Definition: classpropertiesdialog.cpp:344
void setupDisplayPage()
Definition: classpropertiesdialog.cpp:253
void setupEntityConstraintsPage()
Definition: classpropertiesdialog.cpp:324
void setupEntityDisplayPage(EntityWidget *widget)
Definition: classpropertiesdialog.cpp:264
ClassGeneralPage * m_pGenPage
Definition: classpropertiesdialog.h:64
UMLWidget * m_pWidget
Definition: classpropertiesdialog.h:77
UMLObject * m_pObject
Definition: classpropertiesdialog.h:76
PackageContentsPage * m_pPkgContentsPage
Definition: classpropertiesdialog.h:71
void setupInstancePages()
Definition: classpropertiesdialog.cpp:354
void setupPages(bool assoc=false)
Definition: classpropertiesdialog.cpp:197
Page
Definition: classpropertiesdialog.h:39
@ page_template
Definition: classpropertiesdialog.h:39
@ page_op
Definition: classpropertiesdialog.h:39
@ page_color
Definition: classpropertiesdialog.h:40
@ page_att
Definition: classpropertiesdialog.h:39
@ page_options
Definition: classpropertiesdialog.h:40
@ page_assoc
Definition: classpropertiesdialog.h:40
@ page_gen
Definition: classpropertiesdialog.h:39
@ page_constraint
Definition: classpropertiesdialog.h:39
@ page_font
Definition: classpropertiesdialog.h:40
@ page_entatt
Definition: classpropertiesdialog.h:39
void setupOperationsPage()
Definition: classpropertiesdialog.cpp:284
void setupEnumLiteralsPage()
Definition: classpropertiesdialog.cpp:304
ClassifierListPage * m_pEnumLiteralPage
Definition: classpropertiesdialog.h:68
~ClassPropertiesDialog()
Definition: classpropertiesdialog.cpp:136
void setupTemplatesPage()
Definition: classpropertiesdialog.cpp:294
UMLDoc * m_doc
Definition: classpropertiesdialog.h:75
void init()
Definition: classpropertiesdialog.cpp:117
void setupContentsPage()
Definition: classpropertiesdialog.cpp:334
A dialog page to display classifier properties.
Definition: classifierlistpage.h:35
An extension to the classifier list dialog page to display constraint properties.
Definition: constraintlistpage.h:27
A graphical version of an entity.
Definition: entitywidget.h:25
Definition: multipagedialogbase.h:47
Displays an instance of a Concept.
Definition: objectwidget.h:28
The page shows all the objects that belong to a UMLPackage.
Definition: packagecontentspage.h:21
Definition: umldoc.h:63
The base class for UML objects.
Definition: umlobject.h:70
Definition: umlwidgetstylepage.h:28
The base class for graphical UML objects.
Definition: umlwidget.h:36