umbrello: umbrello/codeviewerstate.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

codeviewerstate.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CODEVIEWERSTATE_H
7#define CODEVIEWERSTATE_H
8
9#include <QColor>
10#include <QFont>
11
12namespace Settings {
13
15 class CodeViewerState {
16public:
17 void load();
18 void save();
19
20 int height;
21 int width;
22 bool showHiddenBlocks;
23 bool blocksAreHighlighted;
24 QFont font;
25 QColor paperColor;
26 QColor fontColor;
27 QColor selectedColor;
28 QColor editBlockColor;
29 QColor nonEditBlockColor;
30 QColor umlObjectColor;
31 QColor hiddenColor;
32};
33
34}
35
36#endif // CODEVIEWERSTATE_H
Settings::CodeViewerState
configurable params for the code viewer tool
Definition codeviewerstate.h:15
Settings::CodeViewerState::blocksAreHighlighted
bool blocksAreHighlighted
Definition codeviewerstate.h:23
Settings::CodeViewerState::editBlockColor
QColor editBlockColor
Definition codeviewerstate.h:28
Settings::CodeViewerState::umlObjectColor
QColor umlObjectColor
Definition codeviewerstate.h:30
Settings::CodeViewerState::width
int width
Definition codeviewerstate.h:21
Settings::CodeViewerState::height
int height
Definition codeviewerstate.h:20
Settings::CodeViewerState::font
QFont font
Definition codeviewerstate.h:24
Settings::CodeViewerState::fontColor
QColor fontColor
Definition codeviewerstate.h:26
Settings::CodeViewerState::load
void load()
Definition codeviewerstate.cpp:12
Settings::CodeViewerState::paperColor
QColor paperColor
Definition codeviewerstate.h:25
Settings::CodeViewerState::showHiddenBlocks
bool showHiddenBlocks
Definition codeviewerstate.h:22
Settings::CodeViewerState::selectedColor
QColor selectedColor
Definition codeviewerstate.h:27
Settings::CodeViewerState::nonEditBlockColor
QColor nonEditBlockColor
Definition codeviewerstate.h:29
Settings::CodeViewerState::hiddenColor
QColor hiddenColor
Definition codeviewerstate.h:31
Settings::CodeViewerState::save
void save()
Definition codeviewerstate.cpp:28
Settings
Definition codeviewerstate.cpp:10