QGIS/python/gui/auto_generated/qgstabwidget.sip.in

90 lines
2.4 KiB
Plaintext
Raw Normal View History

2017-06-08 11:26:03 +02:00
/************************************************************************
* 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
{
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
The QgsTabWidget class is the same as the QTabWidget but with additional methods to
temporarily hide/show tabs.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
2017-06-08 11:26:03 +02:00
%TypeHeaderCode
#include "qgstabwidget.h"
%End
public:
2017-06-08 11:26:03 +02:00
QgsTabWidget( QWidget *parent = 0 );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Create a new QgsTabWidget with the optionally provided parent.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
void hideTab( QWidget *tab );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Hides the tab with the given widget
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
void showTab( QWidget *tab );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Shows the tab with the given widget
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
void setTabVisible( QWidget *tab, bool visible );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Control the visibility for the tab with the given widget.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
int realTabIndex( QWidget *widget );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
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.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
virtual void tabInserted( int index );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Is called internally whenever a new tab has been inserted.
2017-06-08 11:26:03 +02:00
2017-12-15 10:36:55 -04:00
Is used to keep track of currently available and visible tabs.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
2016-09-09 09:49:25 +02:00
virtual void tabRemoved( int index );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Is called internally whenever a tab has been removed.
2017-06-08 11:26:03 +02:00
2017-12-15 10:36:55 -04:00
Is used to keep track of currently available and visible tabs.
2017-06-08 11:26:03 +02:00
.. versionadded:: 3.0
%End
};
2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstabwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/