×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    43

    Multiline items in QListWidget

    How can I make QListWidget so its items will contain multiple strings per item like

    Text1
    subtext1

    Text2
    subtext2

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    43

    Multiline items in QListWidget

    How can I make QListWidget so its items will contain multiple strings per item like

    Text1
    subtext1

    Text2
    subtext2

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Multiline items in QListWidget

    This has been covered several times. There's no easy way to do it. You can either make up your own QListView or you can use QListWidget::setItemWidget to install your own widget in the QListWidget item.

Similar Threads

  1. Replies: 8
    Last Post: 2010-06-10, 18:03
  2. QListWidget - owner drawn items
    By tamhanna in forum Qt
    Replies: 4
    Last Post: 2010-04-28, 09:36
  3. list with multiline text items
    By zbotto in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-11-05, 02:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •