umbrello  2.32.2
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 
21 public:
22  void load();
23  void save();
24 
25  int height;
26  int width;
29  QFont font;
30  QColor paperColor;
31  QColor fontColor;
32  QColor selectedColor;
36  QColor hiddenColor;
37 };
38 
39 }
40 
41 #endif // CODEVIEWERSTATE_H
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
bool blocksAreHighlighted
Definition: codeviewerstate.h:28
QColor editBlockColor
Definition: codeviewerstate.h:33
QColor umlObjectColor
Definition: codeviewerstate.h:35
int width
Definition: codeviewerstate.h:26
int height
Definition: codeviewerstate.h:25
QFont font
Definition: codeviewerstate.h:29
QColor fontColor
Definition: codeviewerstate.h:31
void load()
Definition: codeviewerstate.cpp:17
QColor paperColor
Definition: codeviewerstate.h:30
bool showHiddenBlocks
Definition: codeviewerstate.h:27
QColor selectedColor
Definition: codeviewerstate.h:32
QColor nonEditBlockColor
Definition: codeviewerstate.h:34
QColor hiddenColor
Definition: codeviewerstate.h:36
void save()
Definition: codeviewerstate.cpp:33
Definition: codeviewerstate.cpp:15