#include <QicsICell.h>
Inherits QPoint.
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 |
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.
| QicsICell::QicsICell | ( | int | row, | |
| int | col | |||
| ) | [inline] |
Constructs a new cell object.
| QicsICell::QicsICell | ( | void | ) | [inline] |
Constructs an empty, invalid ICell.
| int QicsICell::row | ( | void | ) | const [inline] |
Returns the row index of the cell.
Referenced by QicsGrid::cellDimensions(), QicsRegion::containsCell(), QicsRegion::setEndCell(), and QicsRegion::setStartCell().
| int QicsICell::column | ( | void | ) | const [inline] |
Returns the column index of the cell.
Referenced by QicsGrid::cellDimensions(), QicsRegion::containsCell(), QicsRegion::setEndCell(), and QicsRegion::setStartCell().
| 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] |