Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QListWidget multi-column problem, really in trouble !!!

QListWidget multi-column problem, really in trouble !!!

Scheduled Pinned Locked Moved General and Desktop
qlistwidgetmulti-column
5 Posts 2 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opengpu2
    wrote on 31 Mar 2015, 13:20 last edited by koahnig
    #1

    QListWidget multi-column problem, really trouble !!!
    is there any problem to show multi-column in QListWidget?
    i have to use QListWidget, because i want to preview the picture files in IconMode.
    and i didnot find IconMode in QTreeWidget or QTableWidget.
    ps. i use QAbstractViewItemDelegate in QListWidget to make item painting custom.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on 31 Mar 2015, 20:53 last edited by
      #2

      Hi,

      to help you we should see the code that is not working

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • O Offline
        O Offline
        opengpu2
        wrote on 1 Apr 2015, 02:54 last edited by
        #3

        sorry, but i can't show u the code.
        as i said, i want to use QListWidget because i want to preview in IconMode. Meanwhile, i want to dynamically preview in ListMode but with multi-column(confilicts here, because the QListWidget only support 1 column).

        1 solution is when IconMode i use QListWidget, when "ListMode" i use QTree/QTableWidget, but this is very ugly...and not elegant at all...

        can i preview as IconMode in QTree/QTableWidget ?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on 1 Apr 2015, 05:09 last edited by
          #4

          Hi,

          using a standard QListWidget in IconMode i get this

          myTest

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • O Offline
            O Offline
            opengpu2
            wrote on 1 Apr 2015, 05:25 last edited by
            #5

            i know, that's why i use QListWidget.
            but when switch to ListMode dynamically, i want more than 1 column......

            1 Reply Last reply
            0

            5/5

            1 Apr 2015, 05:25

            • Login

            • Login or register to search.
            5 out of 5
            • First post
              5/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved