umbrello 26.07.70-c53146a Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

documentationwidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef DOCUMENTATIONWIDGET_H
7#define DOCUMENTATIONWIDGET_H
8
9#include <QWidget>
10
11 class AssociationWidget;
12 class CodeTextEdit;
13 class UMLObject;
14 class UMLWidget;
15
16 class QTextEdit;
17
18 class QGridLayout;
19 class QGroupBox;
20
21 class DocumentationWidget : public QWidget
22{
23 Q_OBJECT
24 public:
25 explicit DocumentationWidget(UMLObject *o, QWidget *parent = nullptr);
26 explicit DocumentationWidget(UMLWidget *w, QWidget *parent = nullptr);
27 explicit DocumentationWidget(AssociationWidget *w, QWidget *parent = nullptr);
28 ~DocumentationWidget();
29
30 void apply();
31
32 protected:
33 QGroupBox *m_box;
34 QTextEdit *m_editField;
35 CodeTextEdit *m_codeEditField;
36 UMLObject *m_object;
37 UMLWidget *m_widget;
38 AssociationWidget *m_assocWidget;
39 void init(const QString &text);
40};
41
42#endif // DOCUMENTATIONWIDGET_H
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:47
CodeTextEdit
Definition: codetextedit.h:26
DocumentationWidget
Definition: documentationwidget.h:22
DocumentationWidget::apply
void apply()
Definition: documentationwidget.cpp:60
DocumentationWidget::m_codeEditField
CodeTextEdit * m_codeEditField
Definition: documentationwidget.h:35
DocumentationWidget::m_assocWidget
AssociationWidget * m_assocWidget
Definition: documentationwidget.h:38
DocumentationWidget::m_box
QGroupBox * m_box
Definition: documentationwidget.h:33
DocumentationWidget::init
void init(const QString &text)
Definition: documentationwidget.cpp:82
DocumentationWidget::~DocumentationWidget
~DocumentationWidget()
Definition: documentationwidget.cpp:51
DocumentationWidget::m_widget
UMLWidget * m_widget
Definition: documentationwidget.h:37
DocumentationWidget::m_editField
QTextEdit * m_editField
Definition: documentationwidget.h:34
DocumentationWidget::m_object
UMLObject * m_object
Definition: documentationwidget.h:36
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36