umbrello  2.30.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
codeviewerstate.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) 2004-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef CODEVIEWERSTATE_H
12 #define CODEVIEWERSTATE_H
13 
14 #include <QColor>
15 #include <QFont>
16 
17 namespace Settings {
18 
20 class CodeViewerState {
21 public:
22  void load();
23  void save();
24 
25  int height;
26  int width;
27  bool showHiddenBlocks;
29  QFont font;
30  QColor paperColor;
31  QColor fontColor;
32  QColor selectedColor;
33  QColor editBlockColor;
34  QColor nonEditBlockColor;
35  QColor umlObjectColor;
36  QColor hiddenColor;
37 };
38 
39 }
40 
41 #endif // CODEVIEWERSTATE_H
Settings::CodeViewerState::showHiddenBlocks
bool showHiddenBlocks
Definition: codeviewerstate.h:43
Settings::CodeViewerState::hiddenColor
QColor hiddenColor
Definition: codeviewerstate.h:52
Settings::CodeViewerState::height
int height
Definition: codeviewerstate.h:41
Settings::CodeViewerState::paperColor
QColor paperColor
Definition: codeviewerstate.h:46
Settings::CodeViewerState::editBlockColor
QColor editBlockColor
Definition: codeviewerstate.h:49
Settings::CodeViewerState::nonEditBlockColor
QColor nonEditBlockColor
Definition: codeviewerstate.h:50
Settings::CodeViewerState::font
QFont font
Definition: codeviewerstate.h:45
Settings::CodeViewerState::width
int width
Definition: codeviewerstate.h:42
Settings::CodeViewerState::fontColor
QColor fontColor
Definition: codeviewerstate.h:47
Settings::CodeViewerState::blocksAreHighlighted
bool blocksAreHighlighted
Definition: codeviewerstate.h:44
Settings::CodeViewerState::save
void save()
Definition: codeviewerstate.cpp:41
Settings
Definition: codeviewerstate.cpp:15
codeviewerstate.h
Settings::CodeViewerState::load
void load()
Definition: codeviewerstate.cpp:25
Settings::CodeViewerState::selectedColor
QColor selectedColor
Definition: codeviewerstate.h:48
Settings::CodeViewerState::umlObjectColor
QColor umlObjectColor
Definition: codeviewerstate.h:51