qt-material-widgets/components/materiallib/qtmaterialcheckable_p.h

44 lines
1.1 KiB
C
Raw Normal View History

2017-09-29 06:53:21 +00:00
#ifndef QTMATERIALCHECKABLE_P_H
#define QTMATERIALCHECKABLE_P_H
2022-07-05 09:40:09 +00:00
#include <lib/qtmaterialcheckable.h>
2022-07-05 07:49:55 +00:00
#include <QtGlobal>
2017-09-29 06:53:21 +00:00
class QStateMachine;
class QState;
class QSignalTransition;
class QtMaterialRippleOverlay;
class QtMaterialCheckableIcon;
class QtMaterialCheckablePrivate
{
Q_DISABLE_COPY(QtMaterialCheckablePrivate)
Q_DECLARE_PUBLIC(QtMaterialCheckable)
public:
QtMaterialCheckablePrivate(QtMaterialCheckable *q);
virtual ~QtMaterialCheckablePrivate();
void init();
2022-07-05 07:49:55 +00:00
QtMaterialCheckable *const q_ptr;
QtMaterialRippleOverlay *rippleOverlay;
QtMaterialCheckableIcon *checkedIcon;
QtMaterialCheckableIcon *uncheckedIcon;
QStateMachine *stateMachine;
QState *uncheckedState;
QState *checkedState;
QState *disabledUncheckedState;
QState *disabledCheckedState;
QSignalTransition *uncheckedTransition;
QSignalTransition *checkedTransition;
QtMaterialCheckable::LabelPosition labelPosition;
QColor checkedColor;
QColor uncheckedColor;
QColor textColor;
QColor disabledColor;
bool useThemeColors;
2017-09-29 06:53:21 +00:00
};
2022-07-05 07:49:55 +00:00
#endif // QTMATERIALCHECKABLE_P_H