umbrello: umbrello/dialogs/umltemplatedialog.h Source File

umbrello 2.32.1 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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLTEMPLATEDIALOG_H
12 #define UMLTEMPLATEDIALOG_H
13
14 #include "singlepagedialogbase.h"
15
16 class DocumentationWidget;
17 class KComboBox;
18 class KLineEdit;
19 class QGroupBox;
20 class QLabel;
21 class UMLTemplate;
22 class UMLDatatypeWidget;
23 class UMLStereotypeWidget;
24
31 class UMLTemplateDialog : public SinglePageDialogBase
32 {
33 Q_OBJECT
34 public:
35 UMLTemplateDialog(QWidget* pParent, UMLTemplate* pAttribute);
36 ~UMLTemplateDialog();
37
38 protected:
39
40 void setupDialog();
41
42 virtual bool apply();
43
47 UMLTemplate* m_pTemplate;
48
49 // GUI Widgets
50 QGroupBox *m_pValuesGB;
51 QLabel *m_pNameL;
52 KLineEdit *m_pNameLE;
53 UMLDatatypeWidget *m_datatypeWidget;
54 UMLStereotypeWidget *m_stereotypeWidget;
55 DocumentationWidget *m_docWidget;
56
57 protected:
58
59 void insertTypesSorted(const QString& type = QString());
60
61 };
62
63 #endif
DocumentationWidget
Definition: documentationwidget.h:27
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
UMLDatatypeWidget
Definition: umldatatypewidget.h:24
UMLStereotypeWidget
Definition: umlstereotypewidget.h:20
UMLTemplateDialog
Definition: umltemplatedialog.h:32
UMLTemplateDialog::insertTypesSorted
void insertTypesSorted(const QString &type=QString())
UMLTemplateDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umltemplatedialog.h:52
UMLTemplateDialog::~UMLTemplateDialog
~UMLTemplateDialog()
Definition: umltemplatedialog.cpp:46
UMLTemplateDialog::m_pTemplate
UMLTemplate * m_pTemplate
Definition: umltemplatedialog.h:47
UMLTemplateDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: umltemplatedialog.h:55
UMLTemplateDialog::m_pNameL
QLabel * m_pNameL
Definition: umltemplatedialog.h:51
UMLTemplateDialog::UMLTemplateDialog
UMLTemplateDialog(QWidget *pParent, UMLTemplate *pAttribute)
Definition: umltemplatedialog.cpp:38
UMLTemplateDialog::setupDialog
void setupDialog()
Definition: umltemplatedialog.cpp:53
UMLTemplateDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: umltemplatedialog.h:54
UMLTemplateDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umltemplatedialog.h:50
UMLTemplateDialog::apply
virtual bool apply()
Definition: umltemplatedialog.cpp:87
UMLTemplateDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: umltemplatedialog.h:53
UMLTemplate
Sets up template information.
Definition: template.h:27
singlepagedialogbase.h