35 lines
668 B
C
35 lines
668 B
C
|
#ifndef TABS_P_H
|
||
|
#define TABS_P_H
|
||
|
|
||
|
#include <QRect>
|
||
|
#include <QColor>
|
||
|
#include "lib/theme.h"
|
||
|
|
||
|
class QHBoxLayout;
|
||
|
class Tabs;
|
||
|
class TabsInkBar;
|
||
|
|
||
|
class TabsPrivate
|
||
|
{
|
||
|
Q_DISABLE_COPY(TabsPrivate)
|
||
|
Q_DECLARE_PUBLIC(Tabs)
|
||
|
|
||
|
public:
|
||
|
TabsPrivate(Tabs *q);
|
||
|
|
||
|
void init();
|
||
|
|
||
|
Tabs *const q_ptr;
|
||
|
TabsInkBar *const inkBar;
|
||
|
QHBoxLayout *const tabLayout;
|
||
|
QColor inkColor;
|
||
|
QColor backgroundColor;
|
||
|
QColor textColor;
|
||
|
int tab;
|
||
|
bool useThemeColors;
|
||
|
bool showHalo;
|
||
|
Material::RippleStyle rippleStyle;
|
||
|
};
|
||
|
|
||
|
#endif // TABS_P_H
|