qt-material-widgets/components/qtmaterialtabs_p.h

35 lines
688 B
C
Raw Normal View History

2017-09-29 17:25:42 +00:00
#ifndef QTMATERIALTABS_P_H
#define QTMATERIALTABS_P_H
#include "lib/qtmaterialtheme.h"
2022-07-05 07:49:55 +00:00
#include <QtGlobal>
2017-09-29 17:25:42 +00:00
class QHBoxLayout;
class QtMaterialTabs;
class QtMaterialTabsInkBar;
class QtMaterialTabsPrivate
{
Q_DISABLE_COPY(QtMaterialTabsPrivate)
Q_DECLARE_PUBLIC(QtMaterialTabs)
public:
QtMaterialTabsPrivate(QtMaterialTabs *q);
~QtMaterialTabsPrivate();
void init();
2022-07-05 07:49:55 +00:00
QtMaterialTabs *const q_ptr;
2017-09-29 17:25:42 +00:00
QtMaterialTabsInkBar *inkBar;
2022-07-05 07:49:55 +00:00
QHBoxLayout *tabLayout;
2017-09-29 17:25:42 +00:00
Material::RippleStyle rippleStyle;
2022-07-05 07:49:55 +00:00
QColor inkColor;
QColor backgroundColor;
QColor textColor;
int tab;
bool showHalo;
bool useThemeColors;
2017-09-29 17:25:42 +00:00
};
2022-07-05 07:49:55 +00:00
#endif // QTMATERIALTABS_P_H