Results 1 to 3 of 3

Thread: abstract scroll area

  1. #1
    Join Date
    Aug 2006
    Posts
    83

    Default abstract scroll area

    Hello.

    I have a problem with a QTreeWidget. I have inside it two qabstractscrollarea-s (header, and the treewidgetitem-s from which i builded the tree) . The problem is that when I need the scrollbars they appear but, it takes the whole space (both scrollarea-s). I want it to be limited only to lower area. I tried using (on header scroll area)
    Qt Code:
    1. header->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
    To copy to clipboard, switch view to plain text mode 
    but it doesn't work.
    Please help me.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: abstract scroll area

    What are you trying to do, actually? Could you provide a screenshot, sounds funky..
    J-P Nurmi

  3. #3
    Join Date
    Aug 2006
    Posts
    83

    Default Re: abstract scroll area

    I will provide a screenshot as soon as I can (i can't at the moment).... But u're right. It's going to be funky ...

Similar Threads

  1. QScrollArea's Scroll Bars
    By ToddAtWSU in forum Qt Programming
    Replies: 5
    Last Post: 19th September 2006, 14:27
  2. Retrieving offsets of scroll in QWorkspace
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 03:25
  3. mouseTracking in two widgets at the same time?
    By SkripT in forum Qt Programming
    Replies: 6
    Last Post: 30th January 2006, 18:29
  4. Problem with QScrollArea updating from 4.0.1 to 4.1.0
    By SkripT in forum Qt Programming
    Replies: 8
    Last Post: 28th January 2006, 23:35
  5. QRubberBand painting in the scroll area widget
    By SkripT in forum Qt Programming
    Replies: 7
    Last Post: 17th January 2006, 17:48

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.