kspread

KSpreadPen Class Reference

#include <kspread_pen.h>

Public Member Functions

 KSpreadPen (const TQColor &_color, double _pointWidth, TQt::PenStyle _style)
 KSpreadPen (const TQColor &_color)
bool operator== (const KSpreadPen &p) const
bool operator!= (const KSpreadPen &p) const
void setPointWidth (double width)
double pointWidth () const
TQPen zoomedPen (KoZoomHandler *zoomHandler)

Detailed Description

Pen that handles line widths in points.

Definition at line 30 of file kspread_pen.h.

Constructor & Destructor Documentation

◆ KSpreadPen() [1/3]

KSpreadPen::KSpreadPen ( )

Definition at line 24 of file kspread_pen.cpp.

◆ KSpreadPen() [2/3]

KSpreadPen::KSpreadPen ( const TQColor & _color,
double _pointWidth,
TQt::PenStyle _style )

Definition at line 30 of file kspread_pen.cpp.

◆ KSpreadPen() [3/3]

KSpreadPen::KSpreadPen ( const TQColor & _color)

Definition at line 38 of file kspread_pen.cpp.

◆ ~KSpreadPen()

KSpreadPen::~KSpreadPen ( )

Definition at line 44 of file kspread_pen.cpp.

Member Function Documentation

◆ operator!=()

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.cpp.

◆ operator==()

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.cpp.

◆ pointWidth()

double KSpreadPen::pointWidth ( ) const
inline

KSpreadPen width in points.

Definition at line 59 of file kspread_pen.h.

◆ setPointWidth()

void KSpreadPen::setPointWidth ( double width)

Set the pen width in points.

Definition at line 58 of file kspread_pen.cpp.

◆ zoomedPen()

TQPen KSpreadPen::zoomedPen ( KoZoomHandler * zoomHandler)

Returns a zoomed TQPen.

Definition at line 63 of file kspread_pen.cpp.


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