QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RColor.h File Reference
#include "core_global.h"
#include <QCoreApplication>
#include <QColor>
#include <QMetaType>
#include <QIcon>

Go to the source code of this file.

Classes

class  RColor
 Color. More...
 

Macros

#define RDEFAULT_QSIZE_ICON   QSize(32,10)
 

Typedefs

typedef QPair< QString, RColor_RPairStringRColor
 

Functions

QCADCORE_EXPORT QDataStream & operator<< (QDataStream &stream, const RColor &color)
 Serializes the given RColor object.
 
QCADCORE_EXPORT QDebug operator<< (QDebug dbg, const RColor &c)
 Stream operator for QDebug.
 
QCADCORE_EXPORT QDataStream & operator>> (QDataStream &stream, RColor &color)
 Deserializes the given RColor object.
 

Macro Definition Documentation

◆ RDEFAULT_QSIZE_ICON

#define RDEFAULT_QSIZE_ICON   QSize(32,10)

Typedef Documentation

◆ _RPairStringRColor

typedef QPair<QString, RColor> _RPairStringRColor

Function Documentation

◆ operator<<() [1/2]

QCADCORE_EXPORT QDataStream & operator<< ( QDataStream & stream,
const RColor & color )

Serializes the given RColor object.

Non-Scriptable:\nThis function is not available in script environments.\n

Used for RSettings, keep in sync with operator>>.

◆ operator<<() [2/2]

QCADCORE_EXPORT QDebug operator<< ( QDebug dbg,
const RColor & c )

Stream operator for QDebug.

◆ operator>>()

QCADCORE_EXPORT QDataStream & operator>> ( QDataStream & stream,
RColor & color )

Deserializes the given RColor object.

Non-Scriptable:\nThis function is not available in script environments.\n