umbrello 2.32.3 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
UmbrelloSettings::umlObjectColor
static QColor umlObjectColor()
Definition: umbrellosettings.h:1417
UmbrelloSettings::setSelectedColor
static void setSelectedColor(const QColor &v)
Definition: umbrellosettings.h:1323
UmbrelloSettings::setFontColor
static void setFontColor(const QColor &v)
Definition: umbrellosettings.h:1295
umbrellosettings.h
UmbrelloSettings::fontColor
static QColor fontColor()
Definition: umbrellosettings.h:1305
Settings::CodeViewerState::hiddenColor
QColor hiddenColor
Definition: codeviewerstate.h:36
UmbrelloSettings::setHiddenColor
static void setHiddenColor(const QColor &v)
Definition: umbrellosettings.h:1435
Settings::CodeViewerState::height
int height
Definition: codeviewerstate.h:25
Settings::CodeViewerState::paperColor
QColor paperColor
Definition: codeviewerstate.h:30
UmbrelloSettings::setNonEditBlockColor
static void setNonEditBlockColor(const QColor &v)
Definition: umbrellosettings.h:1379
Settings::CodeViewerState::editBlockColor
QColor editBlockColor
Definition: codeviewerstate.h:33
UmbrelloSettings::hiddenColor
static QColor hiddenColor()
Definition: umbrellosettings.h:1445
UmbrelloSettings::showHiddenBlocks
static bool showHiddenBlocks()
Definition: umbrellosettings.h:1193
UmbrelloSettings::selectedColor
static QColor selectedColor()
Definition: umbrellosettings.h:1333
UmbrelloSettings::editBlockColor
static QColor editBlockColor()
Definition: umbrellosettings.h:1361
UmbrelloSettings::setPaperColor
static void setPaperColor(const QColor &v)
Definition: umbrellosettings.h:1267
Settings::CodeViewerState::nonEditBlockColor
QColor nonEditBlockColor
Definition: codeviewerstate.h:34
UmbrelloSettings::codeViewerFont
static QFont codeViewerFont()
Definition: umbrellosettings.h:1249
UmbrelloSettings::setEditBlockColor
static void setEditBlockColor(const QColor &v)
Definition: umbrellosettings.h:1351
Settings::CodeViewerState::font
QFont font
Definition: codeviewerstate.h:29
UmbrelloSettings::width
static int width()
Definition: umbrellosettings.h:1165
UmbrelloSettings::blocksAreHighlighted
static bool blocksAreHighlighted()
Definition: umbrellosettings.h:1221
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
UmbrelloSettings::paperColor
static QColor paperColor()
Definition: umbrellosettings.h:1277
UmbrelloSettings::height
static int height()
Definition: umbrellosettings.h:1130
UmbrelloSettings::setShowHiddenBlocks
static void setShowHiddenBlocks(bool v)
Definition: umbrellosettings.h:1183
Settings::CodeViewerState::save
void save()
Definition: codeviewerstate.cpp:33
Settings
Definition: codeviewerstate.cpp:15
UmbrelloSettings::setHeight
static void setHeight(int v)
Definition: umbrellosettings.h:1113
UmbrelloSettings::setWidth
static void setWidth(int v)
Definition: umbrellosettings.h:1148
codeviewerstate.h
UmbrelloSettings::setBlocksAreHighlighted
static void setBlocksAreHighlighted(bool v)
Definition: umbrellosettings.h:1211
UmbrelloSettings::nonEditBlockColor
static QColor nonEditBlockColor()
Definition: umbrellosettings.h:1389
UmbrelloSettings::setCodeViewerFont
static void setCodeViewerFont(const QFont &v)
Definition: umbrellosettings.h:1239
Settings::CodeViewerState
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Settings::CodeViewerState::load
void load()
Definition: codeviewerstate.cpp:17
UmbrelloSettings::setUmlObjectColor
static void setUmlObjectColor(const QColor &v)
Definition: umbrellosettings.h:1407
Settings::CodeViewerState::selectedColor
QColor selectedColor
Definition: codeviewerstate.h:32
Settings::CodeViewerState::umlObjectColor
QColor umlObjectColor
Definition: codeviewerstate.h:35