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::skills::gui::gui_color_palette
armarx::skills::gui::gui_color_palette
Definition: ColorPalettes.cpp:3
armarx::skills::gui::gui_color_palette::getIndirectErrorPalette
QPalette getIndirectErrorPalette()
Definition: ColorPalettes.cpp:24
ColorPalettes.h
armarx::red
QColor red()
Definition: StyleSheets.h:76
armarx::skills::gui::gui_color_palette::getErrorPalette
QPalette getErrorPalette()
Definition: ColorPalettes.cpp:6
armarx::skills::gui::gui_color_palette::getNormalPalette
QPalette getNormalPalette()
Definition: ColorPalettes.cpp:14
armarx::orange
QColor orange()
Definition: StyleSheets.h:80