#include <wellarray.hpp>
|
| WellArray (int rows, int cols, QWidget *parent=0) |
|
QString | cellContent (int row, int col) const |
|
int | selectedColumn () const |
|
int | selectedRow () const |
|
virtual void | setCurrent (int row, int col) |
|
virtual void | setSelected (int row, int col) |
|
QSize | sizeHint () const |
|
virtual void | setCellBrush (int row, int col, const QBrush &) |
|
QBrush | cellBrush (int row, int col) |
|
int | cellWidth () const |
|
int | cellHeight () const |
|
int | rowAt (int y) const |
|
int | columnAt (int x) const |
|
int | rowY (int row) const |
|
int | columnX (int column) const |
|
int | numRows () const |
|
int | numCols () const |
|
QRect | cellRect () const |
|
QSize | gridSize () const |
|
QRect | cellGeometry (int row, int column) |
|
void | updateCell (int row, int column) |
|
Definition at line 49 of file wellarray.hpp.
pv::widgets::WellArray::WellArray |
( |
int |
rows, |
|
|
int |
cols, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
QBrush pv::widgets::WellArray::cellBrush |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
QString pv::widgets::WellArray::cellContent |
( |
int |
row, |
|
|
int |
col |
|
) |
| const |
QRect pv::widgets::WellArray::cellGeometry |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
inline |
int pv::widgets::WellArray::cellHeight |
( |
| ) |
const |
|
inline |
QRect pv::widgets::WellArray::cellRect |
( |
| ) |
const |
|
inline |
int pv::widgets::WellArray::cellWidth |
( |
| ) |
const |
|
inline |
int pv::widgets::WellArray::columnAt |
( |
int |
x | ) |
const |
|
inline |
int pv::widgets::WellArray::columnX |
( |
int |
column | ) |
const |
|
inline |
void pv::widgets::WellArray::focusInEvent |
( |
QFocusEvent * |
| ) |
|
|
protected |
void pv::widgets::WellArray::focusOutEvent |
( |
QFocusEvent * |
| ) |
|
|
protected |
QSize pv::widgets::WellArray::gridSize |
( |
| ) |
const |
|
inline |
void pv::widgets::WellArray::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
void pv::widgets::WellArray::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void pv::widgets::WellArray::mouseReleaseEvent |
( |
QMouseEvent * |
| ) |
|
|
protected |
int pv::widgets::WellArray::numCols |
( |
| ) |
const |
|
inline |
int pv::widgets::WellArray::numRows |
( |
| ) |
const |
|
inline |
void pv::widgets::WellArray::paintCell |
( |
QPainter * |
p, |
|
|
int |
row, |
|
|
int |
col, |
|
|
const QRect & |
rect |
|
) |
| |
|
protectedvirtual |
void pv::widgets::WellArray::paintCellContents |
( |
QPainter * |
p, |
|
|
int |
row, |
|
|
int |
col, |
|
|
const QRect & |
r |
|
) |
| |
|
protectedvirtual |
Reimplement this function to change the contents of the well array.
Definition at line 154 of file wellarray.cpp.
void pv::widgets::WellArray::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
protected |
int pv::widgets::WellArray::rowAt |
( |
int |
y | ) |
const |
|
inline |
int pv::widgets::WellArray::rowY |
( |
int |
row | ) |
const |
|
inline |
void pv::widgets::WellArray::selected |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
signal |
int pv::widgets::WellArray::selectedColumn |
( |
| ) |
const |
|
inline |
int pv::widgets::WellArray::selectedRow |
( |
| ) |
const |
|
inline |
void pv::widgets::WellArray::setCellBrush |
( |
int |
row, |
|
|
int |
col, |
|
|
const QBrush & |
b |
|
) |
| |
|
virtual |
void pv::widgets::WellArray::setCurrent |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
virtual |
void pv::widgets::WellArray::setSelected |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
virtual |
QSize pv::widgets::WellArray::sizeHint |
( |
| ) |
const |
void pv::widgets::WellArray::updateCell |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
inline |
int pv::widgets::WellArray::cellh |
|
private |
int pv::widgets::WellArray::cellw |
|
private |
int pv::widgets::WellArray::curCol |
|
private |
int pv::widgets::WellArray::curRow |
|
private |
int pv::widgets::WellArray::ncols |
|
private |
int pv::widgets::WellArray::nrows |
|
private |
int pv::widgets::WellArray::selCol |
|
private |
int pv::widgets::WellArray::selRow |
|
private |
int pv::widgets::WellArray::selectedColumn |
|
read |
int pv::widgets::WellArray::selectedRow |
|
read |
The documentation for this class was generated from the following files: