Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi All, I have a QTableView which has been formatted w.r.t text color , background etc. I wish to save the table in the form of an image. How can i do that ?
I appreciate your help.
Because QTableView is a QWidget, try this:
QPixmap pixmap(widget->size()); widget->render(&pixmap);
Works perfect....thanks a lot.