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

#include <umltemplatedialog.h>

Inheritance diagram for UMLTemplateDialog:
Collaboration diagram for UMLTemplateDialog:

Public Member Functions

 UMLTemplateDialog (QWidget *pParent, UMLTemplate *pAttribute)
 ~UMLTemplateDialog ()
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 ()
virtual bool apply ()
void insertTypesSorted (const QString &type=QString())
Protected Member Functions inherited from SinglePageDialogBase
void enableButtonOk (bool enable)
virtual bool validate ()

Protected Attributes

UMLTemplatem_pTemplate
QGroupBox * m_pValuesGB
QLabel * m_pNameL
QLineEdit * m_pNameLE
UMLDatatypeWidgetm_datatypeWidget
UMLStereotypeWidgetm_stereotypeWidget
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

A dialog to edit the properties of a class template (paramaterised class)

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

◆ UMLTemplateDialog()

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

◆ ~UMLTemplateDialog()

UMLTemplateDialog::~UMLTemplateDialog ( )

Member Function Documentation

◆ apply()

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

◆ insertTypesSorted()

void UMLTemplateDialog::insertTypesSorted ( const QString & type = QString())
protected

◆ setupDialog()

void UMLTemplateDialog::setupDialog ( )
protected

Sets up the dialog

Here is the call graph for this function:

Member Data Documentation

◆ m_datatypeWidget

UMLDatatypeWidget* UMLTemplateDialog::m_datatypeWidget
protected

◆ m_docWidget

DocumentationWidget* UMLTemplateDialog::m_docWidget
protected

◆ m_pNameL

QLabel* UMLTemplateDialog::m_pNameL
protected

◆ m_pNameLE

QLineEdit* UMLTemplateDialog::m_pNameLE
protected

◆ m_pTemplate

UMLTemplate* UMLTemplateDialog::m_pTemplate
protected

The Attribute to represent

◆ m_pValuesGB

QGroupBox* UMLTemplateDialog::m_pValuesGB
protected

◆ m_stereotypeWidget

UMLStereotypeWidget* UMLTemplateDialog::m_stereotypeWidget
protected

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