Qt 4.8
Public Functions | Public Variables | List of all members
QPenPrivate Class Reference

#include <qpen_p.h>

Public Functions

 QPenPrivate (const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle _joinStyle)
 

Public Variables

QBrush brush
 
Qt::PenCapStyle capStyle
 
uint cosmetic: 1
 
qreal dashOffset
 
QVector< qrealdashPattern
 
Qt::PenJoinStyle joinStyle
 
qreal miterLimit
 
QAtomicInt ref
 
Qt::PenStyle style
 
qreal width
 

Detailed Description

Definition at line 60 of file qpen_p.h.

Constructors and Destructors

◆ QPenPrivate()

QPenPrivate::QPenPrivate ( const QBrush _brush,
qreal  _width,
Qt::PenStyle  penStyle,
Qt::PenCapStyle  _capStyle,
Qt::PenJoinStyle  _joinStyle 
)
inline
Warning
This function is not part of the public interface.

Definition at line 233 of file qpen.cpp.

235  : dashOffset(0), miterLimit(2),
236  cosmetic(false)
237 {
238  ref = 1;
239  width = _width;
240  brush = _brush;
241  style = penStyle;
242  capStyle = _capStyle;
243  joinStyle = _joinStyle;
244 }
qreal dashOffset
Definition: qpen_p.h:71
qreal miterLimit
Definition: qpen_p.h:72
QAtomicInt ref
Definition: qpen_p.h:64
Qt::PenCapStyle capStyle
Definition: qpen_p.h:68
uint cosmetic
Definition: qpen_p.h:73
Qt::PenJoinStyle joinStyle
Definition: qpen_p.h:69
qreal width
Definition: qpen_p.h:65
Qt::PenStyle style
Definition: qpen_p.h:67
QBrush brush
Definition: qpen_p.h:66

Properties

◆ brush

QBrush QPenPrivate::brush

Definition at line 66 of file qpen_p.h.

Referenced by QPen::operator==(), operator>>(), QPenPrivate(), and QPen::setBrush().

◆ capStyle

Qt::PenCapStyle QPenPrivate::capStyle

Definition at line 68 of file qpen_p.h.

Referenced by QPen::operator==(), operator>>(), and QPenPrivate().

◆ cosmetic

uint QPenPrivate::cosmetic

◆ dashOffset

qreal QPenPrivate::dashOffset

◆ dashPattern

QVector<qreal> QPenPrivate::dashPattern
mutable

◆ joinStyle

Qt::PenJoinStyle QPenPrivate::joinStyle

Definition at line 69 of file qpen_p.h.

Referenced by QPen::operator==(), operator>>(), and QPenPrivate().

◆ miterLimit

qreal QPenPrivate::miterLimit

Definition at line 72 of file qpen_p.h.

Referenced by QPen::miterLimit(), QPen::operator==(), operator>>(), and QPen::setMiterLimit().

◆ ref

QAtomicInt QPenPrivate::ref

◆ style

Qt::PenStyle QPenPrivate::style

Definition at line 67 of file qpen_p.h.

Referenced by QPen::operator==(), operator>>(), and QPenPrivate().

◆ width

qreal QPenPrivate::width

Definition at line 65 of file qpen_p.h.

Referenced by QPen::operator==(), operator>>(), QPenPrivate(), QPen::setWidth(), and QPen::setWidthF().


The documentation for this class was generated from the following files: