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. Adding a QProgressBar as a Delegate in a QTableView

Adding a QProgressBar as a Delegate in a QTableView

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 909 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.
  • K Offline
    K Offline
    kabirbookhan
    wrote on last edited by
    #1

    HI Guys

    I need some help trying to add a QProgressBar into a QTableView. In the program you input a value as an interger and it should display in the progress bar .

    The function to add the delegate to the model to the 4th column im sure would be :

    tblList->setItemDelegateForColumn(3,progressDelegate);

    I need to know how to write the paint function and any other functions that the delegate class might include.

    Regards

    1 Reply Last reply
    0

    • Login

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