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

#include <umlpackagewidget.h>

Inheritance diagram for UMLPackageWidget:
Collaboration diagram for UMLPackageWidget:

Public Member Functions

 UMLPackageWidget (UMLObject *o, QWidget *parent=0)
 
 ~UMLPackageWidget ()
 
void addToLayout (QGridLayout *layout, int row)
 
void apply ()
 

Protected Attributes

QLabel * m_label
 
KComboBox * m_editField
 
UMLObjectm_object
 

Constructor & Destructor Documentation

◆ UMLPackageWidget()

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

◆ ~UMLPackageWidget()

UMLPackageWidget::~UMLPackageWidget ( )

Member Function Documentation

◆ addToLayout()

void UMLPackageWidget::addToLayout ( QGridLayout *  layout,
int  row 
)

Add this widget to a given grid layout. Umbrello dialogs places labels in column 0 and the editable field in column 1.

Parameters
layoutThe layout to which the widget should be added
rowThe row in the grid layout where the widget should be placed

◆ apply()

void UMLPackageWidget::apply ( )

Apply changes to the related UMLObject.

Here is the call graph for this function:

Member Data Documentation

◆ m_editField

KComboBox* UMLPackageWidget::m_editField
protected

◆ m_label

QLabel* UMLPackageWidget::m_label
protected

◆ m_object

UMLObject* UMLPackageWidget::m_object
protected

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