umbrello 2.39.2 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

umlartifacttypewidget.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 UMLARTIFACTTYPEWIDGET_H
7#define UMLARTIFACTTYPEWIDGET_H
8
9#include "artifact.h"
10
11#include <QMap>
12#include <QWidget>
13
14 class QVBoxLayout;
15 class QGroupBox;
16 class QRadioButton;
17
18 class UMLArtifactTypeWidget : public QWidget
19{
20 Q_OBJECT
21 public:
22 typedef QMap<UMLArtifact::Draw_Type,QRadioButton*> ButtonMap;
23
24 explicit UMLArtifactTypeWidget(UMLArtifact *a, QWidget *parent = 0);
25 ~UMLArtifactTypeWidget();
26
27 void addToLayout(QVBoxLayout *layout);
28 void apply();
29
30 protected:
31 QGroupBox *m_box;
32 UMLArtifact *m_object;
33 ButtonMap m_buttons;
34
35};
36
37#endif // UMLARTIFACTTYPEWIDGET_H
artifact.h
UMLArtifactTypeWidget
Definition umlartifacttypewidget.h:19
UMLArtifactTypeWidget::~UMLArtifactTypeWidget
~UMLArtifactTypeWidget()
Definition umlartifacttypewidget.cpp:47
UMLArtifactTypeWidget::m_buttons
ButtonMap m_buttons
Definition umlartifacttypewidget.h:33
UMLArtifactTypeWidget::ButtonMap
QMap< UMLArtifact::Draw_Type, QRadioButton * > ButtonMap
Definition umlartifacttypewidget.h:22
UMLArtifactTypeWidget::m_box
QGroupBox * m_box
Definition umlartifacttypewidget.h:31
UMLArtifactTypeWidget::m_object
UMLArtifact * m_object
Definition umlartifacttypewidget.h:32
UMLArtifactTypeWidget::addToLayout
void addToLayout(QVBoxLayout *layout)
Definition umlartifacttypewidget.cpp:56
UMLArtifactTypeWidget::UMLArtifactTypeWidget
UMLArtifactTypeWidget(UMLArtifact *a, QWidget *parent=0)
Definition umlartifacttypewidget.cpp:18
UMLArtifactTypeWidget::apply
void apply()
Definition umlartifacttypewidget.cpp:64
UMLArtifact
Non-graphical information for a Artifact.
Definition artifact.h:23
a
QString a
Definition petalnode.cpp:13