15#ifndef QGSTABBARPROXYSTYLE_H
16#define QGSTABBARPROXYSTYLE_H
42 QgsTabBarProxyStyle( QTabBar *tabBar );
44 void drawControl( ControlElement element,
const QStyleOption *option, QPainter *painter,
const QWidget *widget )
const override;
48 const QMap<int, QgsAttributeEditorElement::LabelStyle> &tabStyles()
const;
52 QMap<int, QgsAttributeEditorElement::LabelStyle> mTabStyles;
62class QgsTabBar:
public QTabBar
71 QgsTabBar( QWidget *parent );
76 void setTabBarStyle( QgsTabBarProxyStyle *tabStyle );
80 QSize tabSizeHint(
int index )
const;
83 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.