CustomTextEdit Class Reference

Custom QTextEdit to prevent the regular QTextEdit from ruining the background picture. More...

#include <CustomTextEdit.h>

List of all members.

Public Member Functions

void scrollContentsBy (int dx, int dy)
 Override to keep the regular QTextEdit from ruining the background picture.


Detailed Description

Custom QTextEdit to prevent the regular QTextEdit from ruining the background picture.


Member Function Documentation

void scrollContentsBy int  dx,
int  dy
[inline]
 

Override to keep the regular QTextEdit from ruining the background picture.

By scrolling by the entire view port and not just the minimum viewport, we tell Qt that it should update the entire viewport and thus updating the background picture.

Otherwise we wind up with "artifacts" on the background picture.

Parameters:
dx the X to scroll by
dy the Y to scroll by


The documentation for this class was generated from the following file:
Generated on Sat Mar 4 23:32:21 2006 for RebeccaAIML by  doxygen 1.4.5