forked from laserpants/qt-material-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtmaterialsnackbar_p.h
33 lines (26 loc) · 926 Bytes
/
qtmaterialsnackbar_p.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef QTMATERIALSNACKBAR_P_H
#define QTMATERIALSNACKBAR_P_H
#include <QObject>
#include <QColor>
class QtMaterialSnackbar;
class QtMaterialSnackbarStateMachine;
class QtMaterialSnackbarPrivate
{
Q_DISABLE_COPY(QtMaterialSnackbarPrivate)
Q_DECLARE_PUBLIC(QtMaterialSnackbar)
public:
QtMaterialSnackbarPrivate(QtMaterialSnackbar *q);
~QtMaterialSnackbarPrivate();
void init();
QtMaterialSnackbar *const q_ptr;
QtMaterialSnackbarStateMachine *stateMachine;
QColor backgroundColor;
QColor textColor;
qreal bgOpacity;
QList<QString> messages;
int duration;
int boxWidth;
bool clickDismiss;
bool useThemeColors;
};
#endif // QTMATERIALSNACKBAR_P_H