#include "ColorPalette.h"
#include <QColor>
#include <QString>
#include <QSysInfo>
#include <QXmlStreamReader>
Go to the source code of this file.
◆ ColorPaletteToQColor()
Definition at line 16 of file EnumsToQt.cpp.
17{
18 if (colorPaletteLookupTable.count() == 0) {
19
20
30 }
31
32 if (colorPaletteLookupTable.contains (color)) {
33
34 return colorPaletteLookupTable [color];
35
36 } else {
37
41
42 }
43}
@ COLOR_PALETTE_TRANSPARENT
const int INNER_RADIUS_MIN
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT.
log4cpp::Category * mainCat
#define LOG4CPP_ERROR_S(logger)
◆ EndianToString()
Definition at line 45 of file EnumsToQt.cpp.
46{
47 if (endianLookupTable.count() == 0) {
48
49
50 endianLookupTable [QSysInfo::BigEndian] = "BigEndian";
51 endianLookupTable [QSysInfo::LittleEndian] = "LittleEndian";
52 }
53
54 if (endianLookupTable.contains (
endian)) {
55
56 return endianLookupTable [
endian];
57
58 } else {
59
60 return "<Unknown>";
61
62 }
63}