Logo Search packages:      
Sourcecode: qps version File versions

void QtTableView::verSbSliding ( int  val  )  [private, slot]

For internal use only.

This internal slot is connected to the vertical scroll bar's QScrollBar::sliderMoved() signal.

Scrolls the table smoothly vertically even if Tbl_snapToVGrid is set.

Definition at line 1209 of file qttableview.C.

References setOffset(), and testTableFlags().

Referenced by verticalScrollBar().

    if ( testTableFlags(Tbl_snapToVGrid) &&
       testTableFlags(Tbl_smoothVScrolling) ) {
      tFlags &= ~Tbl_snapToVGrid;   // turn off snapping while sliding
      setOffset( xOffs, val, FALSE );
      tFlags |= Tbl_snapToVGrid;    // turn on snapping again
    } else {
      setOffset( xOffs, val, FALSE );

Generated by  Doxygen 1.6.0   Back to index