Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpen.cpp File Reference

(74b67c8f844baff744acbd2cdc69e5ef0384ac16)

#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 const Qt::PenCapStyle qpen_default_cap = Qt::SquareCap
 
static const Qt::PenJoinStyle qpen_default_join = Qt::BevelJoin
 
 nullPenInstance
 

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 840 of file qpen.cpp.

◆ operator<<() [2/2]

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

Definition at line 952 of file qpen.cpp.

◆ operator>>()

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

Definition at line 887 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 221 of file qpen.cpp.

Referenced by QPen::QPen().

◆ qpen_default_cap

qpen_default_cap = Qt::SquareCap
static

Definition at line 204 of file qpen.cpp.

Referenced by QPen::QPen(), and QPen::QPen().

◆ qpen_default_join

const Qt::PenJoinStyle qpen_default_join = Qt::BevelJoin
static

Definition at line 205 of file qpen.cpp.

Referenced by QPen::QPen(), and QPen::QPen().