47 void hideTab( QWidget *tab );
53 void showTab( QWidget *tab );
59 void setTabVisible( QWidget *tab,
bool visible );
67 int realTabIndex( QWidget *widget );
75 void tabInserted(
int index )
override;
83 void tabRemoved(
int index )
override;
92 void synchronizeIndexes();
96 TabInformation( QWidget *wdg,
const QString &lbl )
101 TabInformation() =
default;
103 bool operator ==(
const TabInformation &other )
const;
104 bool operator !=(
const TabInformation &other )
const;
106 int sourceIndex = -1;
107 QWidget *widget =
nullptr;
112 TabInformation tabInfo( QWidget *widget );
114 QList<TabInformation> mTabs;
115 bool mSetTabVisibleFlag =
false;
116 QgsTabBarProxyStyle *mTabBarStyle =
nullptr;