kspread
KSpread::Region::Element Class Reference
Base class for region elements, which can be points or ranges. More...
#include <Region.h>

Public Types | |
| enum | Type { Undefined, Point, Range } |
Public Member Functions | |
| Element () | |
| virtual | ~Element () |
| 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 *=0) const |
| virtual QRect | rect () const |
| void | setSheet (Sheet *sheet) |
| Sheet * | sheet () const |
| virtual Type | type () const |
Protected Attributes | |
| Sheet * | m_sheet |
Detailed Description
Base class for region elements, which can be points or ranges.
This class is used by KSpread::Region and could not be used outside of it.
Size: m_sheet: 4 bytes vtable: 4 bytes sum: 8 bytes
Definition at line 405 of file Region.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| KSpread::Region::Element::Element | ( | ) |
Definition at line 1062 of file Region.cpp.
| KSpread::Region::Element::~Element | ( | ) | [virtual] |
Definition at line 1067 of file Region.cpp.
Member Function Documentation
| virtual bool KSpread::Region::Element::contains | ( | const QRect & | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::contains | ( | const QPoint & | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isAll | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isBottomFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isColumn | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isColumnFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isLeftFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isRightFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isRow | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isRowFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isTopFixed | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual bool KSpread::Region::Element::isValid | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| virtual QRect KSpread::Region::Element::rect | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
| void KSpread::Region::Element::setSheet | ( | Sheet * | sheet | ) | [inline] |
| virtual Type KSpread::Region::Element::type | ( | ) | const [inline, virtual] |
Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.
Member Data Documentation
Sheet* KSpread::Region::Element::m_sheet [protected] |
The documentation for this class was generated from the following files:
