umbrello: umbrello/optionstate.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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