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

#include <umlobjectnamewidget.h>

Inheritance diagram for UMLObjectNameWidget:
Collaboration diagram for UMLObjectNameWidget:

Public Member Functions

 UMLObjectNameWidget (const QString &label, const QString &text, QWidget *parent=0)
 
 ~UMLObjectNameWidget ()
 
void addToLayout (QGridLayout *layout, int row)
 
QString text ()
 
void reset ()
 

Protected Attributes

QLabel * m_label
 
KLineEdit * m_editField
 
QString m_text
 

Constructor & Destructor Documentation

UMLObjectNameWidget::UMLObjectNameWidget ( const QString &  label,
const QString &  text,
QWidget *  parent = 0 
)
UMLObjectNameWidget::~UMLObjectNameWidget ( )

Member Function Documentation

void UMLObjectNameWidget::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
void UMLObjectNameWidget::reset ( )
QString UMLObjectNameWidget::text ( )

Member Data Documentation

KLineEdit* UMLObjectNameWidget::m_editField
protected
QLabel* UMLObjectNameWidget::m_label
protected
QString UMLObjectNameWidget::m_text
protected

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