I would like to create a table plugin. This table will have different types of widgets in each cell. For example, let's say we have 2 columns and 6 rows. One of the column will be carrying editable "string" type of information and other column will have ComboBoxes.

I tried to create plugin inherited from QTableWidget . Plugin was created successfully and previewed in Qt Designer without any problem. But when I used this plugin in an application I wasn't able to see the table at all. I see only the frame of table. You can see the table when you open the ui form in Qt Designer. You can add/remove do anything with the table and preview it without any problem. But when you run the project you loose the table.

I have Qt 4.1.1 version and any help will be appriciated.