QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RColor.h File Reference
#include "core_global.h"
#include <QCoreApplication>
#include <QObject>
#include <QColor>
#include <QMetaType>
#include <QMap>
#include <QIcon>
#include <QDebug>

Go to the source code of this file.

Classes

class  RColor
 Color. More...

Macros

#define RDEFAULT_QSIZE_ICON   QSize(32,10)
 Copyright (c) 2011-2013 by Andrew Mustun.

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

#define RDEFAULT_QSIZE_ICON   QSize(32,10)

Copyright (c) 2011-2013 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.


Typedef Documentation

typedef QPair<QString, RColor> _RPairStringRColor

Function Documentation

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

Serializes the given RColor object.

Non-Scriptable:
This function is not available in script environments.

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

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.

Non-Scriptable:
This function is not available in script environments.