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. Display a list view with icon, progress bar, text, ...
Forum Updated to NodeBB v4.3 + New Features

Display a list view with icon, progress bar, text, ...

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.3k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    elfoiros
    wrote on 23 May 2019, 09:12 last edited by
    #1

    Hello,

    i'm using Qt5 (win64) and i want to display a list of files with icon, text, progress bar and button. You can see the wanted result in the bellow joined screenshot. I've seen a lot of post but i still don't know the control i need to use : QListView, QListWidget.

    Tableview item must be updated on real time (progress bar indicator and status text)

    The doc say : Use QListView and subclass QItemDelegate instead.

    I can't find any example. How can I do it ?

    0_1558602653533_Capture-Batch-Convert.PNG

    Thanks

    J 1 Reply Last reply 23 May 2019, 10:53
    0
    • E elfoiros
      23 May 2019, 09:12

      Hello,

      i'm using Qt5 (win64) and i want to display a list of files with icon, text, progress bar and button. You can see the wanted result in the bellow joined screenshot. I've seen a lot of post but i still don't know the control i need to use : QListView, QListWidget.

      Tableview item must be updated on real time (progress bar indicator and status text)

      The doc say : Use QListView and subclass QItemDelegate instead.

      I can't find any example. How can I do it ?

      0_1558602653533_Capture-Batch-Convert.PNG

      Thanks

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 23 May 2019, 10:53 last edited by
      #2

      @elfoiros Some examples are mentioned here: https://doc.qt.io/qt-5/qitemdelegate.html

      https://doc.qt.io/qt-5/qtwidgets-itemviews-spinboxdelegate-example.html
      https://doc.qt.io/qt-5/qtwidgets-tools-settingseditor-example.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 23 May 2019, 17:30 last edited by
        #3

        Hi
        Adding to @jsulm
        This shows a delegate with progressbar
        https://doc.qt.io/qt-5/qtnetwork-torrent-example.html
        (TorrentViewDelegate)

        1 Reply Last reply
        1

        1/3

        23 May 2019, 09:12

        • Login

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