umbrello: umbrello/optionstate.h Source File

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

optionstate.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) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef OPTIONSTATE_H
12 #define OPTIONSTATE_H
13
14 #include "basictypes.h"
15 #include "codeviewerstate.h"
16 #include "codegenerationpolicy.h"
17
18 #include <QDomElement>
19 #include <QXmlStreamWriter>
20
21 namespace Settings {
22
23 enum Page
24 {
25 page_general = 0,
26 page_font,
27 page_UI,
28 page_class,
29 page_codeimport,
30 page_codegen,
31 page_codeview
32 };
33
34 //public structs
35 class GeneralState {
36 public:
37 GeneralState()
38 : undo(false),
39 tabdiagrams(false),
40 newcodegen(false),
41 angularlines(false),
42 layoutType(Uml::LayoutType::Undefined),
43 footerPrinting(false),
44 autosave(false),
45 time(0),
46 autosavetime(0),
47 loadlast(false),
48 diagram(Uml::DiagramType::Class),
49 defaultLanguage(Uml::ProgrammingLanguage::Cpp),
50 uml2(false)
51 {
52 }
53
54 void load();
55 void save();
56
57 bool undo;
58 bool tabdiagrams;
59 bool newcodegen;
60 bool angularlines;
61 Uml::LayoutType::Enum layoutType;
62 bool footerPrinting;
63 bool autosave;
64 int time;
65 int autosavetime;
66 QString autosavesuffix;
67 bool loadlast;
68 Uml::DiagramType::Enum diagram;
69 Uml::ProgrammingLanguage::Enum defaultLanguage;
70 QString lastFile;
71 bool uml2;
72 };
73
74 class UIState {
75 public:
76 UIState()
77 : useFillColor(false),
78 lineWidth(0)
79 {
80 }
81
82 void load();
83 void save();
84
85 void saveToXMI1(QXmlStreamWriter& writer);
86 bool loadFromXMI1(QDomElement& element);
87
88 bool useFillColor;
89 QColor fillColor;
90 QColor lineColor;
91 uint lineWidth;
92 QColor textColor;
93 QFont font;
94 QColor backgroundColor;
95 QColor gridDotColor;
96 };
97
98 class ClassState {
99 public:
100 ClassState()
101 : showVisibility(false),
102 showAtts(false),
103 showOps(false),
104 showStereoType(Uml::ShowStereoType::None),
105 showAttSig(false),
106 showOpSig(false),
107 showPackage(false),
108 showAttribAssocs(false),
109 showDocumentation(false),
110 showPublicOnly(false),
111 defaultAttributeScope(Uml::Visibility::Public),
112 defaultOperationScope(Uml::Visibility::Public)
113 {
114 }
115
116 void load();
117 void save();
118
119 void saveToXMI1(QXmlStreamWriter& writer);
120 bool loadFromXMI1(QDomElement& element);
121
122 bool showVisibility;
123 bool showAtts;
124 bool showOps;
125 Uml::ShowStereoType::Enum showStereoType;
126 bool showAttSig;
127 bool showOpSig;
128 bool showPackage;
129 bool showAttribAssocs;
130 bool showDocumentation;
131 bool showPublicOnly;
132 Uml::Visibility::Enum defaultAttributeScope;
133 Uml::Visibility::Enum defaultOperationScope;
134 };
135
136 class CodeGenerationState {
137 public:
138 CodeGenerationState()
139 : autoGenEmptyConstructors(false),
140 commentStyle(CodeGenerationPolicy::SingleLine),
141 defaultAssocFieldScope(Uml::Visibility::Public),
142 defaultAttributeAccessorScope(Uml::Visibility::Public),
143 forceDoc(false),
144 forceSections(false),
145 includeHeadings(false),
146 indentationAmount(false),
147 indentationType(CodeGenerationPolicy::NONE),
148 #ifdef Q_OS_WIN
149 lineEndingType(CodeGenerationPolicy::DOS),
150 #elif defined(Q_OS_MAC)
151 lineEndingType(CodeGenerationPolicy::MAC),
152 #else
153 lineEndingType(CodeGenerationPolicy::UNIX),
154 #endif
155 modnamePolicy(CodeGenerationPolicy::No),
156 overwritePolicy(CodeGenerationPolicy::Ok)
157 {
158 }
159
160 void load();
161 void save();
162
163 bool autoGenEmptyConstructors;
164 CodeGenerationPolicy::CommentStyle commentStyle;
165 Uml::Visibility::Enum defaultAssocFieldScope;
166 Uml::Visibility::Enum defaultAttributeAccessorScope;
167 bool forceDoc;
168 bool forceSections;
169 QDir headingsDirectory;
170 bool includeHeadings;
171 int indentationAmount;
172 CodeGenerationPolicy::IndentationType indentationType;
173 CodeGenerationPolicy::NewLineType lineEndingType;
174 CodeGenerationPolicy::ModifyNamePolicy modnamePolicy;
175 QDir outputDirectory;
176 CodeGenerationPolicy::OverwritePolicy overwritePolicy;
177
178 class CPPCodeGenerationState {
179 public:
180 CPPCodeGenerationState()
181 : autoGenAccessors(false),
182 inlineAccessors(false),
183 inlineOps(false),
184 packageIsNamespace(false),
185 publicAccessors(false),
186 stringIncludeIsGlobal(false),
187 vectorIncludeIsGlobal(false),
188 virtualDestructors(false),
189 getterWithGetPrefix(false),
190 removePrefixFromAccessorMethods(false),
191 accessorMethodsStartWithUpperCase(false)
192 {
193 }
194
195 bool autoGenAccessors;
196 bool inlineAccessors;
197 bool inlineOps;
198 bool packageIsNamespace;
199 bool publicAccessors;
200 QString stringClassName;
201 QString stringClassNameInclude;
202 bool stringIncludeIsGlobal;
203 QString vectorClassName;
204 QString vectorClassNameInclude;
205 QString classMemberPrefix;
206 QString docToolTag;
207 bool vectorIncludeIsGlobal;
208 bool virtualDestructors;
209 bool getterWithGetPrefix;
210 bool removePrefixFromAccessorMethods;
211 bool accessorMethodsStartWithUpperCase;
212 };
213
214 class DCodeGenerationState {
215 public:
216 DCodeGenerationState()
217 : autoGenerateAttributeAccessors(false),
218 autoGenerateAssocAccessors(false),
219 buildANTDocument(false)
220 {
221 }
222
223 bool autoGenerateAttributeAccessors;
224 bool autoGenerateAssocAccessors;
225 bool buildANTDocument;
226 };
227
228 class JavaCodeGenerationState {
229 public:
230 JavaCodeGenerationState()
231 : autoGenerateAttributeAccessors(false),
232 autoGenerateAssocAccessors(false),
233 buildANTDocument(false)
234 {
235 }
236
237 bool autoGenerateAttributeAccessors;
238 bool autoGenerateAssocAccessors;
239 bool buildANTDocument;
240 };
241
242 class RubyCodeGenerationState {
243 public:
244 RubyCodeGenerationState()
245 : autoGenerateAttributeAccessors(false),
246 autoGenerateAssocAccessors(false)
247 {
248 }
249
250 bool autoGenerateAttributeAccessors;
251 bool autoGenerateAssocAccessors;
252 };
253
254 CPPCodeGenerationState cppCodeGenerationState;
255 DCodeGenerationState dCodeGenerationState;
256 JavaCodeGenerationState javaCodeGenerationState;
257 RubyCodeGenerationState rubyCodeGenerationState;
258 };
259
260 class CodeImportState {
261 public:
262 CodeImportState()
263 : createArtifacts(false),
264 resolveDependencies(false),
265 supportCPP11(true)
266 {
267 }
268
269 void load();
270 void save();
271
272 void saveToXMI1(QXmlStreamWriter& writer);
273 bool loadFromXMI1(QDomElement& element);
274
275 bool createArtifacts;
276 bool resolveDependencies;
277 bool supportCPP11;
278 };
279
280 class AutoLayoutState {
281 public:
282 AutoLayoutState()
283 : autoDotPath(false),
284 showExportLayout(false)
285 {
286 }
287
288 void load();
289 void save();
290
291 void saveToXMI1(QXmlStreamWriter& writer);
292 bool loadFromXMI1(QDomElement& element);
293
294 bool autoDotPath;
295 QString dotPath;
296 bool showExportLayout;
297 };
298
299 class LayoutTypeState {
300 public:
301 LayoutTypeState()
302 : showExportLayout(Uml::LayoutType::Enum::Direct)
303 {
304 }
305
306 void load();
307 void save();
308
309 void saveToXMI1(QXmlStreamWriter& writer);
310 bool loadFromXMI1(QDomElement& element);
311
312 Uml::LayoutType::Enum showExportLayout;
313 };
314
315 class OptionState {
316 public:
317 OptionState();
318
319 void load();
320 void save();
321
322 void saveToXMI1(QXmlStreamWriter& writer);
323 bool loadFromXMI1(QDomElement& element);
324
325 static OptionState &instance();
326
327 GeneralState generalState;
328 LayoutTypeState layoutTypeState;
329 UIState uiState;
330 ClassState classState;
331 CodeViewerState codeViewerState;
332 CodeGenerationState codeGenerationState;
333 CodeImportState codeImportState;
334 AutoLayoutState autoLayoutState;
335 };
336
337 OptionState& optionState();
338 void setOptionState(const OptionState& optstate);
339
340 } // namespace Settings
341
342 #endif
basictypes.h
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
CodeGenerationPolicy::ModifyNamePolicy
ModifyNamePolicy
Definition: codegenerationpolicy.h:47
CodeGenerationPolicy::NewLineType
NewLineType
Definition: codegenerationpolicy.h:48
CodeGenerationPolicy::IndentationType
IndentationType
Definition: codegenerationpolicy.h:49
CodeGenerationPolicy::OverwritePolicy
OverwritePolicy
Definition: codegenerationpolicy.h:46
CodeGenerationPolicy::CommentStyle
CommentStyle
Definition: codegenerationpolicy.h:50
Settings::AutoLayoutState
Definition: optionstate.h:280
Settings::AutoLayoutState::autoDotPath
bool autoDotPath
determine path to dot executable automatically
Definition: optionstate.h:294
Settings::AutoLayoutState::dotPath
QString dotPath
path to dot executable
Definition: optionstate.h:295
Settings::AutoLayoutState::save
void save()
Definition: optionstate.cpp:355
Settings::AutoLayoutState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Settings::AutoLayoutState::showExportLayout
bool showExportLayout
flag for display export layout
Definition: optionstate.h:296
Settings::AutoLayoutState::AutoLayoutState
AutoLayoutState()
Definition: optionstate.h:282
Settings::AutoLayoutState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Settings::AutoLayoutState::load
void load()
Definition: optionstate.cpp:348
Settings::ClassState
Definition: optionstate.h:98
Settings::ClassState::showAttribAssocs
bool showAttribAssocs
Definition: optionstate.h:129
Settings::ClassState::showDocumentation
bool showDocumentation
Definition: optionstate.h:130
Settings::ClassState::showPublicOnly
bool showPublicOnly
Definition: optionstate.h:131
Settings::ClassState::load
void load()
Definition: optionstate.cpp:69
Settings::ClassState::showVisibility
bool showVisibility
Definition: optionstate.h:122
Settings::ClassState::defaultAttributeScope
Uml::Visibility::Enum defaultAttributeScope
Definition: optionstate.h:132
Settings::ClassState::showAtts
bool showAtts
Definition: optionstate.h:123
Settings::ClassState::showAttSig
bool showAttSig
Definition: optionstate.h:126
Settings::ClassState::defaultOperationScope
Uml::Visibility::Enum defaultOperationScope
Definition: optionstate.h:133
Settings::ClassState::showOpSig
bool showOpSig
Definition: optionstate.h:127
Settings::ClassState::showOps
bool showOps
Definition: optionstate.h:124
Settings::ClassState::ClassState
ClassState()
Definition: optionstate.h:100
Settings::ClassState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Definition: optionstate.cpp:103
Settings::ClassState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: optionstate.cpp:125
Settings::ClassState::save
void save()
Definition: optionstate.cpp:84
Settings::ClassState::showStereoType
Uml::ShowStereoType::Enum showStereoType
Definition: optionstate.h:125
Settings::ClassState::showPackage
bool showPackage
Definition: optionstate.h:128
Settings::CodeGenerationState::CPPCodeGenerationState
Definition: optionstate.h:178
Settings::CodeGenerationState::CPPCodeGenerationState::vectorClassName
QString vectorClassName
Definition: optionstate.h:203
Settings::CodeGenerationState::CPPCodeGenerationState::autoGenAccessors
bool autoGenAccessors
Definition: optionstate.h:195
Settings::CodeGenerationState::CPPCodeGenerationState::CPPCodeGenerationState
CPPCodeGenerationState()
Definition: optionstate.h:180
Settings::CodeGenerationState::CPPCodeGenerationState::accessorMethodsStartWithUpperCase
bool accessorMethodsStartWithUpperCase
Definition: optionstate.h:211
Settings::CodeGenerationState::CPPCodeGenerationState::vectorIncludeIsGlobal
bool vectorIncludeIsGlobal
Definition: optionstate.h:207
Settings::CodeGenerationState::CPPCodeGenerationState::publicAccessors
bool publicAccessors
Definition: optionstate.h:199
Settings::CodeGenerationState::CPPCodeGenerationState::vectorClassNameInclude
QString vectorClassNameInclude
Definition: optionstate.h:204
Settings::CodeGenerationState::CPPCodeGenerationState::stringClassNameInclude
QString stringClassNameInclude
Definition: optionstate.h:201
Settings::CodeGenerationState::CPPCodeGenerationState::virtualDestructors
bool virtualDestructors
Definition: optionstate.h:208
Settings::CodeGenerationState::CPPCodeGenerationState::classMemberPrefix
QString classMemberPrefix
Definition: optionstate.h:205
Settings::CodeGenerationState::CPPCodeGenerationState::packageIsNamespace
bool packageIsNamespace
Definition: optionstate.h:198
Settings::CodeGenerationState::CPPCodeGenerationState::stringIncludeIsGlobal
bool stringIncludeIsGlobal
Definition: optionstate.h:202
Settings::CodeGenerationState::CPPCodeGenerationState::inlineOps
bool inlineOps
Definition: optionstate.h:197
Settings::CodeGenerationState::CPPCodeGenerationState::stringClassName
QString stringClassName
Definition: optionstate.h:200
Settings::CodeGenerationState::CPPCodeGenerationState::inlineAccessors
bool inlineAccessors
Definition: optionstate.h:196
Settings::CodeGenerationState::CPPCodeGenerationState::removePrefixFromAccessorMethods
bool removePrefixFromAccessorMethods
Definition: optionstate.h:210
Settings::CodeGenerationState::CPPCodeGenerationState::docToolTag
QString docToolTag
Definition: optionstate.h:206
Settings::CodeGenerationState::CPPCodeGenerationState::getterWithGetPrefix
bool getterWithGetPrefix
Definition: optionstate.h:209
Settings::CodeGenerationState::DCodeGenerationState
Definition: optionstate.h:214
Settings::CodeGenerationState::DCodeGenerationState::buildANTDocument
bool buildANTDocument
Definition: optionstate.h:225
Settings::CodeGenerationState::DCodeGenerationState::DCodeGenerationState
DCodeGenerationState()
Definition: optionstate.h:216
Settings::CodeGenerationState::DCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:223
Settings::CodeGenerationState::DCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:224
Settings::CodeGenerationState::JavaCodeGenerationState
Definition: optionstate.h:228
Settings::CodeGenerationState::JavaCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:237
Settings::CodeGenerationState::JavaCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:238
Settings::CodeGenerationState::JavaCodeGenerationState::JavaCodeGenerationState
JavaCodeGenerationState()
Definition: optionstate.h:230
Settings::CodeGenerationState::JavaCodeGenerationState::buildANTDocument
bool buildANTDocument
Definition: optionstate.h:239
Settings::CodeGenerationState::RubyCodeGenerationState
Definition: optionstate.h:242
Settings::CodeGenerationState::RubyCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:251
Settings::CodeGenerationState::RubyCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:250
Settings::CodeGenerationState::RubyCodeGenerationState::RubyCodeGenerationState
RubyCodeGenerationState()
Definition: optionstate.h:244
Settings::CodeGenerationState
Definition: optionstate.h:136
Settings::CodeGenerationState::javaCodeGenerationState
JavaCodeGenerationState javaCodeGenerationState
Definition: optionstate.h:256
Settings::CodeGenerationState::lineEndingType
CodeGenerationPolicy::NewLineType lineEndingType
Definition: optionstate.h:173
Settings::CodeGenerationState::autoGenEmptyConstructors
bool autoGenEmptyConstructors
Definition: optionstate.h:163
Settings::CodeGenerationState::CodeGenerationState
CodeGenerationState()
Definition: optionstate.h:138
Settings::CodeGenerationState::rubyCodeGenerationState
RubyCodeGenerationState rubyCodeGenerationState
Definition: optionstate.h:257
Settings::CodeGenerationState::forceSections
bool forceSections
Definition: optionstate.h:168
Settings::CodeGenerationState::headingsDirectory
QDir headingsDirectory
Definition: optionstate.h:169
Settings::CodeGenerationState::indentationAmount
int indentationAmount
Definition: optionstate.h:171
Settings::CodeGenerationState::forceDoc
bool forceDoc
Definition: optionstate.h:167
Settings::CodeGenerationState::dCodeGenerationState
DCodeGenerationState dCodeGenerationState
Definition: optionstate.h:255
Settings::CodeGenerationState::load
void load()
Definition: optionstate.cpp:272
Settings::CodeGenerationState::outputDirectory
QDir outputDirectory
Definition: optionstate.h:175
Settings::CodeGenerationState::includeHeadings
bool includeHeadings
Definition: optionstate.h:170
Settings::CodeGenerationState::defaultAssocFieldScope
Uml::Visibility::Enum defaultAssocFieldScope
Definition: optionstate.h:165
Settings::CodeGenerationState::modnamePolicy
CodeGenerationPolicy::ModifyNamePolicy modnamePolicy
Definition: optionstate.h:174
Settings::CodeGenerationState::defaultAttributeAccessorScope
Uml::Visibility::Enum defaultAttributeAccessorScope
Definition: optionstate.h:166
Settings::CodeGenerationState::commentStyle
CodeGenerationPolicy::CommentStyle commentStyle
Definition: optionstate.h:164
Settings::CodeGenerationState::indentationType
CodeGenerationPolicy::IndentationType indentationType
Definition: optionstate.h:172
Settings::CodeGenerationState::cppCodeGenerationState
CPPCodeGenerationState cppCodeGenerationState
Definition: optionstate.h:254
Settings::CodeGenerationState::overwritePolicy
CodeGenerationPolicy::OverwritePolicy overwritePolicy
Definition: optionstate.h:176
Settings::CodeGenerationState::save
void save()
Definition: optionstate.cpp:305
Settings::CodeImportState
Definition: optionstate.h:260
Settings::CodeImportState::createArtifacts
bool createArtifacts
Definition: optionstate.h:275
Settings::CodeImportState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: optionstate.cpp:260
Settings::CodeImportState::save
void save()
Definition: optionstate.cpp:236
Settings::CodeImportState::load
void load()
Definition: optionstate.cpp:228
Settings::CodeImportState::supportCPP11
bool supportCPP11
Definition: optionstate.h:277
Settings::CodeImportState::resolveDependencies
bool resolveDependencies
Definition: optionstate.h:276
Settings::CodeImportState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Definition: optionstate.cpp:247
Settings::CodeImportState::CodeImportState
CodeImportState()
Definition: optionstate.h:262
Settings::CodeViewerState
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Settings::GeneralState
Definition: optionstate.h:35
Settings::GeneralState::undo
bool undo
Definition: optionstate.h:57
Settings::GeneralState::autosavetime
int autosavetime
Definition: optionstate.h:65
Settings::GeneralState::angularlines
bool angularlines
Definition: optionstate.h:60
Settings::GeneralState::autosavesuffix
QString autosavesuffix
Text input field for suffix of autosave.
Definition: optionstate.h:66
Settings::GeneralState::autosave
bool autosave
Definition: optionstate.h:63
Settings::GeneralState::lastFile
QString lastFile
Definition: optionstate.h:70
Settings::GeneralState::newcodegen
bool newcodegen
Definition: optionstate.h:59
Settings::GeneralState::save
void save()
Definition: optionstate.cpp:52
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:58
Settings::GeneralState::layoutType
Uml::LayoutType::Enum layoutType
Definition: optionstate.h:61
Settings::GeneralState::loadlast
bool loadlast
Definition: optionstate.h:67
Settings::GeneralState::time
int time
old autosave time, kept for compatibility
Definition: optionstate.h:64
Settings::GeneralState::load
void load()
Definition: optionstate.cpp:20
Settings::GeneralState::uml2
bool uml2
Definition: optionstate.h:71
Settings::GeneralState::defaultLanguage
Uml::ProgrammingLanguage::Enum defaultLanguage
Definition: optionstate.h:69
Settings::GeneralState::GeneralState
GeneralState()
Definition: optionstate.h:37
Settings::GeneralState::footerPrinting
bool footerPrinting
Definition: optionstate.h:62
Settings::GeneralState::diagram
Uml::DiagramType::Enum diagram
Definition: optionstate.h:68
Settings::LayoutTypeState
Definition: optionstate.h:299
Settings::LayoutTypeState::LayoutTypeState
LayoutTypeState()
Definition: optionstate.h:301
Settings::LayoutTypeState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Settings::LayoutTypeState::load
void load()
Settings::LayoutTypeState::showExportLayout
Uml::LayoutType::Enum showExportLayout
flag for display export layout
Definition: optionstate.h:312
Settings::LayoutTypeState::save
void save()
Settings::LayoutTypeState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Settings::OptionState
Definition: optionstate.h:315
Settings::OptionState::classState
ClassState classState
Definition: optionstate.h:330
Settings::OptionState::codeImportState
CodeImportState codeImportState
Definition: optionstate.h:333
Settings::OptionState::codeViewerState
CodeViewerState codeViewerState
Definition: optionstate.h:331
Settings::OptionState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: optionstate.cpp:414
Settings::OptionState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Definition: optionstate.cpp:402
Settings::OptionState::codeGenerationState
CodeGenerationState codeGenerationState
Definition: optionstate.h:332
Settings::OptionState::layoutTypeState
LayoutTypeState layoutTypeState
Definition: optionstate.h:328
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:327
Settings::OptionState::load
void load()
Definition: optionstate.cpp:376
Settings::OptionState::instance
static OptionState & instance()
Definition: optionstate.cpp:422
Settings::OptionState::autoLayoutState
AutoLayoutState autoLayoutState
Definition: optionstate.h:334
Settings::OptionState::OptionState
OptionState()
Definition: optionstate.cpp:372
Settings::OptionState::uiState
UIState uiState
Definition: optionstate.h:329
Settings::OptionState::save
void save()
Definition: optionstate.cpp:387
Settings::UIState
Definition: optionstate.h:74
Settings::UIState::gridDotColor
QColor gridDotColor
Definition: optionstate.h:95
Settings::UIState::lineColor
QColor lineColor
Definition: optionstate.h:90
Settings::UIState::UIState
UIState()
Definition: optionstate.h:76
Settings::UIState::lineWidth
uint lineWidth
Definition: optionstate.h:91
Settings::UIState::backgroundColor
QColor backgroundColor
Definition: optionstate.h:94
Settings::UIState::load
void load()
Definition: optionstate.cpp:152
Settings::UIState::textColor
QColor textColor
Definition: optionstate.h:92
Settings::UIState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: optionstate.cpp:198
Settings::UIState::fillColor
QColor fillColor
Definition: optionstate.h:89
Settings::UIState::useFillColor
bool useFillColor
Definition: optionstate.h:88
Settings::UIState::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Definition: optionstate.cpp:180
Settings::UIState::save
void save()
Definition: optionstate.cpp:164
Settings::UIState::font
QFont font
Definition: optionstate.h:93
codegenerationpolicy.h
codeviewerstate.h
Settings
Definition: codeviewerstate.cpp:15
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
Settings::setOptionState
void setOptionState(const OptionState &optstate)
Definition: optionstate.cpp:367
Settings::Page
Page
Definition: optionstate.h:24
Settings::page_UI
@ page_UI
Definition: optionstate.h:27
Settings::page_codeimport
@ page_codeimport
Definition: optionstate.h:29
Settings::page_codegen
@ page_codegen
Definition: optionstate.h:30
Settings::page_class
@ page_class
Definition: optionstate.h:28
Settings::page_codeview
@ page_codeview
Definition: optionstate.h:31
Settings::page_font
@ page_font
Definition: optionstate.h:26
Settings::page_general
@ page_general
Definition: optionstate.h:25
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:81
Uml::LayoutType::Enum
Enum
Definition: basictypes.h:144
Uml::LayoutType::Direct
@ Direct
Definition: basictypes.h:146
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:305
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:308
Uml::ShowStereoType::Enum
Enum
Definition: basictypes.h:162
Uml::ShowStereoType::None
@ None
no display of stereotype
Definition: basictypes.h:163
Uml::Visibility::Enum
Enum
Definition: basictypes.h:59
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
Uml
Definition: basictypes.cpp:37