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

dcodegenerationpolicypage.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) 2007 Jari-Matti Mäkelä <jmjm@iki.fi> *
8 * copyright (C) 2008-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef DCODEGENERATIONPOLICYPAGE_H
13 #define DCODEGENERATIONPOLICYPAGE_H
14
15 #include "codegenerationpolicypage.h"
16 #include "dcodegenerationpolicy.h"
17 #include "ui_dcodegenerationformbase.h"
18
23 class DCodeGenerationFormBase : public QWidget, public Ui::DCodeGenerationFormBase
24 {
25 public:
26 explicit DCodeGenerationFormBase(QWidget *parent) : QWidget(parent)
27 {
28 setupUi(this);
29 }
30 };
31
32
33 class DCodeGenerationPolicyPage : public CodeGenerationPolicyPage
34 {
35 Q_OBJECT
36 public:
37
38 explicit DCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, DCodeGenerationPolicy * policy = 0);
39 virtual ~DCodeGenerationPolicyPage();
40
41 protected:
42
43 DCodeGenerationFormBase * form;
44
45 public slots:
46
47 void apply();
48
49 };
50
51 #endif
52
ui_dcodegenerationformbase.h
CodeGenerationPolicy::setAssociationFieldScope
void setAssociationFieldScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:393
dcodegenerationpolicy.h
DCodeGenerationFormBase::DCodeGenerationFormBase
DCodeGenerationFormBase(QWidget *parent)
Definition: dcodegenerationpolicypage.h:26
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
CodeGenerationPolicy::setAutoGenerateConstructors
void setAutoGenerateConstructors(bool var)
Definition: codegenerationpolicy.cpp:355
CodeGenerationPolicy::setAttributeAccessorScope
void setAttributeAccessorScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:374
DCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:63
DCodeGenerationPolicyPage::apply
void apply()
Definition: dcodegenerationpolicypage.cpp:46
DCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: dcodegenerationpolicy.cpp:82
Ui_DCodeGenerationFormBase::m_assocFieldScopeCB
KComboBox * m_assocFieldScopeCB
Definition: ui_dcodegenerationformbase.h:46
Ui_DCodeGenerationFormBase::m_SelectCommentStyle
KComboBox * m_SelectCommentStyle
Definition: ui_dcodegenerationformbase.h:50
DCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:53
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
codegenerationpolicypage.h
DCodeGenerationPolicyPage
Definition: dcodegenerationpolicypage.h:34
CodeGenerationPolicy::CommentStyle
CommentStyle
Definition: codegenerationpolicy.h:50
CodeGenerationPolicy::getAssociationFieldScope
Uml::Visibility::Enum getAssociationFieldScope()
Definition: codegenerationpolicy.cpp:403
CodeGenerationPolicyPage::m_parentPolicy
CodeGenPolicyExt * m_parentPolicy
Definition: codegenerationpolicypage.h:42
Ui_DCodeGenerationFormBase::m_generateAssocAccessors
QCheckBox * m_generateAssocAccessors
Definition: ui_dcodegenerationformbase.h:39
Ui_DCodeGenerationFormBase::m_accessorScopeCB
KComboBox * m_accessorScopeCB
Definition: ui_dcodegenerationformbase.h:43
DCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: dcodegenerationpolicy.cpp:73
CodeGenerationPolicy::setCommentStyle
void setCommentStyle(CommentStyle new_var)
Definition: codegenerationpolicy.cpp:94
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
DCodeGenerationFormBase
Definition: dcodegenerationpolicypage.h:24
Ui_DCodeGenerationFormBase::setupUi
void setupUi(QWidget *DCodeGenerationFormBase)
Definition: ui_dcodegenerationformbase.h:53
CodeGenerationPolicy::getCommentStyle
CommentStyle getCommentStyle()
Definition: codegenerationpolicy.cpp:104
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
Ui_DCodeGenerationFormBase::m_generateAttribAccessors
QCheckBox * m_generateAttribAccessors
Definition: ui_dcodegenerationformbase.h:40
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:152
dcodegenerationpolicypage.h
DCodeGenerationPolicyPage::~DCodeGenerationPolicyPage
virtual ~DCodeGenerationPolicyPage()
Definition: dcodegenerationpolicypage.cpp:42
uml.h
Ui_DCodeGenerationFormBase::m_generateConstructors
QCheckBox * m_generateConstructors
Definition: ui_dcodegenerationformbase.h:38
DCodeGenerationPolicy
Definition: dcodegenerationpolicy.h:23
CodeGenerationPolicy::getAttributeAccessorScope
Uml::Visibility::Enum getAttributeAccessorScope()
Definition: codegenerationpolicy.cpp:384
CodeGenerationPolicy::getAutoGenerateConstructors
bool getAutoGenerateConstructors()
Definition: codegenerationpolicy.cpp:365
DCodeGenerationPolicyPage::DCodeGenerationPolicyPage
DCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, DCodeGenerationPolicy *policy=0)
Definition: dcodegenerationpolicypage.cpp:21
DCodeGenerationPolicyPage::form
DCodeGenerationFormBase * form
Definition: dcodegenerationpolicypage.h:43
Ui::DCodeGenerationFormBase
Definition: ui_dcodegenerationformbase.h:236