ColorPalettes.cpp
Go to the documentation of this file.
1
#include "
ColorPalettes.h
"
2
3
namespace
armarx::gui_color_palette
4
{
5
QPalette
6
getErrorPalette
()
7
{
8
QPalette errorPalette;
9
errorPalette.setColor(QPalette::Base,
Qt::red
);
10
return
errorPalette;
11
}
12
QPalette
13
getNormalPalette
()
14
{
15
16
QPalette normalPalette;
17
18
normalPalette.setColor(QPalette::Base, Qt::white);
19
return
normalPalette;
20
}
21
22
QPalette
23
getIndirectErrorPalette
()
24
{
25
QPalette indirectErr;
26
static
QColor
orange
= QColor::fromRgb(255, 165, 0);
27
// orange color
28
indirectErr.setColor(QPalette::Base,
orange
);
29
return
indirectErr;
30
}
31
32
}
// namespace armarx::gui_color_palette
armarx::gui_color_palette::getErrorPalette
QPalette getErrorPalette()
Definition:
ColorPalettes.cpp:6
armarx::gui_color_palette
Definition:
ColorPalettes.cpp:3
armarx::gui_color_palette::getIndirectErrorPalette
QPalette getIndirectErrorPalette()
Definition:
ColorPalettes.cpp:23
armarx::red
QColor red()
Definition:
StyleSheets.h:76
ColorPalettes.h
armarx::gui_color_palette::getNormalPalette
QPalette getNormalPalette()
Definition:
ColorPalettes.cpp:13
armarx::orange
QColor orange()
Definition:
StyleSheets.h:80
RobotAPI
gui-plugins
SkillManagerPlugin
ColorPalettes.cpp
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17