class KTabBar |
|
A QTabBar with extended features. |
|
Creates a new tab bar.
parent - The parent widget. |
|
|
|
Deprecated |
|
|
Emitted when the user right-clicks a tab. |
|
|
|
|
Emitted when the user right-clicks the empty area on the tab bar. |
|
Deprecated |
|
Deprecated Use KTabBar.isCloseButtonEnabled() instead. |
|
Deprecated Use KTabBar.isCloseButtonEnabled() instead. |
|
|
Returns true if the close button is shown on tabs.
@since 4.1 |
|
Returns whether tab reordering is enabled. |
|
|
Deprecated use tabDoubleClicked(int) and newTabRequest() instead. |
|
|
Emitted when a tab has been middle-clicked. |
|
|
|
|
|
Emitted when the user double-clicks the empty area on the tab bar. |
|
|
|
Selects the tab which has a tab header at
given
position. -
position - the coordinates of the tab |
|
If enabled, a close button is available for each tab. The
signal KTabBar.closeRequest() is emitted, if the close button
has been clicked.
@since 4.1 |
|
If enabled, a close button is shown above the tab icon.
The signal KTabBar.closeRequest() is emitted, if the
close button has been clicked. Note that the tab must have
an icon to use this feature.
Deprecated Use KTabBar.setCloseButtonEnabled() instead. |
|
If enabled, the close button cannot get clicked until a
minor delay has been passed. This prevents that user
accidentally closes a tab.
Deprecated Use KTabBar.setCloseButtonEnabled() instead. |
|
Sets the 'activate previous tab on close' feature enabled or disabled. If enabled, as soon as you close a tab, the previously selected tab is activated again. |
|
Sets the tab reordering enabled or disabled. If enabled, the user can reorder the tabs by drag and drop the tab headers. |
|
Returns whether the 'activate previous tab on close' feature is enabled. |
|
Emitted when a tab has been double-clicked. |
|
|
|
|
|