#include <QtGui/qrgb.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qstringlist.h>
Go to the source code of this file.
◆ operator<<() [1/2]
Definition at line 2602 of file qcolor.cpp.
2604 #ifndef Q_BROKEN_DEBUG_STREAM 2606 dbg.nospace() <<
"QColor(Invalid)";
2608 dbg.nospace() <<
"QColor(ARGB " <<
c.alphaF() <<
", " <<
c.redF() <<
", " <<
c.greenF() <<
", " <<
c.blueF() <<
')';
2610 dbg.nospace() <<
"QColor(AHSV " <<
c.alphaF() <<
", " <<
c.hueF() <<
", " <<
c.saturationF() <<
", " <<
c.valueF() <<
')';
2612 dbg.nospace() <<
"QColor(ACMYK " <<
c.alphaF() <<
", " <<
c.cyanF() <<
", " <<
c.magentaF() <<
", " <<
c.yellowF() <<
", " 2613 <<
c.blackF()<<
')';
2615 dbg.nospace() <<
"QColor(AHSL " <<
c.alphaF() <<
", " <<
c.hslHueF() <<
", " <<
c.hslSaturationF() <<
", " <<
c.lightnessF() <<
')';
2619 qWarning(
"This compiler doesn't support streaming QColor to QDebug");
Q_CORE_EXPORT void qWarning(const char *,...)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
◆ operator<<() [2/2]
Definition at line 2638 of file qcolor.cpp.
2640 if (
stream.version() < 7) {
2641 if (!color.isValid())
2644 if (
stream.version() == 1)
2645 p = ((p << 16) & 0xff0000) | ((p >> 16) & 0xff) | (p & 0xff00ff00);
2649 qint8 s = color.cspec;
2651 quint16 r = color.ct.argb.red;
2652 quint16 g = color.ct.argb.green;
2653 quint16 b = color.ct.argb.blue;
2654 quint16 p = color.ct.argb.pad;
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ operator>>()
Definition at line 2677 of file qcolor.cpp.
2679 if (
stream.version() < 7) {
2682 if (p == 0x49000000) {
2686 if (
stream.version() == 1)
2687 p = ((p << 16) & 0xff0000) | ((p >> 16) & 0xff) | (p & 0xff00ff00);
2702 color.ct.argb.alpha =
a;
2703 color.ct.argb.red = r;
2704 color.ct.argb.green = g;
2705 color.ct.argb.blue = b;
2706 color.ct.argb.pad = p;
Spec
The type of color specified, either RGB, HSV, CMYK or HSL.
long ASN1_INTEGER_get ASN1_INTEGER * a