Results 1 to 7 of 7

Thread: Draw a bar chart inisde the QScrollArea

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jul 2006
    Location
    Taiwan
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 1 Time in 1 Post

    Unhappy Re: Draw a bar chart inisde the QScrollArea

    THX fullmetalcoder.

    I made my custom class which inherits QAbstractScrollArea, and drew my chart with paintEvent(). Now the scroll bar could be easily moved, but the content (my chart) is not changed. Did I forget something that should be handled?

    Here is my code I just fixed tonight.
    Attached Files Attached Files

  2. The following user says thank you to ultrasonic for this useful post:

    vinithr (9th August 2012)

Similar Threads

  1. Replies: 2
    Last Post: 8th October 2006, 20:14

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.