umbrello  2.32.3
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
Display properties on a UMLObject.
Definition: classgeneralpage.h:44
QCheckBox * m_pDrawActorCB
Definition: classgeneralpage.h:88
UMLWidget * m_pInstanceWidget
Definition: classgeneralpage.h:84
VisibilityEnumWidget * m_visibilityEnumWidget
Definition: classgeneralpage.h:96
UMLStereotypeWidget * m_stereotypeWidget
Definition: classgeneralpage.h:93
void insertStereotypesSorted(const QString &type)
ObjectWidget * m_pWidget
Definition: classgeneralpage.h:83
ClassGeneralPage(UMLDoc *d, QWidget *parent, UMLObject *o)
Definition: classgeneralpage.cpp:57
UMLObjectNameWidget * m_nameWidget
Definition: classgeneralpage.h:91
UMLObjectNameWidget * m_instanceNameWidget
Definition: classgeneralpage.h:92
QCheckBox * m_pDeconCB
Definition: classgeneralpage.h:88
void slotActorToggled(bool state)
Definition: classgeneralpage.cpp:394
QLabel * m_pStereoTypeL
Definition: classgeneralpage.h:87
QCheckBox * m_pAbstractCB
Definition: classgeneralpage.h:88
UMLDoc * m_pUmldoc
Definition: classgeneralpage.h:85
UMLArtifactTypeWidget * m_artifactTypeWidget
Definition: classgeneralpage.h:95
UMLPackageWidget * m_packageWidget
Definition: classgeneralpage.h:94
void setInstanceWidgetNameIfApplicable(const QString &name) const
Definition: classgeneralpage.cpp:405
QCheckBox * m_pMultiCB
Definition: classgeneralpage.h:88
~ClassGeneralPage()
Definition: classgeneralpage.cpp:288
void apply()
Definition: classgeneralpage.cpp:296
QLabel * m_pInstanceL
Definition: classgeneralpage.h:87
UMLObject * m_pObject
Definition: classgeneralpage.h:82
QCheckBox * m_pExecutableCB
Definition: classgeneralpage.h:89
DocumentationWidget * m_docWidget
Definition: classgeneralpage.h:90
Definition: dialogpagebase.h:25
Definition: documentationwidget.h:27
Displays an instance of a Concept.
Definition: objectwidget.h:33
Definition: umlartifacttypewidget.h:24
Definition: umldoc.h:75
Definition: umlobjectnamewidget.h:22
The base class for UML objects.
Definition: umlobject.h:74
Definition: umlpackagewidget.h:24
Definition: umlstereotypewidget.h:20
The base class for graphical UML objects.
Definition: umlwidget.h:41
Definition: visibilityenumwidget.h:27