What do you have so far?

Do you have a tab widget as your window's central widget?
Do you have the action in the toolbar?
Do you have a slot connected to the action's triggered() signal?
Do you have the import for the widget you want to show on the new tab?
Does your slot create an instance of that widget?
Does your slot then add the widget to the tab widget?

Cheers,
_