umbrello  2.32.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
documentationwidget.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 DOCUMENTATIONWIDGET_H
12 #define DOCUMENTATIONWIDGET_H
13 
14 #include <QWidget>
15 
16 class AssociationWidget;
17 class CodeTextEdit;
18 class UMLObject;
19 class UMLWidget;
20 
21 class KTextEdit;
22 
23 class QGridLayout;
24 class QGroupBox;
25 
26 class DocumentationWidget : public QWidget
27 {
28  Q_OBJECT
29 public:
30  explicit DocumentationWidget(UMLObject *o, QWidget *parent = 0);
31  explicit DocumentationWidget(UMLWidget *w, QWidget *parent = 0);
32  explicit DocumentationWidget(AssociationWidget *w, QWidget *parent = 0);
34 
35  void apply();
36 
37 protected:
38  QGroupBox *m_box;
39  KTextEdit *m_editField;
44  void init(const QString &text);
45 };
46 
47 #endif // DOCUMENTATIONWIDGET_H
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
Definition: codetextedit.h:40
Definition: documentationwidget.h:27
void apply()
Definition: documentationwidget.cpp:70
CodeTextEdit * m_codeEditField
Definition: documentationwidget.h:40
DocumentationWidget(UMLObject *o, QWidget *parent=0)
Definition: documentationwidget.cpp:31
AssociationWidget * m_assocWidget
Definition: documentationwidget.h:43
QGroupBox * m_box
Definition: documentationwidget.h:38
void init(const QString &text)
Definition: documentationwidget.cpp:92
~DocumentationWidget()
Definition: documentationwidget.cpp:61
UMLWidget * m_widget
Definition: documentationwidget.h:42
KTextEdit * m_editField
Definition: documentationwidget.h:39
UMLObject * m_object
Definition: documentationwidget.h:41
The base class for UML objects.
Definition: umlobject.h:75
The base class for graphical UML objects.
Definition: umlwidget.h:41