ArchitectureColoredPainting/qt-material-widgets/components/qtmaterialscrollbar_p.h

31 lines
813 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#ifndef QTMATERIALSCROLLBAR_P_H
#define QTMATERIALSCROLLBAR_P_H
#include <QtGlobal>
#include <QColor>
class QtMaterialScrollBar;
class QtMaterialScrollBarStateMachine;
class QtMaterialScrollBarPrivate
{
Q_DISABLE_COPY(QtMaterialScrollBarPrivate)
Q_DECLARE_PUBLIC(QtMaterialScrollBar)
public:
QtMaterialScrollBarPrivate(QtMaterialScrollBar *q);
~QtMaterialScrollBarPrivate();
void init();
QtMaterialScrollBar *const q_ptr;
QtMaterialScrollBarStateMachine *stateMachine;
QColor backgroundColor;
QColor sliderColor;
QColor canvasColor;
bool hideOnMouseOut;
bool useThemeColors;
};
#endif // QTMATERIALSCROLLBAR_P_H