Logo Search packages:      
Sourcecode: koffice version File versions

void QtTableView::setXOffset ( int  x  )  [protected, virtual]

Scrolls the table so that x becomes the leftmost pixel in the view. The x parameter is in table coordinates.

The interaction with Tbl_snapToHGrid is tricky.

See also:
xOffset(), setYOffset(), setOffset(), setLeftCell()

Definition at line 432 of file qttableview.cpp.

References setOffset(), and yOffset().

Referenced by updateScrollBars().

{
    setOffset( x, yOffset() );
}


Generated by  Doxygen 1.6.0   Back to index