Hi,every one.
I want to draw some pictures with QPainterPath and put them on QTableWidgetItem,I do not know how to realize it?
Thk u.
Hi,every one.
I want to draw some pictures with QPainterPath and put them on QTableWidgetItem,I do not know how to realize it?
Thk u.
Hmmm ... draw in a widget... and set the widget to the QTableWidget with
Qt Code:
To copy to clipboard, switch view to plain text mode
Or more sophisticated: Subclass QWidgetItem and reimp its paint method.
Thk u for your answer.
When I drag the UI with mouse and resize it, I find that the intervals of columns and the rows of QTableWidget do not change,
I want to let them change also,how to realize it?
Last edited by weixj2003ld; 7th August 2011 at 08:01. Reason: sorry
Bookmarks