kspread

KSpreadPen Class Reference

#include <kspread_pen.h>

List of all members.


Detailed Description

Pen that handles line widths in points.

Definition at line 30 of file kspread_pen.h.


Public Member Functions

 KSpreadPen ()
 KSpreadPen (const QColor &_color, double _pointWidth, Qt::PenStyle _style)
 KSpreadPen (const QColor &_color)
 ~KSpreadPen ()
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 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.

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.

double KSpreadPen::pointWidth (  )  const [inline]

KSpreadPen width in points.

Definition at line 59 of file kspread_pen.h.

void KSpreadPen::setPointWidth ( double  width  ) 

Set the pen width in points.

Definition at line 58 of file kspread_pen.cc.

QPen KSpreadPen::zoomedPen ( KoZoomHandler *  zoomHandler  ) 

Returns a zoomed QPen.

Definition at line 63 of file kspread_pen.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys