#include <CustomTextEdit.h>
Public Member Functions | |
void | scrollContentsBy (int dx, int dy) |
Override to keep the regular QTextEdit from ruining the background picture. |
|
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.
|