Results 1 to 3 of 3

Thread: How to lay out QListView in several columns?

  1. #1
    Join Date
    Dec 2012
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default How to lay out QListView in several columns?

    Hello.
    I'm using QListView and I want it to be laid out in several columns. So the list goes from top to bottom as usual but when it reaches the bottom of the list area it would wrap into the next column and continue there. Also the list should scroll horizontally. Is there a simple way to do that without delegated?
    Thank you

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: How to lay out QListView in several columns?

    rtfm
    QListView
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Dec 2012
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: How to lay out QListView in several columns?

    Whoops. Found it. I somehow managed to miss that function over 5 readings.
    Thank you

Similar Threads

  1. QListWidget And Columns.
    By benwin in forum Qt Programming
    Replies: 1
    Last Post: 4th March 2011, 12:15
  2. Need to have columns in QComboBox
    By anju123 in forum Qt Programming
    Replies: 6
    Last Post: 6th July 2009, 23:04
  3. Replies: 8
    Last Post: 14th August 2008, 16:48
  4. Displaying Multiple Columns in QListView
    By millard in forum Qt Programming
    Replies: 8
    Last Post: 5th December 2007, 13:03
  5. Moving columns/hiding columns in QTreeView
    By yogeshm02 in forum Qt Programming
    Replies: 4
    Last Post: 14th March 2007, 17:22

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.