43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
#ifndef CHECKABLE_P_H
|
|
#define CHECKABLE_P_H
|
|
|
|
#include <QObject>
|
|
#include "checkable_internal.h"
|
|
|
|
class QStateMachine;
|
|
class QState;
|
|
class QSignalTransition;
|
|
class Checkable;
|
|
class RippleOverlay;
|
|
|
|
class CheckablePrivate
|
|
{
|
|
Q_DISABLE_COPY(CheckablePrivate)
|
|
Q_DECLARE_PUBLIC(Checkable)
|
|
|
|
public:
|
|
CheckablePrivate(Checkable *q);
|
|
virtual ~CheckablePrivate();
|
|
|
|
void init();
|
|
|
|
Checkable *const q_ptr;
|
|
RippleOverlay *const ripple;
|
|
CheckableIcon *const checkedIcon;
|
|
CheckableIcon *const uncheckedIcon;
|
|
QStateMachine *const machine;
|
|
QState *const uncheckedState;
|
|
QState *const checkedState;
|
|
QState *const disabledUncheckedState;
|
|
QState *const disabledCheckedState;
|
|
QSignalTransition *const uncheckedTransition;
|
|
QSignalTransition *const checkedTransition;
|
|
QColor checkedColor;
|
|
QColor uncheckedColor;
|
|
QColor textColor;
|
|
QColor disabledColor;
|
|
bool useThemeColors;
|
|
};
|
|
|
|
#endif // CHECKABLE_P_H
|