Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void Q3TableSelection::init ( int  row,
int  col 

Sets the selection anchor to cell row, col and the selection to only contain this cell. The selection is not active until expandTo() is called.

To extend the selection to include additional cells, call expandTo().

See also:

Definition at line 248 of file q3table.cpp.

Referenced by Q3Table::contentsMouseMoveEvent(), Q3Table::contentsMouseReleaseEvent(), Q3Table::doAutoScroll(), Q3Table::keyPressEvent(), Q3TableSelection(), and Q3Table::setCurrentCell().

    aCol = lCol = rCol = col;
    aRow = tRow = bRow = row;
    active = false;
    inited = true;

Generated by  Doxygen 1.6.0   Back to index