umbrello: umbrello/dialogs/umltemplatedialog.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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
11class DocumentationWidget;
12class KComboBox;
13class QLineEdit;
14class QGroupBox;
15class QLabel;
16class UMLTemplate;
17class UMLDatatypeWidget;
18class UMLStereotypeWidget;
19
26 class UMLTemplateDialog : public SinglePageDialogBase
27{
28 Q_OBJECT
29public:
30 UMLTemplateDialog(QWidget* pParent, UMLTemplate* pAttribute);
31 ~UMLTemplateDialog();
32
33protected:
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 QLineEdit *m_pNameLE;
48 UMLDatatypeWidget *m_datatypeWidget;
49 UMLStereotypeWidget *m_stereotypeWidget;
50 DocumentationWidget *m_docWidget;
51
52protected:
53
54 void insertTypesSorted(const QString& type = QString());
55
56};
57
58#endif
DocumentationWidget
Definition documentationwidget.h:22
SinglePageDialogBase
Definition singlepagedialogbase.h:23
UMLDatatypeWidget
Definition umldatatypewidget.h:19
UMLStereotypeWidget
Definition umlstereotypewidget.h:15
UMLTemplateDialog
Definition umltemplatedialog.h:27
UMLTemplateDialog::insertTypesSorted
void insertTypesSorted(const QString &type=QString())
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_pNameLE
QLineEdit * m_pNameLE
Definition umltemplatedialog.h:47
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