umbrello  2.32.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  * 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 CLASSPROPERTIESDIALOG_H
12 #define CLASSPROPERTIESDIALOG_H
13 
14 #include "multipagedialogbase.h"
15 
17 class ClassGeneralPage;
18 class ClassifierListPage;
19 class ClassOptionsPage;
20 class ConstraintListPage;
21 class EntityWidget;
23 class ObjectWidget;
24 class UMLDoc;
25 class UMLObject;
26 class UMLWidget;
27 class UMLWidgetStylePage;
28 
35 {
36  Q_OBJECT
37 public:
38  ClassPropertiesDialog(QWidget *parent, UMLObject *c, bool assoc = false);
39  ClassPropertiesDialog(QWidget *parent, ObjectWidget * o);
40  ClassPropertiesDialog(QWidget *parent, UMLWidget * o);
41 
43 
46 
47  virtual void apply();
48 
49 protected slots:
50  void slotOk();
51  void slotApply();
52 
53 protected:
54  void setupPages(bool assoc = false);
55  void setupGeneralPage();
56  void setupDisplayPage();
57  void setupAttributesPage();
58  void setupOperationsPage();
59  void setupTemplatesPage();
60  void setupEnumLiteralsPage();
64  void setupContentsPage();
65  void setupAssociationsPage();
66  void setupInstancePages();
67 
68 private:
79 
83 
84 private:
85  void init();
86 
87 };
88 
89 #endif
The page shows all the Associations that belong to a UMLClassifier.
Definition: classassociationspage.h:33
Display properties on a UMLObject.
Definition: classgeneralpage.h:46
A dialog page to display the class related options.
Definition: classoptionspage.h:40
Definition: classpropertiesdialog.h:35
void setupGeneralPage()
Definition: classpropertiesdialog.cpp:242
virtual void apply()
Definition: classpropertiesdialog.cpp:148
ClassifierListPage * m_pOpsPage
Definition: classpropertiesdialog.h:71
ClassifierListPage * m_pEntityAttributePage
Definition: classpropertiesdialog.h:74
ClassPropertiesDialog(QWidget *parent, UMLObject *c, bool assoc=false)
Definition: classpropertiesdialog.cpp:46
void setupAttributesPage()
Definition: classpropertiesdialog.cpp:279
void slotOk()
Definition: classpropertiesdialog.cpp:156
ClassifierListPage * m_pTemplatePage
Definition: classpropertiesdialog.h:72
ClassOptionsPage * m_pOptionsPage
Definition: classpropertiesdialog.h:78
void setupEntityAttributesPage()
Definition: classpropertiesdialog.cpp:319
void slotApply()
Definition: classpropertiesdialog.cpp:165
ClassAssociationsPage * m_pAssocPage
Definition: classpropertiesdialog.h:77
ConstraintListPage * m_pEntityConstraintPage
Definition: classpropertiesdialog.h:75
ClassifierListPage * m_pAttPage
Definition: classpropertiesdialog.h:70
void setupAssociationsPage()
Definition: classpropertiesdialog.cpp:349
void setupDisplayPage()
Definition: classpropertiesdialog.cpp:258
void setupEntityConstraintsPage()
Definition: classpropertiesdialog.cpp:329
void setupEntityDisplayPage(EntityWidget *widget)
Definition: classpropertiesdialog.cpp:269
ClassGeneralPage * m_pGenPage
Definition: classpropertiesdialog.h:69
UMLWidget * m_pWidget
Definition: classpropertiesdialog.h:82
UMLObject * m_pObject
Definition: classpropertiesdialog.h:81
PackageContentsPage * m_pPkgContentsPage
Definition: classpropertiesdialog.h:76
void setupInstancePages()
Definition: classpropertiesdialog.cpp:359
void setupPages(bool assoc=false)
Definition: classpropertiesdialog.cpp:202
Page
Definition: classpropertiesdialog.h:44
@ page_template
Definition: classpropertiesdialog.h:44
@ page_op
Definition: classpropertiesdialog.h:44
@ page_color
Definition: classpropertiesdialog.h:45
@ page_att
Definition: classpropertiesdialog.h:44
@ page_options
Definition: classpropertiesdialog.h:45
@ page_assoc
Definition: classpropertiesdialog.h:45
@ page_gen
Definition: classpropertiesdialog.h:44
@ page_constraint
Definition: classpropertiesdialog.h:44
@ page_font
Definition: classpropertiesdialog.h:45
@ page_entatt
Definition: classpropertiesdialog.h:44
void setupOperationsPage()
Definition: classpropertiesdialog.cpp:289
void setupEnumLiteralsPage()
Definition: classpropertiesdialog.cpp:309
ClassifierListPage * m_pEnumLiteralPage
Definition: classpropertiesdialog.h:73
~ClassPropertiesDialog()
Definition: classpropertiesdialog.cpp:141
void setupTemplatesPage()
Definition: classpropertiesdialog.cpp:299
UMLDoc * m_doc
Definition: classpropertiesdialog.h:80
void init()
Definition: classpropertiesdialog.cpp:122
void setupContentsPage()
Definition: classpropertiesdialog.cpp:339
A dialog page to display classifier properties.
Definition: classifierlistpage.h:40
An extension to the classifier list dialog page to display constraint properties.
Definition: constraintlistpage.h:37
A graphical version of an entity.
Definition: entitywidget.h:30
Definition: multipagedialogbase.h:52
Displays an instance of a Concept.
Definition: objectwidget.h:33
The page shows all the objects that belong to a UMLPackage.
Definition: packagecontentspage.h:26
Definition: umldoc.h:75
The base class for UML objects.
Definition: umlobject.h:75
Definition: umlwidgetstylepage.h:38
The base class for graphical UML objects.
Definition: umlwidget.h:41