Adding a QProgressBar as a Delegate in a QTableView



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.