Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qpen.cpp File Reference
#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

QT_BEGIN_NAMESPACE typedef QPenPrivate QPenData
 
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 870 of file qpen.cpp.

◆ operator<<() [2/2]

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

Definition at line 984 of file qpen.cpp.

◆ operator>>()

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

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

Referenced by QPen::QPen().

◆ qpen_default_cap

qpen_default_cap = Qt::SquareCap
static

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

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

◆ QPenData