umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umltemplatedialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMLTEMPLATEDIALOG_H
7#define UMLTEMPLATEDIALOG_H
8
9#include "singlepagedialogbase.h"
10
11 class DocumentationWidget;
12 class KComboBox;
13 class KLineEdit;
14 class QGroupBox;
15 class QLabel;
16 class UMLTemplate;
17 class UMLDatatypeWidget;
18 class UMLStereotypeWidget;
19
26 class UMLTemplateDialog : public SinglePageDialogBase
27{
28 Q_OBJECT
29 public:
30 UMLTemplateDialog(QWidget* pParent, UMLTemplate* pAttribute);
31 ~UMLTemplateDialog();
32
33 protected:
34
35 void setupDialog();
36
37 virtual bool apply();
38
42 UMLTemplate* m_pTemplate;
43
44 // GUI Widgets
45 QGroupBox *m_pValuesGB;
46 QLabel *m_pNameL;
47 KLineEdit *m_pNameLE;
48 UMLDatatypeWidget *m_datatypeWidget;
49 UMLStereotypeWidget *m_stereotypeWidget;
50 DocumentationWidget *m_docWidget;
51
52 protected:
53
54 void insertTypesSorted(const QString& type = QString());
55
56};
57
58#endif
DocumentationWidget
Definition: documentationwidget.h:22
SinglePageDialogBase
Definition: singlepagedialogbase.h:31
UMLDatatypeWidget
Definition: umldatatypewidget.h:19
UMLStereotypeWidget
Definition: umlstereotypewidget.h:15
UMLTemplateDialog
Definition: umltemplatedialog.h:27
UMLTemplateDialog::insertTypesSorted
void insertTypesSorted(const QString &type=QString())
UMLTemplateDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umltemplatedialog.h:47
UMLTemplateDialog::~UMLTemplateDialog
~UMLTemplateDialog()
Definition: umltemplatedialog.cpp:41
UMLTemplateDialog::m_pTemplate
UMLTemplate * m_pTemplate
Definition: umltemplatedialog.h:42
UMLTemplateDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: umltemplatedialog.h:50
UMLTemplateDialog::m_pNameL
QLabel * m_pNameL
Definition: umltemplatedialog.h:46
UMLTemplateDialog::UMLTemplateDialog
UMLTemplateDialog(QWidget *pParent, UMLTemplate *pAttribute)
Definition: umltemplatedialog.cpp:33
UMLTemplateDialog::setupDialog
void setupDialog()
Definition: umltemplatedialog.cpp:48
UMLTemplateDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: umltemplatedialog.h:49
UMLTemplateDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umltemplatedialog.h:45
UMLTemplateDialog::apply
virtual bool apply()
Definition: umltemplatedialog.cpp:82
UMLTemplateDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: umltemplatedialog.h:48
UMLTemplate
Sets up template information.
Definition: template.h:22
singlepagedialogbase.h