15#ifndef QGSTABBARPROXYSTYLE_H
16#define QGSTABBARPROXYSTYLE_H
40 QgsTabBarProxyStyle( QTabBar *tabBar );
42 void drawControl( ControlElement element,
const QStyleOption *option, QPainter *painter,
const QWidget *widget )
const override;
46 const QMap<int, QgsAttributeEditorElement::LabelStyle> &tabStyles()
const;
49 QMap<int, QgsAttributeEditorElement::LabelStyle> mTabStyles;
57class QgsTabBar :
public QTabBar
65 QgsTabBar( QWidget *parent );
70 void setTabBarStyle( QgsTabBarProxyStyle *tabStyle );
73 QSize tabSizeHint(
int index )
const override;
76 QgsTabBarProxyStyle *mTabBarStyle =
nullptr;
A QProxyStyle subclass which correctly sets the base style to match the QGIS application style,...
The TabStyle struct defines color and font overrides for form fields, tabs and groups labels.