Results 1 to 2 of 2

Thread: Scroll Bar not appearing in QScrollArea

  1. #1
    Join Date
    Apr 2010
    Posts
    3
    Qt products
    Qt3 Qt4

    Question Scroll Bar not appearing in QScrollArea

    Hi Friends
    I m trying to develop a application that receives data on some socket and based on that create some graph on QScrollArea in my dialog but when that graph is increasing in size scrollbars are not visible in area.The grapht is a general QWidget only that is created dynamically.Every time data comes on socket we are calling the paintEvent of QWidget.that draws the graph.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Scroll Bar not appearing in QScrollArea

    make sure you update also the widgets size() function that it return the actual size of your graph!

    If that does not help, show us some minimal code reproducing your problem.

Similar Threads

  1. scroll bars are not appearing
    By Cruz in forum Qt Programming
    Replies: 4
    Last Post: 10th September 2010, 18:26
  2. Replies: 3
    Last Post: 4th February 2009, 17:52
  3. Force a Scroll in a QScrollArea
    By nmuntz in forum Qt Programming
    Replies: 2
    Last Post: 25th January 2009, 14:49
  4. Auto scroll down in QScrollArea
    By EricF in forum Qt Programming
    Replies: 2
    Last Post: 29th December 2008, 13:51
  5. QScrollArea's Scroll Bars
    By ToddAtWSU in forum Qt Programming
    Replies: 5
    Last Post: 19th September 2006, 14:27

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.