umbrello  2.31.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  * 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 
17 class KComboBox;
18 class KLineEdit;
19 class QGroupBox;
20 class QLabel;
21 class UMLTemplate;
22 class UMLDatatypeWidget;
24 
32 {
33  Q_OBJECT
34 public:
35  UMLTemplateDialog(QWidget* pParent, UMLTemplate* pAttribute);
37 
38 protected:
39 
40  void setupDialog();
41 
42  virtual bool apply();
43 
48 
49  // GUI Widgets
50  QGroupBox *m_pValuesGB;
51  QLabel *m_pNameL;
52  KLineEdit *m_pNameLE;
56 
57 protected:
58 
59  void insertTypesSorted(const QString& type = QString());
60 
61 };
62 
63 #endif
DocumentationWidget * m_docWidget
Definition: umltemplatedialog.h:55
void insertTypesSorted(const QString &type=QString())
UMLTemplateDialog(QWidget *pParent, UMLTemplate *pAttribute)
Definition: umltemplatedialog.cpp:38
QGroupBox * m_pValuesGB
Definition: umltemplatedialog.h:50
Sets up template information.
Definition: template.h:26
QLabel * m_pNameL
Definition: umltemplatedialog.h:51
Definition: umltemplatedialog.h:31
~UMLTemplateDialog()
Definition: umltemplatedialog.cpp:46
UMLDatatypeWidget * m_datatypeWidget
Definition: umltemplatedialog.h:53
UMLStereotypeWidget * m_stereotypeWidget
Definition: umltemplatedialog.h:54
Definition: umldatatypewidget.h:23
UMLTemplate * m_pTemplate
Definition: umltemplatedialog.h:47
virtual bool apply()
Definition: umltemplatedialog.cpp:87
Definition: documentationwidget.h:26
Definition: singlepagedialogbase.h:34
void setupDialog()
Definition: umltemplatedialog.cpp:53
KLineEdit * m_pNameLE
Definition: umltemplatedialog.h:52
Definition: umlstereotypewidget.h:19