12static QHash<ColorPalette, QColor> colorPaletteLookupTable;
13static QHash<QSysInfo::Endian, QString> endianLookupTable;
17 if (colorPaletteLookupTable.count() == 0) {
31 if (colorPaletteLookupTable.contains (color)) {
33 return colorPaletteLookupTable [color];
45 if (endianLookupTable.count() == 0) {
48 endianLookupTable [QSysInfo::BigEndian] =
"BigEndian";
49 endianLookupTable [QSysInfo::LittleEndian] =
"LittleEndian";
52 if (endianLookupTable.contains (endian)) {
54 return endianLookupTable [endian];
@ COLOR_PALETTE_TRANSPARENT
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...
QString EndianToString(QSysInfo::Endian endian)
QColor ColorPaletteToQColor(ColorPalette color)