21 {
"windows",
true,
false,
false},
23 {
"other",
true,
true,
false}};
29 img =
img.convertToFormat(QImage::Format_ARGB32);
30 for (
int x =
img.width(); x--;) {
31 for (
int y =
img.height(); y--;) {
65 singleColor(0, 0, 0), textColor(0, 0, 0) {
69 QApplication::palette().color(QPalette::Highlight));
71 QApplication::palette().color(QPalette::HighlightedText));
73 QApplication::palette().color(QPalette::WindowText));
85 textColor =
QColor(QApplication::palette().color(QPalette::WindowText));
97 return QIcon(filename);
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...