umbrello
2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
dialogs
widgets
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);
33
~DocumentationWidget
();
34
35
void
apply
();
36
37
protected
:
38
QGroupBox *
m_box
;
39
KTextEdit *
m_editField
;
40
CodeTextEdit
*
m_codeEditField
;
41
UMLObject
*
m_object
;
42
UMLWidget
*
m_widget
;
43
AssociationWidget
*
m_assocWidget
;
44
void
init
(
const
QString &text);
45
};
46
47
#endif
// DOCUMENTATIONWIDGET_H
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition:
associationwidget.h:52
CodeTextEdit
Definition:
codetextedit.h:40
DocumentationWidget
Definition:
documentationwidget.h:27
DocumentationWidget::apply
void apply()
Definition:
documentationwidget.cpp:70
DocumentationWidget::m_codeEditField
CodeTextEdit * m_codeEditField
Definition:
documentationwidget.h:40
DocumentationWidget::DocumentationWidget
DocumentationWidget(UMLObject *o, QWidget *parent=0)
Definition:
documentationwidget.cpp:31
DocumentationWidget::m_assocWidget
AssociationWidget * m_assocWidget
Definition:
documentationwidget.h:43
DocumentationWidget::m_box
QGroupBox * m_box
Definition:
documentationwidget.h:38
DocumentationWidget::init
void init(const QString &text)
Definition:
documentationwidget.cpp:92
DocumentationWidget::~DocumentationWidget
~DocumentationWidget()
Definition:
documentationwidget.cpp:61
DocumentationWidget::m_widget
UMLWidget * m_widget
Definition:
documentationwidget.h:42
DocumentationWidget::m_editField
KTextEdit * m_editField
Definition:
documentationwidget.h:39
DocumentationWidget::m_object
UMLObject * m_object
Definition:
documentationwidget.h:41
UMLObject
The base class for UML objects.
Definition:
umlobject.h:75
UMLWidget
The base class for graphical UML objects.
Definition:
umlwidget.h:41
Generated by
1.9.1