kspread
KSpreadPen Class Reference
#include <kspread_pen.h>
Inherits QPen.
Detailed Description
Pen that handles line widths in points.Definition at line 30 of file kspread_pen.h.
Public Member Functions | |
KSpreadPen (const QColor &_color, double _pointWidth, Qt::PenStyle _style) | |
KSpreadPen (const QColor &_color) | |
bool | operator== (const KSpreadPen &p) const |
bool | operator!= (const KSpreadPen &p) const |
void | setPointWidth (double width) |
double | pointWidth () const |
QPen | zoomedPen (KoZoomHandler *zoomHandler) |
Member Function Documentation
bool KSpreadPen::operator== | ( | const KSpreadPen & | p | ) | const |
Compare pens if they are equal.
Two pens are equal if they have equal styles, widths and colors.
- Returns:
- true if the pens are equal, false otherwise
Definition at line 48 of file kspread_pen.cc.
bool KSpreadPen::operator!= | ( | const KSpreadPen & | p | ) | const |
Compare pens if they differ.
Two pens are different if they have different styles, widths or colors.
- Returns:
- true if the pens are different, false otherwise
Definition at line 53 of file kspread_pen.cc.
void KSpreadPen::setPointWidth | ( | double | width | ) |
double KSpreadPen::pointWidth | ( | ) | const [inline] |
QPen KSpreadPen::zoomedPen | ( | KoZoomHandler * | zoomHandler | ) |
The documentation for this class was generated from the following files: