After porting my program from QT3 to QT4, I found that the tabs are all disappeared!!!
The tabs can only be shown when there's no parent widget parsed to the Q3TabDialog.

I have a class inherited the Q3Dialog class with constructor like this
Qt Code:
  1. TESTTabDialog::TESTTabDialog( TESTListViewItem* lvi, QWidget *parent, const char *name, bool modal, Qt::WFlags f)
  2. :Q3TabDialog(parent, name, modal, f)
  3. {
  4. ............
  5. }
To copy to clipboard, switch view to plain text mode 

When I parse a NULL to the "parent" parameter, the tabs can be shown, however the Tab Dialog is not at center place and cannot get active control.
When I parse the actual parent to the parent parameter, the tabs all disappeared and I cannot select other tab page, only the first tab page can be shown.

Can anyone tell me what's wrong with it and how can I solve it?
Thanks a lot!