ICS

QicsTable Documentation Set

QicsICell Class Reference

A lightweight object that refers to a single cell. More...

#include <QicsICell.h>

Inherits QPoint.

List of all members.

Public Member Functions

 QicsICell (int row, int col)
 QicsICell (void)
int row (void) const
int column (void) const
void setRow (int row)
void setColumn (int col)
bool isValid (void) const


Detailed Description

A lightweight object that refers to a single cell.

A QicsICell specifies a cell of a QicsTable. A QicsICell instance is defined by a row and a column. As it is subclassed from QPoint, a QicsICell object has all the functionality of its superclass.

QicsICell is mostly used internally, as a lightweight object that specifies a signle cell but can be used to set and retrieve cell information in a QicsRegion object. Note that QicsICell cannot be used to set or retrieve cell property information -- use QicsCell for this.


Constructor & Destructor Documentation

QicsICell::QicsICell ( int  row,
int  col 
) [inline]

Constructs a new cell object.

QicsICell::QicsICell ( void   )  [inline]

Constructs an empty, invalid ICell.


Member Function Documentation

int QicsICell::row ( void   )  const [inline]

Returns the row index of the cell.

int QicsICell::column ( void   )  const [inline]

Returns the column index of the cell.

void QicsICell::setRow ( int  row  )  [inline]

Sets the row index of the cell.

void QicsICell::setColumn ( int  col  )  [inline]

Sets the column index of the cell.

bool QicsICell::isValid ( void   )  const [inline]

Returns true if this is a valid cell (both row() and column() are non-negative), false otherwise.


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

All trademarks and copyrights on this page are properties of their respective owners.
The rest is copyright 1999-2006 Integrated Computer Solutions, Inc.