The Tab Dialog example shows how to construct a tab dialog using the QTabWidget class.