umbrello: umbrello/dialogs/widgets/documentationwidget.h Source File

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

- Main Page
- Related Pages
- Topics
- 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
11class AssociationWidget;
12class CodeTextEdit;
13class UMLObject;
14class UMLWidget;
15
16class KTextEdit;
17
18class QGridLayout;
19class QGroupBox;
20
21 class DocumentationWidget : public QWidget
22{
23 Q_OBJECT
24public:
25 explicit DocumentationWidget(UMLObject *o, QWidget *parent = 0);
26 explicit DocumentationWidget(UMLWidget *w, QWidget *parent = 0);
27 explicit DocumentationWidget(AssociationWidget *w, QWidget *parent = 0);
28 ~DocumentationWidget();
29
30 void apply();
31
32protected:
33 QGroupBox *m_box;
34 KTextEdit *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::DocumentationWidget
DocumentationWidget(UMLObject *o, QWidget *parent=0)
Definition documentationwidget.cpp:21
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
KTextEdit * 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