delete all _p
This commit is contained in:
parent
dc25be142b
commit
f6c3e83d64
|
@ -1,7 +1,7 @@
|
||||||
#ifndef QTMATERIALCHECKBOX_P_H
|
#ifndef QTMATERIALCHECKBOX_P_H
|
||||||
#define QTMATERIALCHECKBOX_P_H
|
#define QTMATERIALCHECKBOX_P_H
|
||||||
|
|
||||||
#include "lib/qtmaterialcheckable_p.h"
|
#include "materiallib/qtmaterialcheckable_p.h"
|
||||||
|
|
||||||
class QtMaterialCheckBox;
|
class QtMaterialCheckBox;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef QTMATERIALRADIOBUTTON_P_H
|
#ifndef QTMATERIALRADIOBUTTON_P_H
|
||||||
#define QTMATERIALRADIOBUTTON_P_H
|
#define QTMATERIALRADIOBUTTON_P_H
|
||||||
|
|
||||||
#include "lib/qtmaterialcheckable_p.h"
|
#include "materiallib/qtmaterialcheckable_p.h"
|
||||||
|
|
||||||
class QtMaterialRadioButton;
|
class QtMaterialRadioButton;
|
||||||
|
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
#ifndef QTMATERIALCHECKABLE_P_H
|
|
||||||
#define QTMATERIALCHECKABLE_P_H
|
|
||||||
|
|
||||||
#include "lib/qtmaterialcheckable.h"
|
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
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();
|
|
||||||
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // QTMATERIALCHECKABLE_P_H
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef QTMATERIALSTYLE_H
|
#ifndef QTMATERIALSTYLE_H
|
||||||
#define QTMATERIALSTYLE_H
|
#define QTMATERIALSTYLE_H
|
||||||
|
|
||||||
#include "lib/qtmaterialstyle_p.h"
|
#include "materiallib/qtmaterialstyle_p.h"
|
||||||
#include <QtWidgets/QCommonStyle>
|
#include <QtWidgets/QCommonStyle>
|
||||||
|
|
||||||
#define MATERIAL_DISABLE_THEME_COLORS \
|
#define MATERIAL_DISABLE_THEME_COLORS \
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
#ifndef QTMATERIALSTYLE_P_H
|
|
||||||
#define QTMATERIALSTYLE_P_H
|
|
||||||
|
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
class QtMaterialStyle;
|
|
||||||
class QtMaterialTheme;
|
|
||||||
|
|
||||||
class QtMaterialStylePrivate
|
|
||||||
{
|
|
||||||
Q_DISABLE_COPY(QtMaterialStylePrivate)
|
|
||||||
Q_DECLARE_PUBLIC(QtMaterialStyle)
|
|
||||||
|
|
||||||
public:
|
|
||||||
QtMaterialStylePrivate(QtMaterialStyle *q);
|
|
||||||
~QtMaterialStylePrivate();
|
|
||||||
|
|
||||||
void init();
|
|
||||||
|
|
||||||
QtMaterialStyle *const q_ptr;
|
|
||||||
QtMaterialTheme *theme;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // QTMATERIALSTYLE_P_H
|
|
|
@ -1,24 +0,0 @@
|
||||||
#ifndef QTMATERIALTHEME_P_H
|
|
||||||
#define QTMATERIALTHEME_P_H
|
|
||||||
|
|
||||||
#include <QColor>
|
|
||||||
#include <QHash>
|
|
||||||
|
|
||||||
class QtMaterialTheme;
|
|
||||||
|
|
||||||
class QtMaterialThemePrivate
|
|
||||||
{
|
|
||||||
Q_DISABLE_COPY(QtMaterialThemePrivate)
|
|
||||||
Q_DECLARE_PUBLIC(QtMaterialTheme)
|
|
||||||
|
|
||||||
public:
|
|
||||||
QtMaterialThemePrivate(QtMaterialTheme *q);
|
|
||||||
~QtMaterialThemePrivate();
|
|
||||||
|
|
||||||
QColor rgba(int r, int g, int b, qreal a) const;
|
|
||||||
|
|
||||||
QtMaterialTheme *const q_ptr;
|
|
||||||
QHash<QString, QColor> colors;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // QTMATERIALTHEME_P_H
|
|
Loading…
Reference in New Issue