qt-material-widgets/components/qtmaterialtabs_p.h

37 lines
715 B
C
Raw Normal View History

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