#include <qpen.h>
Public Types |
|
| typedef QPenPrivate * | DataPtr |
Public Member Functions |
|
| QPen () | |
| QPen (Qt::PenStyle) | |
| QPen (const QColor &color) | |
| QPen (const QBrush &brush, qreal width, Qt::PenStyle s=Qt::SolidLine, Qt::PenCapStyle c=Qt::SquareCap, Qt::PenJoinStyle j=Qt::BevelJoin) | |
| QPen (const QPen &pen) | |
| ~QPen () | |
| QPen & | operator= (const QPen &pen) |
| Qt::PenStyle | style () const |
| void | setStyle (Qt::PenStyle) |
| QVector< qreal > | dashPattern () const |
| void | setDashPattern (const QVector< qreal > &pattern) |
| qreal | dashOffset () const |
| void | setDashOffset (qreal doffset) |
| qreal | miterLimit () const |
| void | setMiterLimit (qreal limit) |
| qreal | widthF () const |
| void | setWidthF (qreal width) |
| int | width () const |
| void | setWidth (int width) |
| QColor | color () const |
| void | setColor (const QColor &color) |
| QBrush | brush () const |
| void | setBrush (const QBrush &brush) |
| bool | isSolid () const |
| Qt::PenCapStyle | capStyle () const |
| void | setCapStyle (Qt::PenCapStyle pcs) |
| Qt::PenJoinStyle | joinStyle () const |
| void | setJoinStyle (Qt::PenJoinStyle pcs) |
| bool | isCosmetic () const |
| void | setCosmetic (bool cosmetic) |
| bool | operator== (const QPen &p) const |
| bool | operator!= (const QPen &p) const |
| operator QVariant () const | |
| bool | isDetached () |
| DataPtr & | data_ptr () |
Friends |
|
| Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &, QPen &) |
| Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &, const QPen &) |
| typedef QPenPrivate* DataPtr |
| QPen | ( | ) |
| QPen | ( | Qt::PenStyle | ) |
| QPen | ( | const QBrush & | brush, |
| qreal | width, | ||
| Qt::PenStyle | s = Qt::SolidLine, |
||
| Qt::PenCapStyle | c = Qt::SquareCap, |
||
| Qt::PenJoinStyle | j =
Qt::BevelJoin |
||
| ) |
| ~QPen | ( | ) |
| Qt::PenStyle style | ( | ) | const |
| void setStyle | ( | Qt::PenStyle | ) |
| QVector<qreal> dashPattern | ( | ) | const |
| void setDashPattern | ( | const QVector< qreal > & | pattern | ) |
| qreal dashOffset | ( | ) | const |
| void setDashOffset | ( | qreal | doffset | ) |
| qreal miterLimit | ( | ) | const |
| void setMiterLimit | ( | qreal | limit | ) |
| qreal widthF | ( | ) | const |
| void setWidthF | ( | qreal | width | ) |
| int width | ( | ) | const |
| void setWidth | ( | int | width | ) |
| QColor color | ( | ) | const |
| void setColor | ( | const QColor & | color | ) |
| QBrush brush | ( | ) | const |
| void setBrush | ( | const QBrush & | brush | ) |
| bool isSolid | ( | ) | const |
| Qt::PenCapStyle capStyle | ( | ) | const |
| void setCapStyle | ( | Qt::PenCapStyle | pcs | ) |
| Qt::PenJoinStyle joinStyle | ( | ) | const |
| void setJoinStyle | ( | Qt::PenJoinStyle | pcs | ) |
| bool isCosmetic | ( | ) | const |
| void setCosmetic | ( | bool | cosmetic | ) |
| bool operator== | ( | const QPen & | p | ) | const |
| bool operator!= | ( | const QPen & | p | ) | const [inline] |
Definition at line 114 of file qpen.h.
{ return !(operator==(p)); }
| operator QVariant | ( | ) | const |
| bool isDetached | ( | ) |
| DataPtr& data_ptr | ( | ) | [inline] |
| Q_GUI_EXPORT QDataStream& operator>> | ( | QDataStream & | , |
| QPen & | |||
| ) | [friend] |
| Q_GUI_EXPORT QDataStream& operator<< | ( | QDataStream & | , |
| const QPen & | |||
| ) | [friend] |