QGIS/python/gui/auto_generated/qgstabwidget.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

81 lines
2.4 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstabwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsTabWidget : QTabWidget
{
%Docstring(signature="appended")
A QTabWidget with additional methods to temporarily hide/show tabs.
%End
%TypeHeaderCode
#include "qgstabwidget.h"
%End
public:
QgsTabWidget( QWidget *parent = 0 );
%Docstring
Create a new QgsTabWidget with the optionally provided parent.
%End
void hideTab( QWidget *tab );
%Docstring
Hides the tab with the given widget
%End
void showTab( QWidget *tab );
%Docstring
Shows the tab with the given widget
%End
void setTabVisible( QWidget *tab, bool visible );
%Docstring
Control the visibility for the tab with the given widget.
%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.
%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.
%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.
%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.py again *
************************************************************************/