Results 1 to 4 of 4

Thread: ItemViews in ScrollArea

  1. #1
    Join Date
    Mar 2010
    Location
    Berlin
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default ItemViews in ScrollArea

    Hello,

    is it possible to have one scroll area for two or more item views of the same type? I would like to place three tables in one QScrollArea, have the tables to expand to show all items and get one scrollbar for all three tables. Any ideas? I have tried several setups with Designer, but it seems I missed something.

    Thanks

    Sebastian

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ItemViews in ScrollArea

    It's much easier to hide scrollbars from two views and synchronize scrolling of all three views. It's even better to make it all one view with a single model incorporating data from all three models you currently have.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2010
    Location
    Berlin
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: ItemViews in ScrollArea

    But using only one view, how would I go about grouping data in a table?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ItemViews in ScrollArea

    I have no idea what you are doing so it is impossible to answer that question.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to identify drag hovered items in itemviews?
    By happy11wl in forum Qt Programming
    Replies: 2
    Last Post: 1st June 2010, 13:08
  2. Autoscroll in ScrollArea
    By BalaQT in forum Qt Programming
    Replies: 2
    Last Post: 26th October 2009, 06:37
  3. Confusion over columnCount() in itemviews
    By edice in forum Qt Programming
    Replies: 5
    Last Post: 24th September 2009, 16:23
  4. scrollArea not updating
    By user in forum Qt Programming
    Replies: 9
    Last Post: 3rd October 2007, 09:17
  5. QTreeWidget without the ScrollArea?
    By Paalrammer in forum Newbie
    Replies: 5
    Last Post: 13th February 2007, 20:06

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.