qt-material-widgets/components/scrollbar_p.h

34 lines
700 B
C++

#ifndef SCROLLBAR_P_H
#define SCROLLBAR_P_H
#include <QtGlobal>
#include <QColor>
namespace md
{
class ScrollBar;
class ScrollBarStateMachine;
class ScrollBarPrivate
{
Q_DISABLE_COPY(ScrollBarPrivate)
Q_DECLARE_PUBLIC(ScrollBar)
public:
ScrollBarPrivate(ScrollBar *q);
~ScrollBarPrivate();
void init();
ScrollBar *const q_ptr;
ScrollBarStateMachine *stateMachine;
QColor backgroundColor;
QColor sliderColor;
QColor canvasColor;
bool hideOnMouseOut;
bool useThemeColors;
};
}
#endif // SCROLLBAR_P_H