Results 1 to 6 of 6

Thread: QListView v.s. QTreeView, QTableview, QDirModel [solved]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    27
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default QListView v.s. QTreeView, QTableview, QDirModel [solved]

    Hi all,

    A program I am writing is supposed to display a list of files that are in use, using three columns (Name, Type and Options).

    To do this I found the QListView class perfect, because I can simply add columns and items. But now it seems that this is no longer fact in QT 4.

    Using Qt3Support, I managed to get this to work, but I want the code to be maintainable in the future, so I need something else.

    In the QT examples, they use a number of different things like QTreeview, QTableView, QDirModel and stuff like that, but they all use them at the same time so I don't know what does what.

    So can you tell me what I should use to do the same as the old QListView from QT3?

    Thanks in advance
    DrDonut
    Last edited by DrDonut; 5th March 2009 at 12:40.

Similar Threads

  1. row height in QTreeView and QTableView
    By yuriry in forum Qt Programming
    Replies: 2
    Last Post: 9th October 2008, 00:58
  2. QTreeView Fixed column & QTableView
    By jpujolf in forum Qt Programming
    Replies: 4
    Last Post: 13th August 2008, 09:35
  3. QTableView vs QTreeView
    By aamer4yu in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2008, 07:17
  4. QDirModel and QTreeView cut and paste
    By Micawber in forum Qt Programming
    Replies: 4
    Last Post: 28th May 2008, 20:16
  5. How to merge QTableView and QTreeView ???
    By Xaleandr in forum Newbie
    Replies: 2
    Last Post: 29th December 2007, 17:58

Tags for this Thread

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.