qt-material-widgets/components/tabs_p.h

39 lines
691 B
C
Raw Normal View History

2022-02-17 15:17:19 +00:00
#ifndef TABS_P_H
#define TABS_P_H
2017-09-29 17:25:42 +00:00
#include <QtGlobal>
#include <QtWidgets/QHBoxLayout>
2022-02-17 15:17:19 +00:00
#include "lib/theme.h"
2022-02-17 03:03:49 +00:00
namespace md
{
2017-09-29 17:25:42 +00:00
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
}
2022-02-17 15:17:19 +00:00
#endif // TABS_P_H