50 void hideTab( QWidget *tab );
57 void showTab( QWidget *tab );
64 void setTabVisible( QWidget *tab,
bool visible );
73 int realTabIndex( QWidget *widget );
82 void tabInserted(
int index )
override;
91 void tabRemoved(
int index )
override;
100 void synchronizeIndexes();
102 struct TabInformation
104 TabInformation( QWidget *wdg,
const QString &lbl )
110 TabInformation() =
default;
112 bool operator ==(
const TabInformation &other )
const;
113 bool operator !=(
const TabInformation &other )
const;
115 int sourceIndex = -1;
116 QWidget *widget =
nullptr;
121 TabInformation tabInfo( QWidget *widget );
123 QList<TabInformation> mTabs;
124 bool mSetTabVisibleFlag =
false;
125 QgsTabBarProxyStyle *mTabBarStyle =
nullptr;
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
The TabStyle struct defines color and font overrides for form fields, tabs and groups labels.