You don't have to pass anything there. Just create your tab widget and set it as the central widget. You shouldn't touch setupUi() at all.
Qt Code:
ui.setupUi(this); setCentralWidget(tw); tw->addPage(gb1, "first"); DMXTable *t1 = new DMXTable; l->addWidget(t1); //... }To copy to clipboard, switch view to plain text mode
Bookmarks