umbrello: umbrello/codeviewerstate.h Source File

umbrello 2.32.1 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;
28 bool blocksAreHighlighted;
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:27
Settings::CodeViewerState::hiddenColor
QColor hiddenColor
Definition: codeviewerstate.h:36
Settings::CodeViewerState::height
int height
Definition: codeviewerstate.h:25
Settings::CodeViewerState::paperColor
QColor paperColor
Definition: codeviewerstate.h:30
Settings::CodeViewerState::editBlockColor
QColor editBlockColor
Definition: codeviewerstate.h:33
Settings::CodeViewerState::nonEditBlockColor
QColor nonEditBlockColor
Definition: codeviewerstate.h:34
Settings::CodeViewerState::font
QFont font
Definition: codeviewerstate.h:29
Settings::CodeViewerState::width
int width
Definition: codeviewerstate.h:26
Settings::CodeViewerState::fontColor
QColor fontColor
Definition: codeviewerstate.h:31
Settings::CodeViewerState::blocksAreHighlighted
bool blocksAreHighlighted
Definition: codeviewerstate.h:28
Settings::CodeViewerState::save
void save()
Definition: codeviewerstate.cpp:33
Settings
Definition: codeviewerstate.cpp:15
codeviewerstate.h
Settings::CodeViewerState
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Settings::CodeViewerState::load
void load()
Definition: codeviewerstate.cpp:17
Settings::CodeViewerState::selectedColor
QColor selectedColor
Definition: codeviewerstate.h:32
Settings::CodeViewerState::umlObjectColor
QColor umlObjectColor
Definition: codeviewerstate.h:35