umbrello 25.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
UMLAttributeDialog Class Reference

#include <umlattributedialog.h>

Inheritance diagram for UMLAttributeDialog:
Collaboration diagram for UMLAttributeDialog:

Public Slots

void slotNameChanged (const QString &)
void slotStereoTextChanged (const QString &)

Public Member Functions

 UMLAttributeDialog (QWidget *pParent, UMLAttribute *pAttribute)
 ~UMLAttributeDialog ()
Public Member Functions inherited from SinglePageDialogBase
 SinglePageDialogBase (QWidget *parent, bool withApplyButton=false, bool withSearchButton=false)
virtual ~SinglePageDialogBase ()
void setCaption (const QString &caption)
QWidget * mainWidget ()
void setMainWidget (QWidget *widget)
void setButtonText (ButtonCode code, const QString &text)

Protected Member Functions

void setupDialog ()
bool apply ()
Protected Member Functions inherited from SinglePageDialogBase
void enableButtonOk (bool enable)
virtual bool validate ()

Protected Attributes

UMLAttributem_pAttribute
QGridLayout * m_pValuesLayout
QGroupBox * m_pValuesGB
QLabel * m_pNameL
QLabel * m_pInitialL
QLineEdit * m_pNameLE
QLineEdit * m_pInitialLE
QCheckBox * m_pStaticCB
UMLDatatypeWidgetm_datatypeWidget
UMLStereotypeWidgetm_stereotypeWidget
QLabel * m_pTagL [N_STEREOATTRS]
QLineEdit * m_pTagLE [N_STEREOATTRS]
VisibilityEnumWidgetm_visibilityEnumWidget
DocumentationWidgetm_docWidget
Protected Attributes inherited from SinglePageDialogBase
QDialogButtonBox * m_buttonBox
QWidget * m_mainWidget

Additional Inherited Members

Public Types inherited from SinglePageDialogBase
enum  ButtonCode { Cancel = 0 , Ok = 1 , Apply = 2 }
Protected Slots inherited from SinglePageDialogBase
void slotApply ()
void slotOk ()
void slotCancel ()
void slotClicked (QAbstractButton *)

Detailed Description

Constructor & Destructor Documentation

◆ UMLAttributeDialog()

UMLAttributeDialog::UMLAttributeDialog ( QWidget * pParent,
UMLAttribute * pAttribute )
Here is the call graph for this function:

◆ ~UMLAttributeDialog()

UMLAttributeDialog::~UMLAttributeDialog ( )

Member Function Documentation

◆ apply()

bool UMLAttributeDialog::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:

◆ setupDialog()

void UMLAttributeDialog::setupDialog ( )
protected

Sets up the dialog

Here is the call graph for this function:

◆ slotNameChanged

void UMLAttributeDialog::slotNameChanged ( const QString & _text)
slot
Here is the call graph for this function:

◆ slotStereoTextChanged

void UMLAttributeDialog::slotStereoTextChanged ( const QString & stereoText)
slot
Here is the call graph for this function:

Member Data Documentation

◆ m_datatypeWidget

UMLDatatypeWidget* UMLAttributeDialog::m_datatypeWidget
protected

◆ m_docWidget

DocumentationWidget* UMLAttributeDialog::m_docWidget
protected

◆ m_pAttribute

UMLAttribute* UMLAttributeDialog::m_pAttribute
protected

The Attribute to represent

◆ m_pInitialL

QLabel * UMLAttributeDialog::m_pInitialL
protected

◆ m_pInitialLE

QLineEdit * UMLAttributeDialog::m_pInitialLE
protected

◆ m_pNameL

QLabel* UMLAttributeDialog::m_pNameL
protected

◆ m_pNameLE

QLineEdit* UMLAttributeDialog::m_pNameLE
protected

◆ m_pStaticCB

QCheckBox* UMLAttributeDialog::m_pStaticCB
protected

◆ m_pTagL

QLabel* UMLAttributeDialog::m_pTagL[N_STEREOATTRS]
protected

◆ m_pTagLE

QLineEdit* UMLAttributeDialog::m_pTagLE[N_STEREOATTRS]
protected

◆ m_pValuesGB

QGroupBox* UMLAttributeDialog::m_pValuesGB
protected

◆ m_pValuesLayout

QGridLayout* UMLAttributeDialog::m_pValuesLayout
protected

◆ m_stereotypeWidget

UMLStereotypeWidget* UMLAttributeDialog::m_stereotypeWidget
protected

◆ m_visibilityEnumWidget

VisibilityEnumWidget* UMLAttributeDialog::m_visibilityEnumWidget
protected

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