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

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

umlstereotypewidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2014,2019 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMLSTEREOTYPEWIDGET_H
7#define UMLSTEREOTYPEWIDGET_H
8
9#include "comboboxwidgetbase.h"
10
11class UMLObject;
12class UMLStereotype;
13
14 class UMLStereotypeWidget : public ComboBoxWidgetBase
15{
16public:
17 explicit UMLStereotypeWidget(UMLObject *object, QWidget *parent=0);
18
19 void setEditable(bool state);
20 void apply();
21
22protected:
23 UMLObject *m_object;
24
25 void insertItems(UMLStereotype *type);
26};
27
28#endif // UMLSTEREOTYPEWIDGET_H
ComboBoxWidgetBase
Definition: comboboxwidgetbase.h:16
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLStereotypeWidget
Definition: umlstereotypewidget.h:15
UMLStereotypeWidget::m_object
UMLObject * m_object
Definition: umlstereotypewidget.h:23
UMLStereotypeWidget::insertItems
void insertItems(UMLStereotype *type)
Definition: umlstereotypewidget.cpp:70
UMLStereotypeWidget::apply
void apply()
Definition: umlstereotypewidget.cpp:43
UMLStereotypeWidget::setEditable
void setEditable(bool state)
Definition: umlstereotypewidget.cpp:35
UMLStereotypeWidget::UMLStereotypeWidget
UMLStereotypeWidget(UMLObject *object, QWidget *parent=0)
Definition: umlstereotypewidget.cpp:23
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:36
comboboxwidgetbase.h