PDA

View Full Version : Use the QTableWidget to implement a software such as the Microsoft Excel



ecisp.wangshuo
19th July 2013, 03:15
Hi all,can we use the QTableWidget to implement a software such as the Microsoft Excel?:confused:

ChrisW67
19th July 2013, 06:35
Yes, you can.

ecisp.wangshuo
19th July 2013, 09:44
Year,but now I meet some questions:
1.How to set the border's color/style/width of the specified cell?
2.How to make the text in a cell display vertically?

Added after 24 minutes:

Thanks,I know that we should subclass the QStyleItemDelegate and reimplement the paint() and sizeHint() methods.Since I'm just a beginner of Qt,may you provide me a example program what can set the border's color of the specified cell?