Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpen.cpp File Reference

(fc00dca1c388ee04401d2e391f74b38d42c177df)

#include "qpen.h"
#include "qpen_p.h"
#include "qdatastream.h"
#include "qvariant.h"
#include "qbrush.h"
#include <qdebug.h>
Include dependency graph for qpen.cpp:

Go to the source code of this file.

Classes

class  QPenDataHolder

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (QPenDataHolder, defaultPenInstance,(Qt::black, 1, Qt::SolidLine, qpen_default_cap, qpen_default_join)) Q_GLOBAL_STATIC_WITH_ARGS(QPenDataHolder
QDataStreamoperator<< (QDataStream &s, const QPen &p)
QDataStreamoperator>> (QDataStream &s, QPen &p)
QDebug operator<< (QDebug dbg, const QPen &p)

Variables

static constexpr Qt::PenCapStyle qpen_default_cap = Qt::SquareCap
static constexpr Qt::PenJoinStyle qpen_default_join = Qt::BevelJoin
 nullPenInstance

Function Documentation

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream & s,
const QPen & p )

Definition at line 904 of file qpen.cpp.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug dbg,
const QPen & p )

Definition at line 1016 of file qpen.cpp.

◆ operator>>()

QDataStream & operator>> ( QDataStream & s,
QPen & p )

Definition at line 951 of file qpen.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( QPenDataHolder ,
defaultPenInstance ,
(Qt::black, 1, Qt::SolidLine, qpen_default_cap, qpen_default_join)  )

Variable Documentation

◆ nullPenInstance

nullPenInstance

Definition at line 220 of file qpen.cpp.

◆ qpen_default_cap

constexpr Qt::PenCapStyle qpen_default_cap = Qt::SquareCap
staticconstexpr

Definition at line 203 of file qpen.cpp.

◆ qpen_default_join

constexpr Qt::PenJoinStyle qpen_default_join = Qt::BevelJoin
staticconstexpr

Definition at line 204 of file qpen.cpp.