umbrello  2.39.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 
11 class UMLObject;
12 class UMLStereotype;
13 
15 {
16 public:
17  explicit UMLStereotypeWidget(UMLObject *object, QWidget *parent=0);
18 
19  void setEditable(bool state);
20  void apply();
21 
22 protected:
24 
25  void insertItems(UMLStereotype *type);
26 };
27 
28 #endif // UMLSTEREOTYPEWIDGET_H
Definition: comboboxwidgetbase.h:16
The base class for UML objects.
Definition: umlobject.h:70
Definition: umlstereotypewidget.h:15
UMLObject * m_object
Definition: umlstereotypewidget.h:23
void insertItems(UMLStereotype *type)
Definition: umlstereotypewidget.cpp:70
void apply()
Definition: umlstereotypewidget.cpp:43
void setEditable(bool state)
Definition: umlstereotypewidget.cpp:35
UMLStereotypeWidget(UMLObject *object, QWidget *parent=0)
Definition: umlstereotypewidget.cpp:23
Sets up stereotype information.
Definition: stereotype.h:36