umbrello  2.38.5
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UMLDatatypeWidget Class Reference

#include <umldatatypewidget.h>

Inheritance diagram for UMLDatatypeWidget:
Collaboration diagram for UMLDatatypeWidget:

Signals

void editTextChanged (const QString &)
 

Public Member Functions

 UMLDatatypeWidget (UMLAttribute *attribute, QWidget *parent=0)
 
 UMLDatatypeWidget (UMLClassifierListItem *datatype, QWidget *parent=0)
 
 UMLDatatypeWidget (UMLEntityAttribute *entityAttribute, QWidget *parent=0)
 
 UMLDatatypeWidget (UMLOperation *operation, QWidget *parent=0)
 
 UMLDatatypeWidget (UMLTemplate *_template, QWidget *parent=0)
 
bool apply ()
 
void reset ()
 
- 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 init ()
 
bool applyAttribute ()
 
bool applyEntityAttribute ()
 
bool applyOperation ()
 
bool applyParameter ()
 
bool applyTemplate ()
 
void initTypesBox (QStringList &types, const QString &type)
 
void insertTypesFromConcepts (QStringList &types, bool fullName=true)
 
void insertTypesFromDatatypes (QStringList &types)
 
void insertTypesSortedAttribute (const QString &type)
 
void insertTypesSortedEntityAttribute (const QString &type)
 
void insertTypesSortedOperation (const QString &type)
 
void insertTypesSortedParameter (const QString &type)
 
void insertTypesSortedTemplate (const QString &type)
 

Protected Attributes

UMLAttributem_attribute
 
UMLClassifierListItemm_datatype
 
UMLEntityAttributem_entityAttribute
 
UMLOperationm_operation
 
UMLTemplatem_template
 
UMLClassifierm_parent
 
- Protected Attributes inherited from ComboBoxWidgetBase
QLabel * m_label
 
QLabel * m_postLabel
 
KComboBox * m_editField
 

Constructor & Destructor Documentation

UMLDatatypeWidget::UMLDatatypeWidget ( UMLAttribute attribute,
QWidget *  parent = 0 
)

Here is the call graph for this function:

UMLDatatypeWidget::UMLDatatypeWidget ( UMLClassifierListItem datatype,
QWidget *  parent = 0 
)

Here is the call graph for this function:

UMLDatatypeWidget::UMLDatatypeWidget ( UMLEntityAttribute entityAttribute,
QWidget *  parent = 0 
)

Here is the call graph for this function:

UMLDatatypeWidget::UMLDatatypeWidget ( UMLOperation operation,
QWidget *  parent = 0 
)

Here is the call graph for this function:

UMLDatatypeWidget::UMLDatatypeWidget ( UMLTemplate _template,
QWidget *  parent = 0 
)

Here is the call graph for this function:

Member Function Documentation

bool UMLDatatypeWidget::apply ( )

Here is the call graph for this function:

bool UMLDatatypeWidget::applyAttribute ( )
protected

Here is the call graph for this function:

bool UMLDatatypeWidget::applyEntityAttribute ( )
protected

Here is the call graph for this function:

bool UMLDatatypeWidget::applyOperation ( )
protected

Here is the call graph for this function:

bool UMLDatatypeWidget::applyParameter ( )
protected

Here is the call graph for this function:

bool UMLDatatypeWidget::applyTemplate ( )
protected

Here is the call graph for this function:

void UMLDatatypeWidget::editTextChanged ( const QString &  _t1)
signal
void UMLDatatypeWidget::init ( )
protected

Here is the call graph for this function:

void UMLDatatypeWidget::initTypesBox ( QStringList &  types,
const QString &  type 
)
protected

Initialize types combo box from a list of types and a selected type.

Parameters
typeslist of types to add to combo box
typeselected type
void UMLDatatypeWidget::insertTypesFromConcepts ( QStringList &  types,
bool  fullName = true 
)
protected

Add classes and interfaces from document instance to the given string list.

Parameters
typeslist to store the classes and interfaces
fullNameif true then insert names including their package path

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesFromDatatypes ( QStringList &  types)
protected

Add datatypes from document instance to the given string list.

Parameters
typeslist to store the datatypes

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesSortedAttribute ( const QString &  type)
protected

Inserts type into the type-combobox as well as its completion object. The combobox is cleared and all types together with the optional new one sorted and then added again.

Parameters
typea new type to add

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesSortedEntityAttribute ( const QString &  type)
protected

Inserts type into the type-combobox as well as its completion object.

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesSortedOperation ( const QString &  type)
protected

Inserts type into the type-combobox. The combobox is cleared and all types together with the optional new one sorted and then added again.

Parameters
typea new type to add and selected

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesSortedParameter ( const QString &  type)
protected

Inserts type into the type-combobox as well as its completion object. The combobox is cleared and all types together with the optional new one sorted and then added again.

Parameters
typea new type to add and selected

Here is the call graph for this function:

void UMLDatatypeWidget::insertTypesSortedTemplate ( const QString &  type)
protected

Inserts type into the type-combobox. The combobox is cleared and all types together with the optional new one sorted and then added again.

Parameters
typea new type to add and selected

Here is the call graph for this function:

void UMLDatatypeWidget::reset ( )

Member Data Documentation

UMLAttribute* UMLDatatypeWidget::m_attribute
protected
UMLClassifierListItem* UMLDatatypeWidget::m_datatype
protected
UMLEntityAttribute* UMLDatatypeWidget::m_entityAttribute
protected
UMLOperation* UMLDatatypeWidget::m_operation
protected
UMLClassifier* UMLDatatypeWidget::m_parent
protected
UMLTemplate* UMLDatatypeWidget::m_template
protected

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