56 WellArray(
int rows,
int cols, QWidget* parent=0);
59 int selectedColumn()
const {
return selCol; }
67 virtual void setCellBrush(
int row,
int col,
const QBrush &);
80 {
if (isRightToLeft())
return ncols - (x /
cellw) - 1;
return x /
cellw; }
82 inline int rowY(
int row)
const
83 {
return cellh * row; }
86 {
if (isRightToLeft())
return cellw * (
ncols - column - 1);
return cellw * column; }
103 if (row >= 0 && row < nrows && column >= 0 && column <
ncols)
114 virtual void paintCell(QPainter *,
int row,
int col,
const QRect&);