QGIS/python/PyQt6/gui/auto_generated/qgstabwidget.sip.in
Julien Cabieces bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00

98 lines
2.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstabwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTabWidget : QTabWidget
{
%Docstring(signature="appended")
The :py:class:`QgsTabWidget` class is the same as the QTabWidget but with additional methods to
temporarily hide/show tabs.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgstabwidget.h"
%End
public:
QgsTabWidget( QWidget *parent = 0 );
%Docstring
Create a new QgsTabWidget with the optionally provided parent.
.. versionadded:: 3.0
%End
void hideTab( QWidget *tab );
%Docstring
Hides the tab with the given widget
.. versionadded:: 3.0
%End
void showTab( QWidget *tab );
%Docstring
Shows the tab with the given widget
.. versionadded:: 3.0
%End
void setTabVisible( QWidget *tab, bool visible );
%Docstring
Control the visibility for the tab with the given widget.
.. versionadded:: 3.0
%End
int realTabIndex( QWidget *widget );
%Docstring
Returns the index of the tab with the given widget.
This index is not the same as the one provided to insertTab and removeTab
since these methods are not aware of hidden tabs.
.. versionadded:: 3.0
%End
virtual void tabInserted( int index );
%Docstring
Is called internally whenever a new tab has been inserted.
Is used to keep track of currently available and visible tabs.
.. versionadded:: 3.0
%End
virtual void tabRemoved( int index );
%Docstring
Is called internally whenever a tab has been removed.
Is used to keep track of currently available and visible tabs.
.. versionadded:: 3.0
%End
void setTabStyle( int tabIndex, const QgsAttributeEditorElement::LabelStyle &labelStyle );
%Docstring
Sets the optional custom ``labelStyle`` for the tab identified by ``tabIndex``.
.. versionadded:: 3.26
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstabwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/