Results 1 to 2 of 2

Thread: Q3Canvas problem (zoomed in drawBackground)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Genk, Belgium
    Posts
    36
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Q3Canvas problem (zoomed in drawBackground)

    While migrating to Qt 4, a QCanvas subclass became a Q3Canvas subclass. The behaviour of drawBackground seems to have changed. When zoomed in and scrolling, drawing is clipped somewhat at the borders.

    This is illustrated in the following screenshot:



    There is a small white border between the visible content pixels and the scrollbars.
    When scrolling, this gives rise to a more or less regular pattern of horizontal resp. vertical white bars.
    I am certain that I do draw the missing pixels to the painter, but the seem to disappear. (In fact, for certainty I first extend the clip with 10 pixels in each direction...)

    Has something changed that I am not aware of?
    Last edited by Pieter from Belgium; 10th October 2006 at 15:48.

Similar Threads

  1. Facing problem with Q3Canvas
    By jnana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2006, 07:00
  2. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.