46 void hideTab( QWidget *tab );
52 void showTab( QWidget *tab );
58 void setTabVisible( QWidget *tab,
bool visible );
66 int realTabIndex( QWidget *widget );
74 void tabInserted(
int index )
override;
82 void tabRemoved(
int index )
override;
91 void synchronizeIndexes();
95 TabInformation( QWidget *wdg,
const QString &lbl )
100 TabInformation() =
default;
102 bool operator==(
const TabInformation &other )
const;
103 bool operator!=(
const TabInformation &other )
const;
105 int sourceIndex = -1;
106 QWidget *widget =
nullptr;
111 TabInformation tabInfo( QWidget *widget );
113 QList<TabInformation> mTabs;
114 bool mSetTabVisibleFlag =
false;
115 QgsTabBarProxyStyle *mTabBarStyle =
nullptr;