Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Adding a QProgressBar as a Delegate in a QTableView

$
0
0
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

Viewing all articles
Browse latest Browse all 13965

Trending Articles