Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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