ColorPalettes.cpp
Go to the documentation of this file.
1#include "ColorPalettes.h"
2
4{
5 QPalette
7 {
8 QPalette errorPalette;
9 errorPalette.setColor(QPalette::Base, Qt::red);
10 return errorPalette;
11 }
12
13 QPalette
15 {
16
17 QPalette normalPalette;
18
19 normalPalette.setColor(QPalette::Base, Qt::white);
20 return normalPalette;
21 }
22
23 QPalette
25 {
26 QPalette indirectErr;
27 static QColor orange = QColor::fromRgb(255, 165, 0);
28 // orange color
29 indirectErr.setColor(QPalette::Base, orange);
30 return indirectErr;
31 }
32
33} // namespace armarx::gui_color_palette
QColor orange()
Definition StyleSheets.h:84