|
|
@ -1391,7 +1391,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
|
|
|
|
TQRect r = viewR;
|
|
|
|
TQRect r = viewR;
|
|
|
|
r.setLeft( xPos );
|
|
|
|
r.setLeft( xPos );
|
|
|
|
r.setBottom( yPos<maxY?yPos:maxY );
|
|
|
|
r.setBottom( yPos<maxY?yPos:maxY );
|
|
|
|
if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) )
|
|
|
|
if ( inherits( "TQMultiLineEdit" ) )
|
|
|
|
paint.fillRect( r.intersect( updateR ), g.base() );
|
|
|
|
paint.fillRect( r.intersect( updateR ), g.base() );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
paint.eraseRect( r.intersect( updateR ) );
|
|
|
|
paint.eraseRect( r.intersect( updateR ) );
|
|
|
@ -1399,7 +1399,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
|
|
|
|
if ( yPos <= maxY ) {
|
|
|
|
if ( yPos <= maxY ) {
|
|
|
|
TQRect r = viewR;
|
|
|
|
TQRect r = viewR;
|
|
|
|
r.setTop( yPos );
|
|
|
|
r.setTop( yPos );
|
|
|
|
if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) )
|
|
|
|
if ( inherits( "TQMultiLineEdit" ) )
|
|
|
|
paint.fillRect( r.intersect( updateR ), g.base() );
|
|
|
|
paint.fillRect( r.intersect( updateR ), g.base() );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
paint.eraseRect( r.intersect( updateR ) );
|
|
|
|
paint.eraseRect( r.intersect( updateR ) );
|
|
|
|