How to make a permanent widget in Qtableview
-
I am using QTableview . I want to use a QPushbutton in a particular cell which will be visible permanently . I have been through one delegate example in QtDoc . But inside that whenever i am going for editing the cell , only that time the widget is visible after editing its again invisible .
But i want to make this widget permanent ..Please do reply with an example , that will be more helpful for my understanding .
-
Your question was answered here already:
http://qt-project.org/forums/viewthread/19287/
use setIndexWidget.