PDA

View Full Version : TableView model in Designer with static content



akshaysulakhe
11th July 2013, 10:29
Hello Friends,
I am designing a application with multiple language support. I created a table view in QT Designer. As of now, its empty and i am searching a way to put content inside it. It works with with Qtab widget. I don't know if that's how it should be done. Mainly the contents in rows and columns of my tableview are static. They are in 5 different languages and can be used as a reference by getting the index id. How do i create this table view in QT Designer where i can manually type the content and set it editable. Kindly let me know. Thank you very much for your time.

Santosh Reddy
11th July 2013, 13:12
1. Use QTableWidget instead of QTableView.
2. Add the static content to the QTableWidget from the Qt Designer
3. Use Qt Linguist to add the other 4 languages translations
:)

akshaysulakhe
11th July 2013, 18:55
Thank you. That helped a lot. Have a nice day ahead. :-)