1/************************************************************************
2 * This file has been generated automatically from                      *
3 *                                                                      *
4 * src/gui/qgstabwidget.h                                               *
5 *                                                                      *
6 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
7 ************************************************************************/
8
9
10class QgsTabWidget : QTabWidget
11{
12%Docstring
13The QgsTabWidget class is the same as the QTabWidget but with additional methods to
14temporarily hide/show tabs.
15
16.. versionadded:: 3.0
17%End
18
19%TypeHeaderCode
20#include "qgstabwidget.h"
21%End
22  public:
23
24    QgsTabWidget( QWidget *parent = 0 );
25%Docstring
26Create a new QgsTabWidget with the optionally provided parent.
27
28.. versionadded:: 3.0
29%End
30
31    void hideTab( QWidget *tab );
32%Docstring
33Hides the tab with the given widget
34
35.. versionadded:: 3.0
36%End
37
38    void showTab( QWidget *tab );
39%Docstring
40Shows the tab with the given widget
41
42.. versionadded:: 3.0
43%End
44
45    void setTabVisible( QWidget *tab, bool visible );
46%Docstring
47Control the visibility for the tab with the given widget.
48
49.. versionadded:: 3.0
50%End
51
52    int realTabIndex( QWidget *widget );
53%Docstring
54Returns the index of the tab with the given widget.
55This index is not the same as the one provided to insertTab and removeTab
56since these methods are not aware of hidden tabs.
57
58.. versionadded:: 3.0
59%End
60
61    virtual void tabInserted( int index );
62
63%Docstring
64Is called internally whenever a new tab has been inserted.
65
66Is used to keep track of currently available and visible tabs.
67
68.. versionadded:: 3.0
69%End
70
71    virtual void tabRemoved( int index );
72
73%Docstring
74Is called internally whenever a tab has been removed.
75
76Is used to keep track of currently available and visible tabs.
77
78.. versionadded:: 3.0
79%End
80
81};
82
83/************************************************************************
84 * This file has been generated automatically from                      *
85 *                                                                      *
86 * src/gui/qgstabwidget.h                                               *
87 *                                                                      *
88 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
89 ************************************************************************/
90