43 #include <QtGui/qtguiglobal.h>
44 #include <QtGui/qcolor.h>
45 #include <QtGui/qbrush.h>
55 #ifndef QT_NO_DATASTREAM
72 QPen &operator=(
const QPen &pen) noexcept;
74 :
d(qExchange(
other.d,
nullptr)) {}
84 qreal dashOffset()
const;
85 void setDashOffset(
qreal doffset);
87 qreal miterLimit()
const;
94 void setWidth(
int width);
102 bool isSolid()
const;
110 bool isCosmetic()
const;
111 void setCosmetic(
bool cosmetic);
132 #ifndef QT_NO_DEBUG_STREAM
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
The QPen class defines how a QPainter should draw lines and outlines of shapes.
QPen(QPen &&other) noexcept
bool operator!=(const QPen &p) const
The QVariant class acts like a union for the most common Qt data types.
QT_END_INCLUDE_NAMESPACE typedef double qreal
#define QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(Class)
bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
Q_GUI_EXPORT QDataStream & operator>>(QDataStream &, QPen &)
Q_GUI_EXPORT QDataStream & operator<<(QDataStream &, const QPen &)
#define Q_DECLARE_SHARED(TYPE)
myFilter setColor(QColor(128, 0, 0))