umbrello  2.31.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
classgeneralpage.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) 2002-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef CLASSGENERALPAGE_H
12 #define CLASSGENERALPAGE_H
13 
14 #include "dialogpagebase.h"
15 
17 class QGroupBox;
18 class QLabel;
19 class QRadioButton;
20 class QCheckBox;
21 class QLineEdit;
22 class KComboBox;
23 class KLineEdit;
24 
25 class UMLObject;
26 class UMLWidget;
27 class ObjectWidget;
28 class UMLDoc;
31 class UMLPackageWidget;
34 
44 {
45  Q_OBJECT
46 public:
47 
54  ClassGeneralPage(UMLDoc *d, QWidget *parent, UMLObject * o);
55 
62  ClassGeneralPage(UMLDoc *d, QWidget *parent, ObjectWidget * o);
63 
72  ClassGeneralPage(UMLDoc* d, QWidget* parent, UMLWidget* widget);
73 
78 
79  void apply();
80 
81 private:
86 
89  QCheckBox * m_pExecutableCB;
97 
98  void insertStereotypesSorted(const QString& type);
99  void setInstanceWidgetNameIfApplicable(const QString& name) const;
100 
101 public slots:
102  void slotActorToggled(bool state);
103 };
104 
105 #endif
Displays an instance of a Concept.
Definition: objectwidget.h:32
Definition: visibilityenumwidget.h:26
UMLArtifactTypeWidget * m_artifactTypeWidget
Definition: classgeneralpage.h:95
Display properties on a UMLObject.
Definition: classgeneralpage.h:43
UMLObject * m_pObject
Definition: classgeneralpage.h:82
UMLWidget * m_pInstanceWidget
Definition: classgeneralpage.h:84
Definition: dialogpagebase.h:24
QCheckBox * m_pExecutableCB
Definition: classgeneralpage.h:89
QCheckBox * m_pMultiCB
Definition: classgeneralpage.h:88
void setInstanceWidgetNameIfApplicable(const QString &name) const
Definition: classgeneralpage.cpp:405
Definition: umlobjectnamewidget.h:21
UMLObjectNameWidget * m_nameWidget
Definition: classgeneralpage.h:91
UMLStereotypeWidget * m_stereotypeWidget
Definition: classgeneralpage.h:93
Definition: umlpackagewidget.h:23
void slotActorToggled(bool state)
Definition: classgeneralpage.cpp:394
UMLPackageWidget * m_packageWidget
Definition: classgeneralpage.h:94
The base class for UML objects.
Definition: umlobject.h:73
QCheckBox * m_pAbstractCB
Definition: classgeneralpage.h:88
Definition: umlartifacttypewidget.h:23
UMLDoc * m_pUmldoc
Definition: classgeneralpage.h:85
UMLObjectNameWidget * m_instanceNameWidget
Definition: classgeneralpage.h:92
Definition: documentationwidget.h:26
DocumentationWidget * m_docWidget
Definition: classgeneralpage.h:90
QCheckBox * m_pDeconCB
Definition: classgeneralpage.h:88
void apply()
Definition: classgeneralpage.cpp:296
~ClassGeneralPage()
Definition: classgeneralpage.cpp:288
void insertStereotypesSorted(const QString &type)
QLabel * m_pInstanceL
Definition: classgeneralpage.h:87
QLabel * m_pStereoTypeL
Definition: classgeneralpage.h:87
ObjectWidget * m_pWidget
Definition: classgeneralpage.h:83
QCheckBox * m_pDrawActorCB
Definition: classgeneralpage.h:88
ClassGeneralPage(UMLDoc *d, QWidget *parent, UMLObject *o)
Definition: classgeneralpage.cpp:57
VisibilityEnumWidget * m_visibilityEnumWidget
Definition: classgeneralpage.h:96
Definition: umlstereotypewidget.h:19
Definition: umldoc.h:74
The base class for graphical UML objects.
Definition: umlwidget.h:40