umbrello  2.32.3
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  * 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-2014,2019 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef UMLSTEREOTYPEWIDGET_H
12 #define UMLSTEREOTYPEWIDGET_H
13 
14 #include "comboboxwidgetbase.h"
15 
16 class UMLObject;
17 class UMLStereotype;
18 
20 {
21 public:
22  explicit UMLStereotypeWidget(UMLObject *object, QWidget *parent=0);
23 
24  void setEditable(bool state);
25  void apply();
26 
27 protected:
29 
30  void insertItems(UMLStereotype *type);
31 };
32 
33 #endif // UMLSTEREOTYPEWIDGET_H
Definition: comboboxwidgetbase.h:21
The base class for UML objects.
Definition: umlobject.h:74
Definition: umlstereotypewidget.h:20
UMLObject * m_object
Definition: umlstereotypewidget.h:28
void insertItems(UMLStereotype *type)
Definition: umlstereotypewidget.cpp:75
void apply()
Definition: umlstereotypewidget.cpp:48
void setEditable(bool state)
Definition: umlstereotypewidget.cpp:40
UMLStereotypeWidget(UMLObject *object, QWidget *parent=0)
Definition: umlstereotypewidget.cpp:28
Sets up stereotype information.
Definition: stereotype.h:41