umbrello
2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
dialogs
widgets
umlartifacttypewidget.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 UMLARTIFACTTYPEWIDGET_H
12
#define UMLARTIFACTTYPEWIDGET_H
13
14
#include "
artifact.h
"
15
16
#include <QMap>
17
#include <QWidget>
18
19
class
QVBoxLayout;
20
class
QGroupBox;
21
class
QRadioButton;
22
23
class
UMLArtifactTypeWidget
:
public
QWidget
24
{
25
Q_OBJECT
26
public
:
27
typedef
QMap<UMLArtifact::Draw_Type,QRadioButton*>
ButtonMap
;
28
29
explicit
UMLArtifactTypeWidget
(
UMLArtifact
*
a
, QWidget *parent = 0);
30
~UMLArtifactTypeWidget
();
31
32
void
addToLayout
(QVBoxLayout *layout);
33
void
apply
();
34
35
protected
:
36
QGroupBox *
m_box
;
37
UMLArtifact
*
m_object
;
38
ButtonMap
m_buttons
;
39
40
};
41
42
#endif
// UMLARTIFACTTYPEWIDGET_H
artifact.h
UMLArtifactTypeWidget
Definition:
umlartifacttypewidget.h:24
UMLArtifactTypeWidget::~UMLArtifactTypeWidget
~UMLArtifactTypeWidget()
Definition:
umlartifacttypewidget.cpp:52
UMLArtifactTypeWidget::m_buttons
ButtonMap m_buttons
Definition:
umlartifacttypewidget.h:38
UMLArtifactTypeWidget::ButtonMap
QMap< UMLArtifact::Draw_Type, QRadioButton * > ButtonMap
Definition:
umlartifacttypewidget.h:27
UMLArtifactTypeWidget::m_box
QGroupBox * m_box
Definition:
umlartifacttypewidget.h:36
UMLArtifactTypeWidget::m_object
UMLArtifact * m_object
Definition:
umlartifacttypewidget.h:37
UMLArtifactTypeWidget::addToLayout
void addToLayout(QVBoxLayout *layout)
Definition:
umlartifacttypewidget.cpp:61
UMLArtifactTypeWidget::UMLArtifactTypeWidget
UMLArtifactTypeWidget(UMLArtifact *a, QWidget *parent=0)
Definition:
umlartifacttypewidget.cpp:23
UMLArtifactTypeWidget::apply
void apply()
Definition:
umlartifacttypewidget.cpp:69
UMLArtifact
Non-graphical information for a Artifact.
Definition:
artifact.h:28
a
QString a
Definition:
petalnode.cpp:18
Generated by
1.9.1