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 * 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
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
template.h
UMLTemplateDialog::m_pNameLE
KLineEdit * m_pNameLE
Definition: umltemplatedialog.h:52
UMLTemplateDialog::m_pNameL
QLabel * m_pNameL
Definition: umltemplatedialog.h:51
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLDatatypeWidget::apply
bool apply()
Definition: umldatatypewidget.cpp:103
UMLTemplateDialog::m_pValuesGB
QGroupBox * m_pValuesGB
Definition: umltemplatedialog.h:50
UMLTemplateDialog::UMLTemplateDialog
UMLTemplateDialog(QWidget *pParent, UMLTemplate *pAttribute)
Definition: umltemplatedialog.cpp:38
documentationwidget.h
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:671
UMLObject::setName
virtual void setName(const QString &strName)
Definition: umlobject.cpp:192
SinglePageDialogBase
Definition: singlepagedialogbase.h:36
UMLTemplateDialog
Definition: umltemplatedialog.h:32
UMLTemplateDialog::m_docWidget
DocumentationWidget * m_docWidget
Definition: umltemplatedialog.h:55
umldatatypewidget.h
Dialog_Utils::makeLabeledEditField
KLineEdit * makeLabeledEditField(QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText, int columnOffset)
Definition: dialog_utils.cpp:52
UMLTemplateDialog::m_datatypeWidget
UMLDatatypeWidget * m_datatypeWidget
Definition: umltemplatedialog.h:53
UMLTemplateDialog::insertTypesSorted
void insertTypesSorted(const QString &type=QString())
singlepagedialogbase.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
umltemplatedialog.h
UMLTemplateDialog::m_stereotypeWidget
UMLStereotypeWidget * m_stereotypeWidget
Definition: umltemplatedialog.h:54
UMLStereotypeWidget::apply
void apply()
Definition: umlstereotypewidget.cpp:48
UMLTemplateDialog::m_pTemplate
UMLTemplate * m_pTemplate
Definition: umltemplatedialog.h:47
UMLTemplateDialog::apply
virtual bool apply()
Definition: umltemplatedialog.cpp:87
DocumentationWidget::apply
void apply()
Definition: documentationwidget.cpp:70
UMLTemplateDialog::~UMLTemplateDialog
~UMLTemplateDialog()
Definition: umltemplatedialog.cpp:46
i18n
#define i18n
Definition: main.cpp:39
ComboBoxWidgetBase::addToLayout
void addToLayout(QGridLayout *layout, int row, int startColumn=0)
Definition: comboboxwidgetbase.cpp:51
UMLDatatypeWidget
Definition: umldatatypewidget.h:24
UMLStereotypeWidget
Definition: umlstereotypewidget.h:20
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
UMLTemplateDialog::setupDialog
void setupDialog()
Definition: umltemplatedialog.cpp:53
classifier.h
DocumentationWidget
Definition: documentationwidget.h:27
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
umlstereotypewidget.h
UMLTemplate
Sets up template information.
Definition: template.h:27
dialog_utils.h
umldoc.h