kspread

KSpread::Region::Point Class Reference

A point in a region. More...

#include <Region.h>

Inheritance diagram for KSpread::Region::Point:

List of all members.

Public Member Functions

 Point (const QString &)
 Point (const QPoint &)
 Point (int col, int row)
 Point ()
virtual ~Point ()
Cell cell () const
virtual bool contains (const QRect &) const
virtual bool contains (const QPoint &) const
virtual bool isAll () const
virtual bool isBottomFixed () const
virtual bool isColumn () const
virtual bool isColumnFixed () const
virtual bool isLeftFixed () const
virtual bool isRightFixed () const
virtual bool isRow () const
virtual bool isRowFixed () const
virtual bool isTopFixed () const
virtual bool isValid () const
virtual QString name (Sheet *originSheet=0) const
bool operator== (const Point &other)
QPoint pos () const
virtual QRect rect () const
virtual Type type () const

Detailed Description

A point in a region.

This class is used by KSpread::Region and could not be used outside of it.

Size: m_sheet: 4 bytes vtable: 4 bytes m_point: 8 bytes sum: 16 bytes

Definition at line 458 of file Region.h.


Constructor & Destructor Documentation

KSpread::Region::Point::Point (  )  [inline]

Definition at line 461 of file Region.h.

KSpread::Region::Point::Point ( int  col,
int  row 
) [inline]

Definition at line 462 of file Region.h.

KSpread::Region::Point::Point ( const QPoint point  ) 

Reimplemented in KSpread::Selection::Point.

Definition at line 1076 of file Region.cpp.

KSpread::Region::Point::Point ( const QString string  ) 

Reimplemented in KSpread::Selection::Point.

Definition at line 1084 of file Region.cpp.

KSpread::Region::Point::~Point (  )  [virtual]

Definition at line 1154 of file Region.cpp.


Member Function Documentation

Cell KSpread::Region::Point::cell (  )  const

Definition at line 1188 of file Region.cpp.

bool KSpread::Region::Point::contains ( const QRect range  )  const [virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 1183 of file Region.cpp.

bool KSpread::Region::Point::contains ( const QPoint point  )  const [virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 1178 of file Region.cpp.

virtual bool KSpread::Region::Point::isAll (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 471 of file Region.h.

virtual bool KSpread::Region::Point::isBottomFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 484 of file Region.h.

virtual bool KSpread::Region::Point::isColumn (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 469 of file Region.h.

virtual bool KSpread::Region::Point::isColumnFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 480 of file Region.h.

virtual bool KSpread::Region::Point::isLeftFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 483 of file Region.h.

virtual bool KSpread::Region::Point::isRightFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 485 of file Region.h.

virtual bool KSpread::Region::Point::isRow (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 470 of file Region.h.

virtual bool KSpread::Region::Point::isRowFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 481 of file Region.h.

virtual bool KSpread::Region::Point::isTopFixed (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 482 of file Region.h.

virtual bool KSpread::Region::Point::isValid (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 468 of file Region.h.

QString KSpread::Region::Point::name ( Sheet originSheet = 0  )  const [virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 1158 of file Region.cpp.

bool KSpread::Region::Point::operator== ( const Point other  )  [inline]

Definition at line 490 of file Region.h.

QPoint KSpread::Region::Point::pos (  )  const [inline]

Definition at line 487 of file Region.h.

virtual QRect KSpread::Region::Point::rect (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 478 of file Region.h.

virtual Type KSpread::Region::Point::type (  )  const [inline, virtual]

Reimplemented from KSpread::Region::Element.

Definition at line 467 of file Region.h.


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