umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UMLStereotypeWidget Class Reference

#include <umlstereotypewidget.h>

Inheritance diagram for UMLStereotypeWidget:
Collaboration diagram for UMLStereotypeWidget:

Public Member Functions

 UMLStereotypeWidget (UMLObject *object, QWidget *parent=0)
 
void setEditable (bool state)
 
void apply ()
 
- Public Member Functions inherited from ComboBoxWidgetBase
 ComboBoxWidgetBase (const QString &title, const QString &postLabel=QString(), QWidget *parent=nullptr)
 
void addToLayout (QGridLayout *layout, int row, int startColumn=0)
 
KComboBox * editField ()
 

Protected Member Functions

void insertItems (UMLStereotype *type)
 

Protected Attributes

UMLObjectm_object
 
- Protected Attributes inherited from ComboBoxWidgetBase
QLabel * m_label
 
QLabel * m_postLabel
 
KComboBox * m_editField
 

Constructor & Destructor Documentation

◆ UMLStereotypeWidget()

UMLStereotypeWidget::UMLStereotypeWidget ( UMLObject object,
QWidget *  parent = 0 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ apply()

void UMLStereotypeWidget::apply ( )

Apply changes to the related UMLObject.

Here is the call graph for this function:

◆ insertItems()

void UMLStereotypeWidget::insertItems ( UMLStereotype type)
protected

Insert stereotypes into combo box and select the currently used stereotype.

Parameters
typecurrently used stereotype
Here is the call graph for this function:

◆ setEditable()

void UMLStereotypeWidget::setEditable ( bool  state)

Set state if stereotypes could be edited. By default stereotypes could be edited.

Parameters
stateedit state

Member Data Documentation

◆ m_object

UMLObject* UMLStereotypeWidget::m_object
protected

The documentation for this class was generated from the following files: