4.27. Tabs widget class

The Tabs class inherits QTabWidget Qt class.

Widget's attributes

shape
This attribute defines the shape of the tabs. Possible values are : rounded or triangular. The default is rounded.

Widget's functions

addPage(name, label='', icon=None, tooltip=None, whatsthis=None, enabled=True)
Create a page named name labeled label with an icon specified with icon. tooltip and whatsthis texts are associated with the page. if enabled is set to False, the page is disabled.
setPageEnabled(name, enabled)
If enabled is set to True, the page named name is enabled, otherwise it is disabled.