Logo Search packages:      
Sourcecode: koffice version File versions

void QtTableView::scroll ( int  xPixels,
int  yPixels 
) [protected]

Moves the visible area of the table right by xPixels and down by yPixels pixels. Both may be negative.

You might find that QScrollView offers a higher-level of functionality than using QtTableView and this function.
This function is not the same as QWidget::scroll(); in particular, the signs of xPixels and yPixels have the reverse semantics.

See also:
setXOffset(), setYOffset(), setOffset(), setTopCell(), setLeftCell()

Definition at line 1800 of file qttableview.cpp.

Referenced by setOffset().

    QWidget::scroll( -xPixels, -yPixels, contentsRect() );

Generated by  Doxygen 1.6.0   Back to index