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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
11 class UMLObject;
12 class UMLStereotype;
13
14 class UMLStereotypeWidget : public ComboBoxWidgetBase
15{
16 public:
17 explicit UMLStereotypeWidget(UMLObject *object, QWidget *parent= nullptr);
18
19 void setEditable(bool state);
20 void apply();
21
22 protected:
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
UMLStereotype
Sets up stereotype information.
Definition: umlstereotype.h:36
UMLStereotypeWidget
Definition: umlstereotypewidget.h:15
UMLStereotypeWidget::m_object
UMLObject * m_object
Definition: umlstereotypewidget.h:23
UMLStereotypeWidget::insertItems
void insertItems(UMLStereotype *type)
Definition: umlstereotypewidget.cpp:68
UMLStereotypeWidget::apply
void apply()
Definition: umlstereotypewidget.cpp:41
UMLStereotypeWidget::setEditable
void setEditable(bool state)
Definition: umlstereotypewidget.cpp:33
comboboxwidgetbase.h