Results 1 to 8 of 8

Thread: Compact View

  1. #1
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Post Compact View

    I really like the compat list view in nautilus and list view in windows explorer. How to create a QListView be like that? And, why konqueror have kick out list view in KDE4 ?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Compact View

    I'm not sure what you mean exactly, but a sorting proxy and a delegate will get you pretty far.

  3. #3
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Compact View

    Sorry, I'm in internetcafe. This is the windows explorer list mode
    Attached Images Attached Images

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Compact View

    Quote Originally Posted by wirasto View Post
    And, why konqueror have kick out list view in KDE4 ?
    Did you mean the list with the folders on your harddrive and did you mean dolphin which is the standard "explorer" in KDE 4? Then have a look at the preferences, it is still there, only deactivated by default.

  5. #5
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Compact View

    Quote Originally Posted by wirasto View Post
    Sorry, I'm in internetcafe. This is the windows explorer list mode
    Ah, you have to use QListView::IconMode for that with a proper grid size.

  6. #6
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Compact View

    Are You have look my attachment picture. IconMode can't like that.

  7. #7
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Compact View

    Quote Originally Posted by wirasto View Post
    Are You have look my attachment picture.
    yes, for my second answer.
    IconMode can't like that.
    Yes, it can, therefore I wrote it. Use IconMode and TopToBottom as flow. Then simply write your own delegate and position the icon leftside to your icon. And you don't have to do so much yourself. Just use the standart sizeHint an add the size of the icon etc...

  8. #8
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Compact View

    Ok. I will try.

    Thank's before

Similar Threads

  1. Replies: 8
    Last Post: 6th May 2010, 11:17
  2. Replies: 5
    Last Post: 3rd April 2010, 04:07
  3. Replies: 1
    Last Post: 1st February 2010, 18:42
  4. Replies: 5
    Last Post: 21st November 2007, 20:38
  5. Model-view: Creating a custom view
    By taboom in forum Qt Programming
    Replies: 5
    Last Post: 17th August 2007, 20:36

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.