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

#include <umlentityattributedialog.h>

Inheritance diagram for UMLEntityAttributeDialog:
Collaboration diagram for UMLEntityAttributeDialog:

Public Slots

void slotAutoIncrementStateChanged (bool checked)
 
void slotNameChanged (const QString &)
 

Public Member Functions

 UMLEntityAttributeDialog (QWidget *pParent, UMLEntityAttribute *pEntityAttribute)
 
 ~UMLEntityAttributeDialog ()
 
- Public Member Functions inherited from SinglePageDialogBase
 SinglePageDialogBase (QWidget *parent, bool withApplyButton=false, bool withSearchButton=false)
 
virtual ~SinglePageDialogBase ()
 

Protected Member Functions

void setupDialog ()
 
virtual bool apply ()
 
void insertAttribute (const QString &type, int index=-1)
 
- Protected Member Functions inherited from SinglePageDialogBase
virtual bool validate ()
 

Protected Attributes

UMLEntityAttributem_pEntityAttribute
 
QGroupBox * m_pAttsGB
 
QGroupBox * m_pValuesGB
 
QGroupBox * m_pScopeGB
 
QRadioButton * m_pPublicRB
 
QRadioButton * m_pPrivateRB
 
QRadioButton * m_pProtectedRB
 
QRadioButton * m_pNoneRB
 
QLabel * m_pNameL
 
QLabel * m_pInitialL
 
QLabel * m_pValuesL
 
QLabel * m_pAttributesL
 
KComboBox * m_pAttributesCB
 
KLineEdit * m_pNameLE
 
KLineEdit * m_pInitialLE
 
KLineEdit * m_pValuesLE
 
QCheckBox * m_pAutoIncrementCB
 
QCheckBox * m_pNullCB
 
UMLDatatypeWidgetm_datatypeWidget
 
UMLStereotypeWidgetm_stereotypeWidget
 
DefaultValueWidgetm_defaultValueWidget
 

Additional Inherited Members

- Protected Slots inherited from SinglePageDialogBase
void slotApply ()
 
void slotOk ()
 

Detailed Description

Author
Jonathan Riddell Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org

Constructor & Destructor Documentation

UMLEntityAttributeDialog::UMLEntityAttributeDialog ( QWidget *  pParent,
UMLEntityAttribute pEntityAttribute 
)

Here is the call graph for this function:

UMLEntityAttributeDialog::~UMLEntityAttributeDialog ( )

Member Function Documentation

bool UMLEntityAttributeDialog::apply ( )
protectedvirtual

Checks if changes are valid and applies them if they are, else returns false

Reimplemented from SinglePageDialogBase.

Here is the call graph for this function:

void UMLEntityAttributeDialog::insertAttribute ( const QString &  type,
int  index = -1 
)
protected

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

void UMLEntityAttributeDialog::setupDialog ( )
protected

Sets up the dialog.

Here is the call graph for this function:

void UMLEntityAttributeDialog::slotAutoIncrementStateChanged ( bool  checked)
slot

Is activated when the auto increment state is changed.

void UMLEntityAttributeDialog::slotNameChanged ( const QString &  _text)
slot

Member Data Documentation

UMLDatatypeWidget* UMLEntityAttributeDialog::m_datatypeWidget
protected
DefaultValueWidget* UMLEntityAttributeDialog::m_defaultValueWidget
protected
KComboBox* UMLEntityAttributeDialog::m_pAttributesCB
protected
QLabel * UMLEntityAttributeDialog::m_pAttributesL
protected
QGroupBox* UMLEntityAttributeDialog::m_pAttsGB
protected
QCheckBox* UMLEntityAttributeDialog::m_pAutoIncrementCB
protected
UMLEntityAttribute* UMLEntityAttributeDialog::m_pEntityAttribute
protected

The EntityAttribute to represent.

QLabel * UMLEntityAttributeDialog::m_pInitialL
protected
KLineEdit * UMLEntityAttributeDialog::m_pInitialLE
protected
QLabel* UMLEntityAttributeDialog::m_pNameL
protected
KLineEdit* UMLEntityAttributeDialog::m_pNameLE
protected
QRadioButton * UMLEntityAttributeDialog::m_pNoneRB
protected
QCheckBox* UMLEntityAttributeDialog::m_pNullCB
protected
QRadioButton * UMLEntityAttributeDialog::m_pPrivateRB
protected
QRadioButton * UMLEntityAttributeDialog::m_pProtectedRB
protected
QRadioButton* UMLEntityAttributeDialog::m_pPublicRB
protected
QGroupBox* UMLEntityAttributeDialog::m_pScopeGB
protected
QGroupBox * UMLEntityAttributeDialog::m_pValuesGB
protected
QLabel * UMLEntityAttributeDialog::m_pValuesL
protected
KLineEdit * UMLEntityAttributeDialog::m_pValuesLE
protected
UMLStereotypeWidget* UMLEntityAttributeDialog::m_stereotypeWidget
protected

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