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
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::UMLObjectNameWidget ( const QString &  label,
const QString &  text,
QWidget *  parent = 0 
)
Here is the call graph for this function:

◆ ~UMLObjectNameWidget()

UMLObjectNameWidget::~UMLObjectNameWidget ( )

Member Function Documentation

◆ addToLayout()

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

◆ reset()

void UMLObjectNameWidget::reset ( )

◆ text()

QString UMLObjectNameWidget::text ( )

Member Data Documentation

◆ m_editField

KLineEdit* UMLObjectNameWidget::m_editField
protected

◆ m_label

QLabel* UMLObjectNameWidget::m_label
protected

◆ m_text

QString UMLObjectNameWidget::m_text
protected

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