Results 1 to 3 of 3

Thread: QdirModel problem

  1. #1
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default QdirModel problem

    Hi
    I have two small issues in the QDirModel

    1) I need to set the column label , that we get in the treeview for the filesystem

    Name ,Size, Type are the common labels we get when we display the filesystem in qtreeview. I need to set the labels to a different text.

    2) I also need to hide the folder icon , that gets displayed with the subdirectories in the qdirmodel, qtreeview

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QdirModel problem

    What have you tried so far?

  3. #3
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default Re: QdirModel problem

    Got the solution

    QTreeView::seticonsize(QSize(0,0));

Similar Threads

  1. QTreeView and QDirmodel 's problem?
    By ggs0110 in forum Qt Programming
    Replies: 8
    Last Post: 31st July 2012, 12:11
  2. problem in declaring QDirModel
    By prasanth.nvs in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 11th December 2008, 16:45
  3. QDirModel and FTP
    By last2kn0 in forum Qt Programming
    Replies: 5
    Last Post: 19th April 2008, 00:02
  4. Replies: 2
    Last Post: 8th April 2008, 10:35
  5. QDirModel
    By rvb13 in forum Qt Programming
    Replies: 2
    Last Post: 2nd November 2007, 16:03

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.