Results 1 to 2 of 2

Thread: QListView Items with Buttons

  1. #1
    Join Date
    Jan 2007
    Posts
    177
    Thanks
    8
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QListView Items with Buttons

    Hi everyone,
    i already read some threads about this topic but they didn't satisfy me.

    I need to have 1-2 buttons and a progressbar inside a listwidgetitem or a listviewitem.
    The progressbar can be done easily with QStyles widget-painting but the button is a bigger problem. It should act like a real button and should act like it is one part of the item and not the item itself (i saw a solution using delegates that created buttons like that)
    I'm imagening something like the well known list in the picture:
    listbutton.jpg

    I don't need a solution, just a small push in the right way, something im missing, it would be enough if i can handle the cursor-position and actions inside a delegate.

    cheers captn

  2. #2
    Join Date
    Jan 2007
    Posts
    177
    Thanks
    8
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QListView Items with Buttons

    does noone have any start?

Similar Threads

  1. Replies: 0
    Last Post: 30th August 2010, 20:08
  2. Modifying QListView items
    By Daniel Salcedo in forum Qt Programming
    Replies: 0
    Last Post: 14th September 2009, 16:59
  3. How to reorder items in QListView?
    By xfurrier in forum Qt Programming
    Replies: 2
    Last Post: 12th August 2009, 17:09
  4. Rendering items on QListView
    By rcintra in forum Qt Programming
    Replies: 6
    Last Post: 10th May 2007, 23:22
  5. moving Qlistview items
    By :db:sStrong in forum Qt Programming
    Replies: 0
    Last Post: 21st February 2006, 13:25

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.